TCC initialization structure.
Definition at line 326
of file em_pcnt.h
.
#include <
em_pcnt.h
>
Data Fields | |
PCNT_TCCComp_Typedef | compare |
PCNT_TCCMode_TypeDef | mode |
PCNT_TCCPresc_Typedef | prescaler |
bool | prsGateEnable |
bool | prsPolarity |
PCNT_PRSSel_TypeDef | tccPRS |
Field Documentation
PCNT_TCCComp_Typedef PCNT_TCC_TypeDef::compare |
Choose the event that will trigger a clear.
Definition at line 334
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
PCNT_TCCMode_TypeDef PCNT_TCC_TypeDef::mode |
Mode to operate in.
Definition at line 328
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
PCNT_TCCPresc_Typedef PCNT_TCC_TypeDef::prescaler |
Prescaler value for LFACLK in LFA mode.
Definition at line 331
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
bool PCNT_TCC_TypeDef::prsGateEnable |
Enable gating PCNT input clock through TCC PRS signal. Polarity selection is done through prsPolarity.
Definition at line 346
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
bool PCNT_TCC_TypeDef::prsPolarity |
TCC PRS input polarity.
False = Rising edge for comparison trigger, and PCNT clock gated when PRS signal is high.
True = Falling edge for comparison trigger, and PCNT clock gated when PRS signal is low.
Definition at line 342
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
PCNT_PRSSel_TypeDef PCNT_TCC_TypeDef::tccPRS |
PRS input to TCC module, either for gating the PCNT clock, triggering the TCC comparison, or both.
Definition at line 337
of file em_pcnt.h
.
Referenced by PCNT_TCCConfiguration().
The documentation for this struct was generated from the following file:
- C:/HandsOn/super/platform/emlib/inc/
em_pcnt.h