1.29.27.59 TCCx_PWM16bitPeriodGet Function
C
/* x = TCC instance number */ uint16_t TCCx_PWM16bitPeriodGet ( void );
Summary
Reads the period value of a given TCC instance.
Description
This function reads the period value.
Precondition
TCCx_PWMInitialize function must have been called first for the given channel.
Parameters
None
Returns
Period value of TCC instance
Example
uint16_t period; TCC0_PWMInitialize(); period = TCC0_PWM16bitPeriodGet();
Remarks
None