1.25.7.25 LCDCx_SetClockDivider Function

C

// x - Instance of the LCDC peripheral

void LCDCx_SetClockDivider(uint8_t value)

Summary

Sets the clock divider for the pixel clock

Description

The pixel clock period formula is LCDPCLK = source clock / value when source clock is the system clock when CLKSET is '0', and 2x system_clock when CLKSEL is '1'

Precondition

None.

Parameters

Param Description
value the 8-bit divider value, must be greater than 2

Returns

None

Remarks

None