1.1.5.5 HTMx_PeriodGet Function

C

/* x = HTM timer instance number */
uint16_t HTMx_PeriodGet(void)

Summary

Returns the period value for the HTM timer

Description

Returns the value of the pre-load register

Precondition

HTMx_Initialize() function must have been called first.

Parameters

None

Returns

16-bit timer period value

Example

uint16_t period = HTM0_PeriodGet();

Remarks

None