1.20.20.7 TMR1_PeriodGet Function

C

uint16_t TMR1_PeriodGet(void);

Summary

Reads the period value of given timer.

Description

This function reads the value of period of given timer.

Precondition

TMR1_Initialize() function must have been called first.

Parameters

None.

Returns

period - The timer's period value.

Example

uint16_t period;

TMR1_Initialize();
period = TMR1_PeriodGet();

Remarks

None.