309
XMEGA B [DATASHEET]
8291B–AVR–01/2013
25.4.9 Display Blinking
There are two ways to blink the display, controlled from software and controlled automatically by hardware.
25.4.9.1 Software Blinking
Setting / clearing segment(s) in the Display Memory allows software blinking. To blink simultaneously all enabled
segments, SEGON bit in CRTLA register can be used. The blink rate is software dependant.
25.4.9.2 Hardware Blinking
Up to eight segments (pixels) can be configured to automatically blink. These segments must be connected to the
segment terminal SEG1 and/or SEG0. This mode is enabled by setting the BLINKEN bit in the CTRLD register and
defining the associated common terminal(s) in the CTRLE register.The blink rate frequency is configured by using the
BLINKRATE bit-field in the CTRLD register. A segment will blink if its corresponding bit is set in the Display Memory,
otherwise it will remain “OFF”.
If all bits in the CTRLE register are set to zero, then blinking is applied to all enabled segments.
The BLINK command will come into operation at the beginning of the next LCD frame.
Table 25-2. Blinking modes.
Notes:
1.
SEGON bit in CTRLA register.
25.4.10 Extended Interrupt Mode
In standard interrupt mode (XIME[4:0]=0), the LCD controller can provide an interrupt every frames. When the extended
interrupt mode is enabled, the LCD controller can provide the interrupt every XIME[4:0]+1 frames.
This mode provides an embedded time base for user. This time base can be used by the software in charge of display
updates (i.e. scrolling text, progress bar, ...).
The extended interrupt mode saves real time resources and allows the application to stay longer in Power-save or
Extended Standby mode.
25.4.11 LCD Power Supply
The LCD power supply manages all voltages for LCD buffers. The XBIAS bit in the CTRLA register defines the source of
V
LCD
. If XBIAS is cleared, V
LCD
sources voltages from the Bandgap Reference. Otherwise, V
LCD
must be powered
externally.
Note that when using external V
LCD
, the fine contrast controlled by FCONT[5:0] bits of the CRTLG register is inoperative.
SEGON
BLINKEN
BPS1[3:0] | BPS0[3:0]
Comment
0
x
0
b
xxxx xxxx
All segments are “OFF”
1
0
0
b
xxxx xxxx
All segments are driven by the corresponding data registers
1
1
0
b
0000 0000
All segments are blinking at the blink frequency
Not equal to zero
Blinking only the selected segment(s) at the blink frequency
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...