1.1.8.10 PWMx_ClkDividerSet Function

C

/* x = PWM instance number */

void PWMx_ClkDividerSet (uint8_t divVal)

Summary

Selects the divider value for the clock source for the PWM peripheral

Description

Selects the divider value for the clock source for the PWM peripheral. The Clock source is then divided by the value of divVal + 1.

Precondition

None

Parameters

Param Description
divVal divide value for the PWM clock source

Returns

None

Example

PWM0_ClkDividerSet(2);

Remarks

None