3.24_433_RX版本:封装RF433模块,完成开机进入TX/RX模式并在开发板验证成功
This commit is contained in:
29
Middlewares/MultMenu/disp/dispDirver.h
Normal file
29
Middlewares/MultMenu/disp/dispDirver.h
Normal file
@ -0,0 +1,29 @@
|
||||
#ifndef _DISP_DRIVER_H_
|
||||
#define _DISP_DRIVER_H_
|
||||
|
||||
//#include "main.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void Disp_Init(void);
|
||||
void OLED_ClearBuffer(void);
|
||||
void OLED_SendBuffer(void);
|
||||
uint16_t OLED_GetStrWidth(const char *s);
|
||||
void OLED_SetMaxClipWindow(void);
|
||||
void OLED_SetFont(const uint8_t *font);
|
||||
void OLED_DrawPixel(uint16_t x, uint16_t y);
|
||||
void OLED_DrawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2);
|
||||
uint16_t OLED_DrawStr(uint16_t x, uint16_t y, const char *str);
|
||||
void OLED_SetDrawColor(uint8_t color);
|
||||
void OLED_DrawFrame(uint16_t x, uint16_t y, uint16_t w, uint16_t h);
|
||||
void OLED_DrawRFrame(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t r);
|
||||
void OLED_DrawBox(uint16_t x, uint16_t y, uint16_t w, uint16_t h);
|
||||
void OLED_DrawRBox(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t r);
|
||||
void OLED_DrawXBMP(uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint8_t *bitmap);
|
||||
void OLED_SetContrast(uint8_t value);
|
||||
void OLED_SetPowerSave(uint8_t is_enable);
|
||||
uint8_t OLED_GetBufferTileHeight(void);
|
||||
uint8_t OLED_GetBufferTileWidth(void);
|
||||
uint8_t *OLED_GetBufferPtr(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user