10 #ifndef __BRP_BALTECH_API_CMDS_DISP_H__ 11 #define __BRP_BALTECH_API_CMDS_DISP_H__ 12 #include "../typedefs.h" 16 #define BRP_Disp_DispPageNotFound BRP_ERR_STATUS(0x4100, 0x01) 20 #define BRP_Disp_DispUnexpectedEop BRP_ERR_STATUS(0x4100, 0x02) 24 #define BRP_Disp_DispOutOfMem BRP_ERR_STATUS(0x4100, 0x03) 28 #define BRP_Disp_DispFrameNotFound BRP_ERR_STATUS(0x4100, 0x04) 32 #define BRP_Disp_DispUnknownCommand BRP_ERR_STATUS(0x4100, 0x05) 36 #define BRP_Disp_DispStringTooLong BRP_ERR_STATUS(0x4100, 0x06) 40 #define BRP_Disp_DispInvalidFont BRP_ERR_STATUS(0x4100, 0x07) brp_errcode brp_Disp_SetContrast(brp_protocol protocol, unsigned Contrast)
Set contrast of display.
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
brp_errcode brp_Disp_Enable(brp_protocol protocol, bool Enable)
Enable/Disable Display.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
brp_errcode brp_Disp_EnableBacklight(brp_protocol protocol, bool EnableLight)
Enable/Disable display backlight.
brp_errcode brp_Disp_Clear(brp_protocol protocol, bool DelPermanentDefines)
Clear Page description.
brp_errcode brp_Disp_Extend(brp_protocol protocol, brp_buf PageDesc, size_t PageDesc_len)
Extend page description.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_errcode brp_Disp_Load(brp_protocol protocol, brp_buf PageDesc, size_t PageDesc_len)
Load page description.