Zephyr API Documentation
4.3.99
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
12
13
#ifndef ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
14
#define ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
15
22
23
#include <
zephyr/drivers/display.h
>
24
30
enum
ssd16xx_ram
{
35
SSD16XX_RAM_BLACK
= 0,
40
SSD16XX_RAM_RED
,
41
};
42
56
int
ssd16xx_read_ram
(
const
struct
device
*dev,
enum
ssd16xx_ram
ram_type,
57
const
uint16_t
x,
const
uint16_t
y,
58
const
struct
display_buffer_descriptor
*desc,
59
void
*buf);
60
62
63
#endif
/* ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_ */
display.h
Main header file for display driver API.
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 an SSD16xx display controller's internal RAM.
ssd16xx_ram
ssd16xx_ram
SSD16xx RAM type for direct RAM access.
Definition
ssd16xx.h:30
SSD16XX_RAM_RED
@ SSD16XX_RAM_RED
The red RAM buffer.
Definition
ssd16xx.h:40
SSD16XX_RAM_BLACK
@ SSD16XX_RAM_BLACK
The black RAM buffer.
Definition
ssd16xx.h:35
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:513
display_buffer_descriptor
Structure to describe display data buffer layout.
Definition
display.h:152
zephyr
display
ssd16xx.h
Generated on
for Zephyr API Documentation by
1.15.0