Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Solomon SSD16xx EPD display controller. More...

Files

file  ssd16xx.h
 Header file for extended Display API of SSD16XX.

Enumerations

enum  ssd16xx_ram { SSD16XX_RAM_BLACK = 0 , SSD16XX_RAM_RED }
 SSD16xx RAM type for direct RAM access. More...

Functions

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.

Detailed Description

Solomon SSD16xx EPD display controller.

Enumeration Type Documentation

◆ ssd16xx_ram

#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/display/ssd16xx.h>

SSD16xx RAM type for direct RAM access.

See also
ssd16xx_read_ram
Enumerator
SSD16XX_RAM_BLACK 

The black RAM buffer.

This is typically the buffer used to compose the contents that will be displayed after the next refresh.

SSD16XX_RAM_RED 

The red RAM buffer.

This is typically the old frame buffer when performing partial refreshes or an additional color channel.

Function Documentation

◆ 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 )

#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/display/ssd16xx.h>

Read data directly from an SSD16xx display controller's internal RAM.

Parameters
devPointer to device structure
ram_typeType of RAM to read from
xCoordinate relative to the upper left corner
yCoordinate relative to the upper left corner
descStructure describing the buffer layout
bufOutput buffer
Returns
0 on success, negative errno on failure.