5.2.7.7 LCDC Configuration Register 6

This register can only be written if WPCFGE is cleared in the LCDC Write Protection Mode Register.

GCLK must be running before writing in this register.
Name: LCDC_LCDCFG6
Offset: 0x00000018
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 
    PWMPOLPWMPS[3:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bits 15:8 – PWMCVAL[7:0] LCDC 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 LCDC PWM Signal Polarity

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 the value PWMCVAL).

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

Selects the configuration of the counter prescaler module.

ValueNameDescription
0 DIV_1

The counter advances at a rate of fCOUNTER = fPWM_SELECTED_CLOCK

1 DIV_2

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

2 DIV_4

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

3 DIV_8

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

4 DIV_16

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

5 DIV_32

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

6 DIV_64

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

7 DIV_128

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

8 DIV_256

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

9 DIV_512

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

10 DIV_1024

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

11 DIV_2048

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

12 DIV_4096

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

13 DIV_8192

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

14 DIV_16384

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

15 DIV_32768

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