The implementation of display hal is MCU dependant, in this example we implement it using the ESP-IDF framework
10 lines
256 B
C
10 lines
256 B
C
#ifndef DISPLAY_HAL_H_
|
|
#define DISPLAY_HAL_H_
|
|
|
|
void display_hal_init_io(void);
|
|
void display_hal_delay(uint32_t delay_ms);
|
|
void display_hal_backlight(uint8_t state);
|
|
void display_hal_gpio_dc(uint8_t state);
|
|
void display_hal_gpio_rst(uint8_t state);
|
|
|
|
#endif
|