1.1.12.5 TIMER32_x_PrescalerSet Function
C
/* x = Timer32 instance number */
void TIMER32_x_PrescalerSet(uint16_t prescale_val)
Summary
Selects the divider value for the clock source for the Timer32 peripheral.
Description
Selects the divider value for the clock source for the Timer32 peripheral. The Clock source is then divided by the value of prescale_val + 1.
Precondition
None
Parameters
Param | Description |
---|---|
prescale_val | divide value for the Timer32 clock source |
Returns
None
Example
TIMER32_0_PrescalerSet(2);
Remarks
None