Atmel SAM4L Xplained Pro Evaluation Kit Atmel ATSAM4L-XPRO ATSAM4L-XPRO Ficha De Dados
Códigos do produto
ATSAM4L-XPRO
1048
42023E–SAM–07/2013
ATSAM4L8/L4/L2
Figure 39-11. Sequential Character String Example (DIGN = 5, frame rate = 50Hz, TIM.ACMFC = 31)
39.6.11.2
Scrolling of Characters String
This mode displays the same characters string periodically shifted by one character in left direc-
tion.
The configuration is:
tion.
The configuration is:
• specify the number of digit (ACMCFG.DIGN),
• specify the number of scrolling steps ACMCFG.STEPS = string length - DIGN + 1,
• specify the type of digit (ACMCFG.TDG), see
,
• specify the start segment (ACMCFG.STSEG) of the first character to display
• select the digit reverse mode (ACMCFG.DREV). If enabled ACMCFG.STSEG must be
initialized with the start segment corresponding to the last character on the LCD glass.
• set the display period by writing the number of frame in Frame Counter x (TIM.FCx),
• select a frame counter by writing its number in ACMCFG.FCS,
• enable this mode by writing a one to the ACMCFG.EN bit,
• configure PDCA to transfer the ASCII characters string to the Automated Character Mapping
Data Register (ACMDR). PDCA must be configured to repeat transfer in order to scroll
H E L
W O R
T H I
String = ’HELLOWORLDTHIS IS AUTOMATED ’
L
L
S
O
D
I S
A U T O M
A T E D
0
5.1
10.2
15.3
20.4
25.5
t (s)