11 #ifndef __BRP_BALTECH_API_CMDS_DISP_H__ 12 #define __BRP_BALTECH_API_CMDS_DISP_H__ 13 #include "../typedefs.h" 18 #define BRP_Disp_DispPageNotFound BRP_ERR_STATUS(0x4100, 0x01) 23 #define BRP_Disp_DispUnexpectedEop BRP_ERR_STATUS(0x4100, 0x02) 28 #define BRP_Disp_DispOutOfMem BRP_ERR_STATUS(0x4100, 0x03) 33 #define BRP_Disp_DispFrameNotFound BRP_ERR_STATUS(0x4100, 0x04) 38 #define BRP_Disp_DispUnknownCommand BRP_ERR_STATUS(0x4100, 0x05) 43 #define BRP_Disp_DispStringTooLong BRP_ERR_STATUS(0x4100, 0x06) 48 #define BRP_Disp_DispInvalidFont BRP_ERR_STATUS(0x4100, 0x07) brp_errcode brp_Disp_SetContrast(brp_protocol protocol, unsigned Contrast)
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)
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
brp_errcode brp_Disp_EnableBacklight(brp_protocol protocol, bool EnableLight)
brp_errcode brp_Disp_Clear(brp_protocol protocol, bool DelPermanentDefines)
brp_errcode brp_Disp_Extend(brp_protocol protocol, brp_buf PageDesc, size_t PageDesc_len)
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)