1.1.8.9 PWMx_ClkSelect Function
C
/* x = PWM instance number */ void PWMx_ClkSelect (PWM_CLK_SEL pwmClk)
Summary
Selects the clock source for the PWM peripheral
Description
Selects the clock source for the PWM peripheral. The source clock can be selected between 100 KHz slow clock and 48 MHz fast clock.
Precondition
None
Parameters
Param | Description |
---|---|
pwmClk | PWM clock source of type PWM_CLK_SEL |
Returns
None
Example
PWM0_ClkSelect(PWM_CLK_SEL_LOW_100KHZ);
Remarks
None