CAT2 Peripheral Driver Library
cy_stc_msclp_base_config_t Struct Reference

Description

MSCLP base configuration structure.

This structure contains almost all register values of the MSCLP HW block. This structure is provided by middleware through the Cy_MSCLP_Init() and Cy_MSCLP_Configure() functions to implement the MSCLP HW block supported sensing modes like self-cap / mutual-cap scanning, etc.

Data Fields

uint32_t ctl
 Stores the MSCLP.CTL register value.
 
uint32_t scanCtl1
 Stores the MSCLP.SCAN_CTL1 register value.
 
uint32_t scanCtl2
 Stores the MSCLP.SCAN_CTL2 register value.
 
uint32_t initCtl1
 Stores the MSCLP.INIT_CTL1 register value.
 
uint32_t initCtl2
 Stores the MSCLP.INIT_CTL2 register value.
 
uint32_t initCtl3
 Stores the MSCLP.INIT_CTL3 register value.
 
uint32_t initCtl4
 Stores the MSCLP.INIT_CTL4 register value.
 
uint32_t senseDutyCtl
 Stores the MSCLP.SENSE_DUTY_CTL register value.
 
uint32_t sensePeriodCtl
 Stores the MSCLP.SENSE_PERIOD_CTL register value.
 
uint32_t filterCtl
 Stores the MSCLP.FILTER_CTL register value.
 
uint32_t ccompCdacCtl
 Stores the MSCLP.CCOMP_CDAC_CTL register value.
 
uint32_t ditherCdacCtl
 Stores the MSCLP.DITHER_CDAC_CTL register value.
 
uint32_t mscCmpCtl
 Stores the MSCLP.MSCCMP_CTL register value.
 
uint32_t obsCtl
 Stores the MSCLP.OBS_CTL register value.
 
uint32_t aosCtl
 Stores the MSCLP.AOS_CTL register value.
 
uint32_t ceCtl
 Stores the MSCLP.CE_CTL register value.
 
uint32_t pumpCtl
 Stores the MSCLP.PUMP_CTL register value.
 
uint32_t imoCtl
 Stores the MSCLP.IMO_CTL register value.
 
uint32_t intr
 Stores the MSCLP.INTR_MASK register value.
 
uint32_t intrSet
 Stores the MSCLP.INTR_MASK register value.
 
uint32_t intrMask
 Stores the MSCLP.INTR_MASK register value.
 
uint32_t intrLp
 Stores the MSCLP.INTR_LP register value.
 
uint32_t intrLpSet
 Stores the MSCLP.INTR_LP_SET register value.
 
uint32_t intrLpMask
 Stores the MSCLP.INTR_LP_MASK register value.
 
uint32_t swSelCdacRe
 Stores the MSCLP.SW_SEL_CDAC_RE register value.
 
uint32_t swSelCdacCo
 Stores the MSCLP.SW_SEL_CDAC_CO register value.
 
uint32_t swSelCdacCf
 Stores the MSCLP.SW_SEL_CDAC_CF register value.
 
uint32_t swSelBgr
 Stores the MSCLP.SW_SEL_BGR register value.
 
uint32_t swSelCswFunc [CY_MSCLP_CSW_GLOBAL_FUNC_NR_MAX]
 Stores the MSCLP.SW_SEL_CSW_FUNC registers values, The real number of these registers may be limited by the particular devise settings, see MSCLP_CSW_GLOBAL_FUNC_NR in the device headers.
 
cy_stc_msclp_mode_config_t mode [CY_MSCLP_SENSE_MODE_NR_MAX]
 Stores the MSCLP.MODE registers values, The real number of these structures may be limited by the particular devise settings, see MSCLP_SENSE_MODE_NR in the device headers.