The shifting frequency is configured in a frame counter as a number of frames. A frame counter is
associated to this feature by writing the corresponding index to the Frame Counter Selection bits in the
CSRCFG register (CSRCFG.FCS).
The shift direction is selected by writing to the Direction bit in CSRCFG register (CSRCFG.DIR): DIR=0 is
shifting to the left; DIR=1 will shift to the right.
The initial value of the circular shift register must be written to the Data bits in the CSRCFG register
(CSRCFG.DATA).
Once the circular shift register is configured, autonomous segment animation is enabled by writing a '1' to
the Circular Shift Register Enable bit in the Control C register (CTRLC.CSREN). Animation is disabled by
writing a '0' to CTRLC.CSREN. The initial value is shifted each time the selected frame counter overflows.
The CSRCFG register cannot be written when circular shift register is enabled. The shifting frequency can
be modified, provided selected frame counter has been disabled first.
Figure 43-20. LCD Wheel Animation Example (8 Segments)
0
1
0
0
0
0
circular shift
register
LCD wheel
b0
b1
b7
b6
b5
b2
0
0
b3
b4
43.6.2.5. Character Mapping
Multiple segments of the LCD panel can be gathered to digits in order to display characters. Digits can be
of various type (e.g., 7-segment, 16-segment) and mapped in the display memory differently, refer to the
figure below for examples. The SLCD supports displaying up to 24-segment characters on any existing
LCD panel.
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
1078