19#ifndef PERIPH_CPU_LTDC_H
20#define PERIPH_CPU_LTDC_H
78void ltdc_map(uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2,
const uint16_t *color);
89void ltdc_fill(uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2,
const uint16_t color);
GPIO CPU definitions for the STM32 family.
void ltdc_clear(void)
Clear the LTDC display.
void ltdc_init(void)
Initialize the LTDC (LCD-TFT Display Controller) peripheral.
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.
gpio_af_t
Override alternative GPIO mode options.
LTDC Peripheral configuration.
ltdc_gpio_t vsync_pin
Vertical synchronization pin.
uint8_t hsync
Horizontal synchronization.
ltdc_gpio_t hsync_pin
Horizontal synchronization pin.
uint8_t hbp
Horizontal back porch.
uint8_t vbp
Vertical back porch.
uint32_t rcc_mask
bit in clock enable register
ltdc_gpio_t de_pin
Data enable pin.
uint8_t vsync
Vertical synchronization.
uint8_t hfp
Horizontal front porch.
ltdc_gpio_t clk_pin
CLK pin.
uint8_t vfp
Vertical front porch.
gpio_af_t af
Alternate function.