English
Language : 

EFM32WG Datasheet, PDF (792/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
33.3.9 Direct Segment Control (DSC)
It is possible to gain direct control over the bias levels for each SEG/COM line by setting DSC in
LCD_CTRL, overwriting the BIAS settings in LCD_DISPCTRL. The SEG lines bias levels can be set in
SEGD0-SEGD3, while the COM line bias levels can be set in SEGD4. To represent the different bias
levels, 2-bits per SEG lines are needed. For example, SEG0's bias levels can be set using SEGD0[1:0],
and SEG1 can be controlled through SEGD0[3:2] etc. Bias level encoding is shown in Table 33.11 (p.
792) .
Table 33.11. DSC BIAS Encoding
SEGD
00
01
10
11
Mode
Static
Half Bias
Third Bias
Fourth Bias
Bias setting
Static (2 levels)
1/2 Bias (3 levels)
1/3 Bias (4 levels)
1/4 Bias (5 levels)
33.3.10 Frame Counter (FC)
The Frame Counter is synchronized to the LCD frame start and will generate an event after a
programmable number of frames. An FC event can trigger:
• LCD ready interrupt
• Blink (controlling the blink frequency)
• Next state in the Animation State Machine
• Data update if UDCTRL = 01
The Frame Counter is a down counter. It is enabled by writing FCEN in LCD_BACTRL. Optionally, the
Frame Counter can be prescaled so that the Frame Counter is decremented at:
• Every frame
• Every second frame
• Every fourth frame
• Every eight frame
This is controlled by the FCPRESC in LCD_BACTRL, see Table 33.12 (p. 792)
Table 33.12. FCPRESC
FCPRESC
00
01
10
11
Mode
Div1
Div2
Div4
Div8
Description
CLKFRAME/1
CLKFRAME/2
CLKFRAME/4
CLKFRAME/8
General equation
CLKFC = CLKFRAME/2FCPRESC
The top value for the Frame Counter is set by FCTOP in LCD_BACTRL. Every time the frame counter
reaches zero, it is reloaded with the top value, and at the same time an event, which can cause an
interrupt, data update, blink, or an animation state transition is triggered.
LCD Event Frequency Equation
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
792
www.energymicro.com