5.2.7.1 LCDC Configuration Register 0

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_LCDCFG0
Offset: 0x00000000
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 CLKDIV[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
     CLKPWMSEL CLKBYPCLKPOL 
Access R/WR/WR/W 
Reset 000 

Bits 23:16 – CLKDIV[7:0] LCDC Clock Divider

8-bit width clock divider for pixel clock (LCDC_PCK). If CLKBYP = 0, the pixel clock frequency formula is:

LCDC_PCK_freq = GCLK_freq / (CLKDIV+2)

Bit 3 – CLKPWMSEL LCDC PWM Clock Source Selection

ValueDescription
0

The slow clock is selected and feeds the PWM module.

1

The peripheral clock (MCK) is selected and feeds the PWM module.

Bit 1 – CLKBYP LCDC Pixel Clock Divider Bypass

ValueDescription
0

Pixel clock divider is not bypassed. LCDC_PCK is defined with CLKDIV parameter.

1

Pixel clock divider is bypassed. LCDC_PCK = GCLK clock

Bit 0 – CLKPOL LCDC Clock Polarity

ValueDescription
0

Data/Control signals are launched on the rising edge of the pixel clock.

1

Data/Control signals are launched on the falling edge of the pixel clock.