1.16.24.3 1.18.20.3 1.19.20.3 1.20.24.3 1.21.25.3 1.23.26.3 TMR1_CounterGet Function
C
uint16_t TMR1_CounterGet(void);
Summary
Reads the timer counter value.
Description
This function reads the timer counter value.
Precondition
TMR1_Initialize() function must have been called first.
Parameters
None.
Returns
The timer's current count value.
Example
uint16_t counter; TMR1_Initialize(); TMR1_Start(); counter = TMR1_CounterGet();
Remarks
None