Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ssd16xx.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Andreas Sandberg
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
8
#define ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
9
10
#include <
zephyr/drivers/display.h
>
11
15
enum
ssd16xx_ram
{
20
SSD16XX_RAM_BLACK
= 0,
21
/* The red RAM buffer. This is typically the old frame buffer
22
* when performing partial refreshes or an additional color
23
* channel.
24
*/
25
SSD16XX_RAM_RED
,
26
};
27
41
int
ssd16xx_read_ram
(
const
struct
device
*dev,
enum
ssd16xx_ram
ram_type,
42
const
uint16_t
x,
const
uint16_t
y,
43
const
struct
display_buffer_descriptor
*desc,
44
void
*buf);
45
46
#endif
/* ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_ */
display.h
Public API for display drivers and applications.
ssd16xx_read_ram
int ssd16xx_read_ram(const struct device *dev, enum ssd16xx_ram ram_type, const uint16_t x, const uint16_t y, const struct display_buffer_descriptor *desc, void *buf)
Read data directly from the display controller's internal RAM.
ssd16xx_ram
ssd16xx_ram
SSD16xx RAM type for direct RAM access.
Definition:
ssd16xx.h:15
SSD16XX_RAM_RED
@ SSD16XX_RAM_RED
Definition:
ssd16xx.h:25
SSD16XX_RAM_BLACK
@ SSD16XX_RAM_BLACK
The black RAM buffer.
Definition:
ssd16xx.h:20
uint16_t
__UINT16_TYPE__ uint16_t
Definition:
stdint.h:89
device
Runtime device structure (in ROM) per driver instance.
Definition:
device.h:403
display_buffer_descriptor
Structure to describe display data buffer layout.
Definition:
display.h:121
zephyr
display
ssd16xx.h
Generated on Fri Jul 26 2024 14:01:56 for Zephyr API Documentation by
1.9.6