•
For LP[31:0], write to LCD Pin Enable Low register bits LPENL[31:0]
•
For LP[51:32], writ to LCD Pin Enable High register bits LPENH[18:0]
Writing a '0' to a bit in LPENL or LPENH will disable the corresponding LCD pin. The number of LCD pins
enabled should not be higher than the maximum of COM and SEG lines supported (see the table above).
Any LCD pin can be enabled individually, LCD pins do not have to be enabled in contiguous manner.
A disabled LCD pin can thus be used as GPIO or alternate function.
According to their duty configuration, COM lines are assigned first to LCD pins enabled. The number of
SEG lines enabled is thus the number of LCD pins enabled minus the number of COM lines assigned
(limited to the maximum SEG lines supported according duty selection). COM and SEG lines are always
assigned in ascending order, as shown in the figure here.
Figure 43-16. LCD Pins Configuration Example
7 6 5 4 3 2 1 0
1 0 1 1 1 0 1 0 LPENL
LP0 = _
LP1 = COM0 duty = 1/2
LP2 = _
LP3 = COM1
LP4 = SEG0
LP5 = SEG1
LP6 = _
LP7 = SEG2
...
43.6.1.7. Display Memory Mapping
The display memory size depends on the configured duty ratio. For duty ratios above 1/4, the display
memory is 44 bits wide per COM line. For 1/6 duty, the display memory is 42 bits wide per COM line, and
for 1/8 duty, the display memory is 40 bits wide per COM line.
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
1072