EFM32 Happy Gecko Software Documentation
efm32hg-doc-5.1.2
|
#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 |
PCNT_TCCComp_Typedef PCNT_TCC_TypeDef::compare |
Choose the event that will trigger a clear
Definition at line 343 of file em_pcnt.h.
Referenced by PCNT_TCCConfiguration().
PCNT_TCCMode_TypeDef PCNT_TCC_TypeDef::mode |
Mode to operate in.
Definition at line 337 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 340 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 355 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 the PRS signal is high.
True = Falling edge for comparison trigger, and PCNT clock gated when the PRS signal is low.
Definition at line 351 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 346 of file em_pcnt.h.
Referenced by PCNT_TCCConfiguration().