1.16.24.7 1.18.20.7 1.19.20.7 1.20.24.7 1.21.25.7 1.23.26.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.