MSC configuration structure.
This structure contains all register values of the MSC HW block. This structure is provided by middleware through the Cy_MSC_Init() and Cy_MSC_Configure() functions to implement the MSC HW block supported sensing modes like self-cap / mutual-cap scanning, etc.
Data Fields | |
uint32_t | ctl |
Stores the MSC.CTL register value. | |
uint32_t | spare |
Stores the MSC.SPARE register value. | |
uint32_t | scanCtl1 |
Stores the MSC.SCAN_CTL1 register value. | |
uint32_t | scanCtl2 |
Stores the MSC.SCAN_CTL2 register value. | |
uint32_t | initCtl1 |
Stores the MSC.INIT_CTL1 register value. | |
uint32_t | initCtl2 |
Stores the MSC.INIT_CTL2 register value. | |
uint32_t | initCtl3 |
Stores the MSC.INIT_CTL3 register value. | |
uint32_t | initCtl4 |
Stores the MSC.INIT_CTL4 register value. | |
uint32_t | senseDutyCtl |
Stores the MSC.SENSE_DUTY_CTL register value. | |
uint32_t | sensePeriodCtl |
Stores the MSC.SENSE_PERIOD_CTL register value. | |
uint32_t | filterCtl |
Stores the MSC.FILTER_CTL register value. | |
uint32_t | ccompCdacCtl |
Stores the MSC.CCOMP_CDAC_CTL register value. | |
uint32_t | ditherCdacCtl |
Stores the MSC.DITHER_CDAC_CTL register value. | |
uint32_t | cswCtl |
Stores the MSC.CSW_CTL register value. | |
uint32_t | swSelGpio |
Stores the MSC.SW_SEL_GPIO register value. | |
uint32_t | swSelCdacRe |
Stores the MSC.SW_SEL_CDAC_RE register value. | |
uint32_t | swSelCdacCo |
Stores the MSC.SW_SEL_CDAC_CO register value. | |
uint32_t | swSelCdacCf |
Stores the MSC.SW_SEL_CDAC_CF register value. | |
uint32_t | swSelCmod1 |
Stores the MSC.SW_SEL_CMOD1 register value. | |
uint32_t | swSelCmod2 |
Stores the MSC.SW_SEL_CMOD2 register value. | |
uint32_t | swSelCmod3 |
Stores the MSC.SW_SEL_CMOD3 register value. | |
uint32_t | swSelCmod4 |
Stores the MSC.SW_SEL_CMOD4 register value. | |
uint32_t | obsCtl |
Stores the MSC.OBS_CTL register value. | |
uint32_t | status1 |
Stores the MSC.STATUS1 register value. | |
uint32_t | status2 |
Stores the MSC.STATUS2 register value. | |
uint32_t | status3 |
Stores the MSC.STATUS3 register value. | |
uint32_t | resultFifoStatus |
Stores the MSC.RESULT_FIFO_STATUS register value. | |
uint32_t | resultFifoRd |
Stores the MSC.RESULT_FIFO_RD register value. | |
uint32_t | intr |
Stores the MSC.INTR register value. | |
uint32_t | intrSet |
Stores the MSC.INTR_SET register value. | |
uint32_t | intrMask |
Stores the MSC.INTR_MASK register value. | |
uint32_t | intrMasked |
Stores the MSC.INTR_MASKED register value. | |
uint32_t | frameCmd |
Stores the MSC.FRAME_CMD register value. | |
cy_stc_msc_sensor_config_t | sensorConfig |
Stores the MSC.SNS registers values. | |
uint32_t | swSelCsw [CY_MSC_CSW_NUM] |
Stores the MSC.SW_SEL_CSW registers values. | |
uint32_t | swSelCswFunc [CY_MSC_CSW_FUNC_NUM] |
Stores the MSC.SW_SEL_CSW_FUNC registers values. | |
cy_stc_msc_mode_config_t | mode [CY_MSC_MODES_NUM] |
Stores the MSC.MODE registers values. | |