2021-01-28 16:38:33 +00:00
|
|
|
#ifndef __OTM_LCD_IMPL_H
|
|
|
|
#define __OTM_LCD_IMPL_H
|
|
|
|
|
2021-04-21 17:24:01 +00:00
|
|
|
#include "cmsis_os.h"
|
|
|
|
|
2021-01-28 16:38:33 +00:00
|
|
|
#include "otm8009a_lcd.h"
|
|
|
|
|
2021-04-21 17:24:01 +00:00
|
|
|
typedef struct {
|
|
|
|
osSemaphoreId_t dma_semphr;
|
|
|
|
} _otm_impl_t;
|
|
|
|
|
2021-01-28 16:38:33 +00:00
|
|
|
otm_ret_t _otm_impl_write_reg(void *handle, otm_data_t *reg, uint8_t len);
|
|
|
|
otm_ret_t _otm_impl_write_data(void *handle, otm_data_t *data, uint32_t len);
|
|
|
|
otm_ret_t _otm_impl_delay(void *handle, uint32_t usec);
|
2021-01-30 15:33:04 +00:00
|
|
|
otm_ret_t _otm_impl_backlight(void *handle, uint8_t on);
|
2021-01-28 16:38:33 +00:00
|
|
|
|
|
|
|
#endif
|