38 #if defined(LCD_COUNT) && (LCD_COUNT > 0)
71 #if defined(LCD_DISPCTRL_MUXE_MUXE)
88 #if defined(LCD_DISPCTRL_BIAS_ONEFOURTH)
162 #if defined(_LCD_SEGD0L_MASK) && (_LCD_SEGD0L_MASK == 0x00FFFFFFUL)
230 #if defined(LCD_BACTRL_ALOC)
265 #define LCD_INIT_DEFAULT \
288 #if defined(_LCD_SEGD0H_MASK)
294 #if defined(LCD_CTRL_DSC)
457 return LCD->SYNCBUSY;
470 while (
LCD->SYNCBUSY & flags)
516 return LCD->IF & ien;
580 #if defined(LCD_CTRL_DSC)
#define _LCD_STATUS_BLINK_MASK
__STATIC_INLINE uint32_t LCD_IntGet(void)
Get pending LCD interrupt flags.
LCD_ConConf_TypeDef contrast
#define LCD_DISPCTRL_MUX_QUADRUPLEX
#define LCD_DISPCTRL_VBLEV_LEVEL1
#define _LCD_STATUS_ASTATE_SHIFT
#define LCD_DISPCTRL_VLCDSEL_VEXTBOOST
__STATIC_INLINE uint32_t LCD_SyncBusyGet(void)
Returns SYNCBUSY bits, indicating which registers have pending updates.
#define LCD_DISPCTRL_VLCDSEL_VDD
void LCD_VBoostSet(LCD_VBoostLevel_TypeDef vboost)
Configure voltage booster.
void LCD_SegmentSetLow(int com, uint32_t mask, uint32_t bits)
Updates the 0-31 lowest segments on a given COM-line in one operation, according to bit mask...
#define LCD_CTRL_UDCTRL_FRAMESTART
void LCD_SegmentRangeEnable(LCD_SegmentRange_TypeDef segment, bool enable)
Enables update of this range of LCD segment lines.
void LCD_BiasComSet(int com, int biasLevel)
Configure bias level for a specific segment line.
#define LCD_BACTRL_FCPRESC_DIV8
#define LCD_DISPCTRL_MUX_STATIC
LCD_AnimShift_TypeDef BShift
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define _LCD_BACTRL_AREGASC_NOSHIFT
#define _LCD_STATUS_ASTATE_MASK
void LCD_FrameCountInit(const LCD_FrameCountInit_TypeDef *fcInit)
Initialize LCD Frame Counter.
#define LCD_DISPCTRL_CONCONF_VLCD
#define LCD_FREEZE_REGFREEZE_UPDATE
#define LCD_FREEZE_REGFREEZE_FREEZE
void LCD_SegmentSet(int com, int bit, bool enable)
Turn on or clear a segment.
#define LCD_BACTRL_FCPRESC_DIV1
void LCD_VLCDSelect(LCD_VLCDSel_TypeDef vlcd)
Select source for VLCD.
__STATIC_INLINE void LCD_FrameCountEnable(bool enable)
Enables or disables LCD Frame Control.
#define LCD_DISPCTRL_WAVE_LOWPOWER
void LCD_UpdateCtrl(LCD_UpdateCtrl_TypeDef ud)
Configure Update Control.
LCD_FCPreScale_TypeDef prescale
#define LCD_CTRL_UDCTRL_REGULAR
#define LCD_DISPCTRL_VBLEV_LEVEL5
__STATIC_INLINE void LCD_IntSet(uint32_t flags)
Set one or more pending LCD interrupts from SW.
#define LCD_DISPCTRL_WAVE_NORMAL
#define LCD_BACTRL_FCPRESC_DIV2
#define LCD_DISPCTRL_VBLEV_LEVEL4
__STATIC_INLINE int LCD_BlinkState(void)
Returns current blink state.
#define LCD_DISPCTRL_MUXE_MUXE
void LCD_SegmentSetHigh(int com, uint32_t mask, uint32_t bits)
Updated the high (32-39) segments on a given COM-line in one operation.
#define LCD_DISPCTRL_BIAS_ONETHIRD
__STATIC_INLINE void LCD_IntClear(uint32_t flags)
Clear one or more interrupt flags.
#define LCD_DISPCTRL_CONCONF_GND
__STATIC_INLINE int LCD_AnimState(void)
Returns current animation state.
#define LCD_DISPCTRL_MUX_TRIPLEX
#define LCD_DISPCTRL_BIAS_ONEFOURTH
LCD_AnimShift_TypeDef AShift
void LCD_ContrastSet(int level)
Configure contrast level on LCD panel.
__STATIC_INLINE void LCD_FreezeEnable(bool enable)
When set, LCD registers will not be updated until cleared,.
__STATIC_INLINE void LCD_IntEnable(uint32_t flags)
Enable LCD interrupts.
LCD_AnimLogic_TypeDef animLogic
void LCD_BiasSegmentSet(int segment, int biasLevel)
Configure bias level for a specific segment line for Direct Segment Control.
#define LCD_DISPCTRL_VBLEV_LEVEL0
#define LCD_DISPCTRL_MUX_DUPLEX
__STATIC_INLINE void LCD_DSCEnable(bool enable)
Enable or disable LCD Direct Segment Control.
#define LCD_DISPCTRL_VBLEV_LEVEL7
#define LCD_BACTRL_FCPRESC_DIV4
#define _LCD_STATUS_BLINK_SHIFT
#define _LCD_BACTRL_AREGASC_SHIFTLEFT
#define LCD_BACTRL_ALOGSEL_OR
__STATIC_INLINE void LCD_BlankEnable(bool enable)
Disables all segments, while keeping segment state.
#define LCD_DISPCTRL_VBLEV_LEVEL3
#define LCD_BACTRL_ALOGSEL_AND
#define LCD_CTRL_UDCTRL_FCEVENT
#define _LCD_BACTRL_AREGASC_SHIFTRIGHT
__STATIC_INLINE void LCD_SyncBusyDelay(uint32_t flags)
Polls LCD SYNCBUSY flags, until flag has been cleared.
__STATIC_INLINE void LCD_BlinkEnable(bool enable)
Enables or disables LCD blink.
#define LCD_BACTRL_BLINKEN
#define LCD_DISPCTRL_VBLEV_LEVEL6
__STATIC_INLINE void LCD_IntDisable(uint32_t flags)
Disable LCD interrupts.
void LCD_AnimInit(const LCD_AnimInit_TypeDef *animInit)
Configures LCD controller Animation feature.
__STATIC_INLINE void LCD_Enable(bool enable)
Enable or disable LCD controller.
void LCD_Init(const LCD_Init_TypeDef *lcdInit)
Initalize Liquid Crystal Display (LCD) controller.
#define LCD_DISPCTRL_BIAS_STATIC
__STATIC_INLINE uint32_t LCD_IntGetEnabled(void)
Get enabled and pending LCD interrupt flags.
__STATIC_INLINE void LCD_AnimEnable(bool enable)
Enables or disables LCD Animation feature.
#define LCD_DISPCTRL_VBLEV_LEVEL2
#define LCD_DISPCTRL_BIAS_ONEHALF