This header file provides utility functions for bus-interfaced graphics controllers. Typically, LCD modules come with an LCD panel and controller IC, and optionally a touch screen.
Context | |
CTL_GFX_CONTROLLER_t | Instance data |
Control | |
ctl_gfx_controller_setup_begin | Start graphics controller setup |
ctl_gfx_controller_setup_end | Complete graphics controller setup |
Setup | |
ctl_gfx_controller_configure_12b_depth | Configure 12-bit color depth |
ctl_gfx_controller_configure_16b_depth | Configure 16-bit color depth |
ctl_gfx_controller_configure_16b_width | Configure 16-bit co-ordinate width |
ctl_gfx_controller_configure_18b_depth | Configure 18-bit color depth |
ctl_gfx_controller_configure_8b_depth | Configure 8-bit color depth |
ctl_gfx_controller_configure_8b_spi_protocol | Configure 9-bit SPI protocol |
ctl_gfx_controller_configure_8b_width | Configure 8-bit co-ordinate width |
ctl_gfx_controller_configure_9b_spi_protocol | Configure 9-bit SPI protocol |
ctl_gfx_controller_configure_depth | Configure color depth |
ctl_gfx_controller_configure_epson_command_set | Configure driver for an Epson-style command set |
ctl_gfx_controller_configure_philips_command_set | Configure driver for an Philips-style command set |
Operation | |
ctl_gfx_controller_hitachi_spi_write_pixels | Write pixels using Hitachi SPI protocol |
ctl_gfx_controller_hitachi_spi_write_register | Write register using Hitachi SPI protocol |
ctl_gfx_controller_move_cursor_at_0x4e_0x4f | Move cursor of an Samsung-like controller |
ctl_gfx_controller_set_window_at_0x44_0x45_0x46 | Set window of a Samsung-like controller |
ctl_gfx_controller_set_window_at_0x50_0x51_0x52_0x53 | Set window of an Hitachi-like controller |
ctl_gfx_write_command | Write command to controller |
ctl_gfx_write_command_8b | Write command and 8-bit parameter to controller |
Utility | |
ctl_gfx_controller_write_16b_sequence | Send 16-bit command and parameter sequence |
ctl_gfx_controller_write_8b_sequence | Send 8-bit command and parameter sequence |
Controller | |
ctl_gfx_controller_move_cursor_at_0x20_0x21 | Move cursor of an Hitachi-like controller |