Zephyr Project API 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
11
21 /* The red RAM buffer. This is typically the old frame buffer
22 * when performing partial refreshes or an additional color
23 * channel.
24 */
26};
27
41int 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_ */
Public API for display drivers and applications.
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 type for direct RAM access.
Definition ssd16xx.h:15
@ SSD16XX_RAM_RED
Definition ssd16xx.h:25
@ SSD16XX_RAM_BLACK
The black RAM buffer.
Definition ssd16xx.h:20
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:403
Structure to describe display data buffer layout.
Definition display.h:121