LTDC CPU specific definitions for the STM32 family. More...
LTDC CPU specific definitions for the STM32 family.
Definition in file cpu_ltdc.h.
Go to the source code of this file.
Data Structures | |
struct | ltdc_gpio_t |
LTDC GPIO configuration. More... | |
struct | ltdc_conf_t |
LTDC Peripheral configuration. More... | |
void | ltdc_init (void) |
Initialize the LTDC (LCD-TFT Display Controller) peripheral. | |
void | ltdc_clear (void) |
Clear the LTDC display. | |
void | ltdc_map (uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2, const uint16_t *color) |
Map a buffer of RGB565 (16bit depth) colors to the display. | |
void | ltdc_fill (uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2, const uint16_t color) |
Fill a region of the display with the same color. | |
void ltdc_fill | ( | uint16_t | x1, |
uint16_t | x2, | ||
uint16_t | y1, | ||
uint16_t | y2, | ||
const uint16_t | color | ||
) |
Fill a region of the display with the same color.
[in] | x1 | horizontal start position |
[in] | x2 | horizontal end position (included) |
[in] | y1 | vertical start position |
[in] | y2 | vertical end position (included) |
[in] | color | the color value in RGB565 format (16bit depth) |
void ltdc_map | ( | uint16_t | x1, |
uint16_t | x2, | ||
uint16_t | y1, | ||
uint16_t | y2, | ||
const uint16_t * | color | ||
) |
Map a buffer of RGB565 (16bit depth) colors to the display.
[in] | x1 | horizontal start position |
[in] | x2 | horizontal end position (included) |
[in] | y1 | vertical start position |
[in] | y2 | vertical end position (included) |
[in] | color | the color buffer |