38.7.7 LCD Controller Configuration Register 6

Name: LCDC_LCDCFG6
Offset: 0x18
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 PWMCVAL[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
    PWMPOL PWMPS[2:0] 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 15:8 – PWMCVAL[7:0] LCD Controller PWM Compare Value

PWM compare value. Used to adjust the analog value obtained after an external filter to control the contrast of the display.

Bit 4 – PWMPOL LCD Controller PWM Signal Polarity

This bit defines the polarity of the PWM output signal.

ValueDescription
0

The output pulses are low level.

1

The output pulses are high level (the output is high whenever the value in the counter is less than value CVAL).

Bits 2:0 – PWMPS[2:0] PWM Clock Prescaler

Selects the configuration of the counter prescaler module.

ValueNameDescription
000 DIV_1

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK

001 DIV_2

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK/2

010 DIV_4

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK/4

011 DIV_8

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK/8

100 DIV_16

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK/16

101 DIV_32

The counter advances at a of rate fCOUNTER = fPWM_SELECTED_CLOCK/32

110 DIV_64

The counter advances at a of rate fCOUNTER = fPWM_SELECTED_CLOCK/64