ecx335af

group ecx335af

Driver for the SPI Sony OLED Microdisplay.

No public datasheet seem to be published on the web. The data path is connected directly to the data path to FPGA, the MCU only has access to the SPI configuration interface. After the OLED configuration is done, the luminance (brightness) should be set and the display is ready to receive data.

Enums

enum ecx335af_luminance_t

See ECX336CN datasheet section 10.8; luminance values are in cd/m^2.

Values:

enumerator ECX335AF_DIM
enumerator ECX335AF_LOW
enumerator ECX335AF_MEDIUM
enumerator ECX335AF_DEFAULT
enumerator ECX335AF_HIGH
enumerator ECX335AF_BRIGHT

Functions

void ecx335af_prepare(void)

Prepare GPIO pins before the chip receives power.

void ecx335af_init(void)

Configure each value of the screen over SPI.

void ecx335af_deinit(void)
void ecx335af_set_luminance(ecx335af_luminance_t level)

Configure the luminance level of the display.

Parameters

level – Predefined level of luminance.

void ecx335af_sleep(void)

Put the display to sleep power mode.

void ecx335af_awake(void)

Power back on the dispay from sleep mode.