1.2.24.36 1.3.24.36 1.4.25.36 1.5.23.36 1.6.25.36 1.7.26.36 1.29.27.36 1.30.17.36 1.31.17.36 1.33.19.36 1.37.17.36 1.40.24.36 TCCx_Compare32bitPeriodGet Function
C
/* x = TCC instance number */
uint32_t TCCx_Compare32bitPeriodGet( void );
Summary
Reads the period value of given timer.
Description
This function reads the value of period.
Precondition
TCCx_CompareInitialize() function must have been called first.
Parameters
NoneReturns
Timer's period value.
Example
uint32_t period = 0;
TCC0_CompareInitialize();
period = TCC0_Compare32bitPeriodGet();
Remarks
None.