Skip to main content

Crate nt35510

Crate nt35510 

Source
Expand description

Standalone no_std driver for NT35510 DSI LCD controller panels.

The default configuration is tested on STM32F469I-DISCO: portrait mode, RGB565, 480x800. Landscape mode uses MADCTL rotation matching the OTM8009A pattern, but is currently untested.

Structs§

Nt35510
Nt35510Config
Configuration for the NT35510 panel.

Enums§

ColorFormat
Error
Mode

Constants§

NT35510_CMD_B0
Voltage setting register block B0.
NT35510_CMD_B1
Voltage setting register block B1.
NT35510_CMD_B2
Voltage setting register block B2.
NT35510_CMD_B3
Voltage setting register block B3.
NT35510_CMD_B5
Voltage setting register block B5.
NT35510_CMD_B6
Voltage setting register block B6.
NT35510_CMD_B7
Voltage setting register block B7.
NT35510_CMD_B8
Voltage setting register block B8.
NT35510_CMD_B9
Voltage setting register block B9.
NT35510_CMD_BA
Voltage setting register block BA.
NT35510_CMD_BC
Voltage setting register block BC.
NT35510_CMD_BD
Voltage setting register block BD.
NT35510_CMD_BE
Voltage setting register block BE.
NT35510_CMD_BF
Voltage setting register block BF.
NT35510_CMD_CASET
Column Address Set command.
NT35510_CMD_CC
Panel timing/control register.
NT35510_CMD_COLMOD
Interface Pixel Format command.
NT35510_CMD_DISPON
Display On command.
NT35510_CMD_MADCTL
Memory Data Access Control command.
NT35510_CMD_RAMWR
Memory Write command.
NT35510_CMD_RASET
Row Address Set command.
NT35510_CMD_RDID1
Read ID1 command.
NT35510_CMD_RDID2
Read ID2 command.
NT35510_CMD_SETEXTC
Enable command set extension and select command page.
NT35510_CMD_SLPOUT
Sleep Out command.
NT35510_CMD_WRCABC
Write CABC command.
NT35510_CMD_WRCTRLD
Write Control Display command.
NT35510_CMD_WRDISBV
Write Display Brightness command.
NT35510_COLMOD_RGB565
RGB565 (16-bit) pixel format value for COLMOD.
NT35510_COLMOD_RGB888
RGB888 (24-bit) pixel format value for COLMOD.
NT35510_ID1_EXPECTED
NT35510 expected ID1 value.
NT35510_ID2_EXPECTED
NT35510 expected ID2 value.
NT35510_MADCTL_LANDSCAPE
Landscape MADCTL value (MX | MV). Untested.
NT35510_MADCTL_PORTRAIT
Portrait MADCTL value. Tested on STM32F469I-DISCO.