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)
__STATIC_INLINE uint32_t LCD_IntGet(void)
Get pending LCD interrupt flags.
#define LCD_DISPCTRL_BIAS_ONETHIRD
LCD_ConConf_TypeDef contrast
#define LCD_DISPCTRL_BIAS_ONEFOURTH
__STATIC_INLINE uint32_t LCD_SyncBusyGet(void)
Returns SYNCBUSY bits, indicating which registers have pending updates.
void LCD_VBoostSet(LCD_VBoostLevel_TypeDef vboost)
Configure voltage booster.
#define LCD_DISPCTRL_CONCONF_GND
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...
void LCD_SegmentRangeEnable(LCD_SegmentRange_TypeDef segment, bool enable)
Enables update of this range of LCD segment lines.
#define LCD_DISPCTRL_MUX_TRIPLEX
void LCD_BiasComSet(int com, int biasLevel)
Configure bias level for a specific segment line.
LCD_AnimShift_TypeDef BShift
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define LCD_DISPCTRL_VBLEV_LEVEL7
#define _LCD_BACTRL_AREGASC_SHIFTLEFT
void LCD_FrameCountInit(const LCD_FrameCountInit_TypeDef *fcInit)
Initialize LCD Frame Counter.
void LCD_SegmentSet(int com, int bit, bool enable)
Turn on or clear a segment.
void LCD_VLCDSelect(LCD_VLCDSel_TypeDef vlcd)
Select source for VLCD.
#define LCD_DISPCTRL_VBLEV_LEVEL0
__STATIC_INLINE void LCD_FrameCountEnable(bool enable)
Enables or disables LCD Frame Control.
#define LCD_DISPCTRL_MUX_DUPLEX
void LCD_UpdateCtrl(LCD_UpdateCtrl_TypeDef ud)
Configure Update Control.
LCD_FCPreScale_TypeDef prescale
#define LCD_BACTRL_BLINKEN
#define LCD_BACTRL_FCPRESC_DIV4
#define _LCD_STATUS_BLINK_SHIFT
__STATIC_INLINE void LCD_IntSet(uint32_t flags)
Set one or more pending LCD interrupts from SW.
#define LCD_BACTRL_ALOGSEL_OR
#define LCD_DISPCTRL_VBLEV_LEVEL3
#define LCD_BACTRL_ALOGSEL_AND
#define LCD_DISPCTRL_BIAS_STATIC
#define LCD_CTRL_UDCTRL_FCEVENT
#define _LCD_BACTRL_AREGASC_SHIFTRIGHT
#define LCD_DISPCTRL_VBLEV_LEVEL2
#define LCD_DISPCTRL_BIAS_ONEHALF
#define LCD_DISPCTRL_VBLEV_LEVEL6
__STATIC_INLINE int LCD_BlinkState(void)
Returns current blink state.
#define LCD_DISPCTRL_MUX_QUADRUPLEX
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_VBLEV_LEVEL1
#define _LCD_STATUS_BLINK_MASK
__STATIC_INLINE void LCD_IntClear(uint32_t flags)
Clear one or more interrupt flags.
#define _LCD_STATUS_ASTATE_SHIFT
__STATIC_INLINE int LCD_AnimState(void)
Returns current animation state.
#define LCD_DISPCTRL_VLCDSEL_VEXTBOOST
#define LCD_DISPCTRL_VLCDSEL_VDD
#define _LCD_BACTRL_AREGASC_NOSHIFT
#define _LCD_STATUS_ASTATE_MASK
#define LCD_CTRL_UDCTRL_FRAMESTART
LCD_AnimShift_TypeDef AShift
void LCD_ContrastSet(int level)
Configure contrast level on LCD panel.
#define LCD_FREEZE_REGFREEZE_FREEZE
#define LCD_BACTRL_FCPRESC_DIV1
#define LCD_BACTRL_FCPRESC_DIV8
#define LCD_DISPCTRL_MUX_STATIC
__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_WAVE_LOWPOWER
__STATIC_INLINE void LCD_DSCEnable(bool enable)
Enable or disable LCD Direct Segment Control.
#define LCD_CTRL_UDCTRL_REGULAR
#define LCD_DISPCTRL_CONCONF_VLCD
#define LCD_FREEZE_REGFREEZE_UPDATE
__STATIC_INLINE void LCD_BlankEnable(bool enable)
Disables all segments, while keeping segment state.
__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_DISPCTRL_VBLEV_LEVEL5
__STATIC_INLINE void LCD_IntDisable(uint32_t flags)
Disable LCD interrupts.
#define LCD_DISPCTRL_MUXE_MUXE
#define LCD_DISPCTRL_WAVE_NORMAL
void LCD_AnimInit(const LCD_AnimInit_TypeDef *animInit)
Configures LCD controller Animation feature.
#define LCD_BACTRL_FCPRESC_DIV2
__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.
__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_LEVEL4