MTB CAT1 Peripheral driver library
cy_stc_profile_ctr_t Struct Reference

Description

Software structure for holding a profile counter status and configuration information.

Data Fields

uint8_t ctrNum
 Profile counter number.
 
uint8_t used
 0 = available; 1 = used
 
cy_stc_profile_ctr_ctl_t ctlRegVals
 Initial counter CTL register settings.
 
PROFILE_CNT_STRUCT_Type * cntAddr
 Base address of the counter instance registers.
 
uint32_t ctlReg
 Current CTL register value.
 
uint32_t cntReg
 Current CNT register value.
 
uint32_t overflow
 Extension of cntReg to form a 64-bit counter value.
 
uint32_t weight
 Weighting factor for the counter.