889
SAM4CP [DATASHEET]
43051E–ATPL–08/14
39.8.2 SLCDC Mode Register
Name:
SLCDC_MR
Address:
0x4003C004
Access:
Read/Write
Reset:
0x00000000
This register can only be written if the WPEN bit is cleared in the
“SLCDC Write Protection Mode Register”
.
COMSEL: Selection of the Number of Commons
(For safety reasons, can be configured when SLCDC is disabled).
SEGSEL: Selection of the Number of Segments
(For safety reasons, can be configured when SLCDC is disabled).
SEGSEL must be programmed with the number of segments of the display panel minus 1.
If segment remapping function is not used (i.e. SLCDC_SMRx equal 0) the SEGn [n = 0..49] I/O pins where n is greater than
SEGSEL are forced to be driven by digital function. When segments remapping function is used, SEGn pins are driven by SLCDC
only if corresponding PIXELn configuration bit is set in SLCDC_SMR1/0 registers.
BIAS: LCD Display Configuration
(For safety reasons, can be configured when SLCDC is disabled).
31
–
30
–
29
–
28
–
27
–
26
–
25
–
24
LPMODE
23
–
22
–
21
20
19
18
17
16
BIAS
BUFTIME
15
–
14
–
13
12
11
10
9
8
SEGSEL
7
–
6
–
5
–
4
–
3
–
2
1
0
COMSEL
Value
Name
Description
0x0
COM_0
COM0 is driven by SLCDC, COM1:4 are driven by digital function
0x1
COM_0TO1
COM0:1 are driven by SLCDC, COM2:4 are driven by digital function
0x2
COM_0TO2
COM0:2 are driven by SLCDC, COM3:4 are driven by digital function
0x3
COM_0TO3
COM0:3 are driven by SLCDC, COM4 is driven by digital function
0x4
COM_0TO4
COM0:4 are driven by SLCDC, No COM pin driven by digital function
Value
Name
Description
0x0
STATIC
static
0x1
BIAS_1_2
bias 1/2
0x2
BIAS_1_3
bias 1/3