Datasheet
SAM9G45 [DATASHEET]
Atmel-6438O-ATARM-SAM9G45-Datasheet_08-Dec-15
1146
44.12.26 Contrast Control Register
Name: CONTRAST_CTR
Address: 0x00500840
Access: Read/Write
•PS
This 2-bit value selects the configuration of a counter prescaler. The meaning of each combination is as follows:
•POL
This bit defines the polarity of the output. If 1, the output pulses are high level (the output will be high whenever the value in
the counter is less than the value in the compare register CONSTRAST_VAL). If 0, the output pulses are low level.
•ENA
When 1, this bit enables the operation of the PWM generator. When 0, the PWM counter is stopped.
31 30 29 28 27 26 25 24
––––––––
23 22 21 20 19 18 17 16
––––––––
15 14 13 12 11 10 9 8
––––––––
76543210
––––ENAPOL PS
PS
0 0 The counter advances at a rate of f
COUNTER
= f
LCDC_CLOCK
.
0 1 The counter advances at a rate of f
COUNTER
= f
LCDC_CLOCK
/2.
1 0 The counter advances at a rate of f
COUNTER
= f
LCDC_CLOCK
/4.
1 1 The counter advances at a rate of f
COUNTER
= f
LCDC_CLOCK
/8.