PCNT_TCC_TypeDef Struct ReferenceEMLIB > PCNT
TCC initialization structure.
       Definition at line
       
        320
       
       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
        
         328
        
        of file
        
         em_pcnt.h
        
        .
       
Referenced by PCNT_TCCConfiguration() .
| PCNT_TCCMode_TypeDef PCNT_TCC_TypeDef::mode | 
Mode to operate in.
        Definition at line
        
         322
        
        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
        
         325
        
        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
        
         340
        
        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
        
         336
        
        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
        
         331
        
        of file
        
         em_pcnt.h
        
        .
       
Referenced by PCNT_TCCConfiguration() .
The documentation for this struct was generated from the following file:
- 
       C:/repos/embsw_super_h1/platform/emlib/inc/
       em_pcnt.h