STM32H750VB_LCD/Core/Inc/otm_lcd_impl.h

17 lines
439 B
C

#ifndef __OTM_LCD_IMPL_H
#define __OTM_LCD_IMPL_H
#include "cmsis_os.h"
#include "otm8009a_lcd.h"
typedef struct {
osSemaphoreId_t dma_semphr;
} _otm_impl_t;
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);
otm_ret_t _otm_impl_backlight(void *handle, uint8_t on);
#endif