English
Language : 

EFM32WG Datasheet, PDF (796/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
Example 33.2. LCD Animation Enable Example
• Write data into the animation registers LCD_AREGA, LCD_AREGB
• Enable the correct shift direction (if any)
• Decide which logical function to perform on the registers
• ALOGSEL = 0: Data_out = LCD_AREGA & LCD_AREGB
• ALOGSEL = 1:Data_out = LCD_AREGA | LCD_AREGB
• Configure the right animation period (CLKEVENT)
• Enable the animation pattern and frame counter (AEN = 1, FCEN = 1)
For updating data in the LCD while it is running an animation, and the new animation data depends on
the pattern visible on the LCD, see the following example.
Example 33.3. LCD Animation Dependence Example
• Enable the LCD interrupt (the interrupt will be triggered simultaneously as the Animation State machine
changes state)
• In the interrupt handler, read back the current state (ASTATE)
• Knowing the current state of the Animation State Machine makes it possible to calculate what data
that is currently output
• Modify data as required (Data will be updated at the next Frame Counter Event). It is important that
new data is written before the next Frame Counter Event.
33.3.13 LCD in Low Energy Modes
As long as the LFACLK is running (EM0-EM2), the LCD controller continues to output LCD waveforms
according to the data that is currently synchronized to the LCD Driver logic. In addition, the following
features are still active if enabled:
• Animation State Machine
• Blink
• LCD Event Interrupt
33.3.14 Register access
Since this module is a Low Energy Peripheral, and runs off a clock which is asynchronous to
the HFCORECLK, special considerations must be taken when accessing registers. Please refer to
Section 5.3 (p. 21) for a description on how to perform register accesses to Low Energy Peripherals.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
796
www.energymicro.com