1.1.5.3 HTMx_ResolutionSet Function

C

/* x = HTM timer instance number */

void HTMx_ResolutionSet(HTM_TMR_RESOLUTION resolution)

Summary

Sets the resolution of the HTM timer

Description

Sets the resolution of the HTM timer based on the HTM_TMR_RESOLUTION enumeration value passed to it

Precondition

HTMx_Initialize() function must have been called first.

Parameters

Param Description
resolution Timer resolution of Enum type HTM_TMR_RESOLUTION

Returns

None

Example

HTMx_ResolutionSet(HTM_TMR_RESOLUTION_0_125S);

Remarks

None