ILI9341 Display Controller Driver API reference.
More...
API for configuring and manipulating ILI9341 Display Controller driver.
◆ ili9341_init()
This function initializes ILI9341 Display Controller context object to default values and allows driver interface object to be linked with ILI9341 Display Controller driver functions.
- Parameters
-
[in] | cfg | : ILI9341 configuration object. See ili9341_cfg_t structure definition for detailed explanation. |
[out] | driver | : Graphics Library driver interface object. See gl_driver_t structure definition and gl_set_driver function for detailed explanation. |
[out] | ctx | Initialized ILI9341 context structure. See ili9341_t for more information about the context structure. |
- Returns
- Nothing.
◆ ili9341_default_cfg()
This function initializes PWM default configuration.
- Parameters
-
[in] | cfg | : ILI9341 configuration object. See ili9341_cfg_t structure definition for detailed explanation. |
- Return values
-
◆ ili9341_write_command()
void ili9341_write_command |
( |
uint8_t |
command | ) |
|
This function sends command to ILI9341 Display Controller.
- Parameters
-
- Returns
- Nothing.
◆ ili9341_write_param()
void ili9341_write_param |
( |
uint8_t |
param | ) |
|
This function sends data to ILI9341 Display Controller.
- Parameters
-
[in] | param | : data to be sent. |
- Returns
- Nothing.
◆ ili9341_get_display_width()
uint16_t ili9341_get_display_width |
( |
| ) |
|
This function returns the width of the ILI9341 controller based display.
- Returns
- Display width.
◆ ili9341_get_display_height()
uint16_t ili9341_get_display_height |
( |
| ) |
|
This function returns the height of the ILI9341 controller based display.
- Returns
- Display height.
◆ ili9341_backlight_control_init()
Initialize PWM module for controlling display backlight intensity.
- Returns
- Nothing.
◆ ili9341_set_backlight_intensity()
void ili9341_set_backlight_intensity |
( |
float |
intensity, |
|
|
ili9341_t * |
ctx |
|
) |
| |
Set active intensity of display controller.
- Returns
- Nothing.
◆ ili9341_rotate()
This function is necessary for interfacing with touch panel library as it's address is stored in tp_drv_t driver structure during the ILI9341 context initialization.
- Parameters
-
[out] | ctx | Initialized ILI9341 context structure. See ili9341_t for more information about the context structure. |
[in] | rotate | Structure with desired orientation set. |
- Returns
- Nothing.