SARMUX Switch Control Register Enums

group group_sar_mux_switch_register_enums

This set of enumerations aids in configuring the uint32_t muxSwitch and uint32_t muxSwitchSqCtrl registers.

Enums

enum cy_en_sar_mux_switch_fw_ctrl_t

cy_en_sar_mux_switch_fw_ctrl_t: Firmware control for the SARMUX switches to connect analog signals to the SAR ADC.

To close multiple switches, “OR” the enum values together.

See the SARMUX and SARSEQ section for more guidance.

Values:

enumerator CY_SAR_MUX_FW_P0_VPLUS

Switch between Pin 0 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P1_VPLUS

Switch between Pin 1 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P2_VPLUS

Switch between Pin 2 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P3_VPLUS

Switch between Pin 3 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P4_VPLUS

Switch between Pin 4 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P5_VPLUS

Switch between Pin 5 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P6_VPLUS

Switch between Pin 6 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P7_VPLUS

Switch between Pin 7 of SARMUX and Vplus of SARADC.

enumerator CY_SAR_MUX_FW_P0_VMINUS

Switch between Pin 0 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P1_VMINUS

Switch between Pin 1 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P2_VMINUS

Switch between Pin 2 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P3_VMINUS

Switch between Pin 3 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P4_VMINUS

Switch between Pin 4 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P5_VMINUS

Switch between Pin 5 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P6_VMINUS

Switch between Pin 6 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_P7_VMINUS

Switch between Pin 7 of SARMUX and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_VSSA_VMINUS

Switch between VSSA and Vminus of SARADC.

enumerator CY_SAR_MUX_FW_TEMP_VPLUS

Switch between the DieTemp sensor and vplus of SARADC.

enumerator CY_SAR_MUX_FW_AMUXBUSA_VPLUS

Switch between AMUXBUSA and vplus of SARADC.

enumerator CY_SAR_MUX_FW_AMUXBUSB_VPLUS

Switch between AMUXBUSB and vplus of SARADC.

enumerator CY_SAR_MUX_FW_AMUXBUSA_VMINUS

Switch between AMUXBUSA and vminus of SARADC.

enumerator CY_SAR_MUX_FW_AMUXBUSB_VMINUS

Switch between AMUXBUSB and vminus of SARADC.

enumerator CY_SAR_MUX_FW_SARBUS0_VPLUS

Switch between SARBUS0 and vplus of SARADC.

enumerator CY_SAR_MUX_FW_SARBUS1_VPLUS

Switch between SARBUS1 and vplus of SARADC.

enumerator CY_SAR_MUX_FW_SARBUS0_VMINUS

Switch between SARBUS0 and vminus of SARADC.

enumerator CY_SAR_MUX_FW_SARBUS1_VMINUS

Switch between SARBUS1 and vminus of SARADC.

enumerator CY_SAR_MUX_FW_P4_COREIO0

Switch between Pin 4 of SARMUX and coreio0, if present.

enumerator CY_SAR_MUX_FW_P5_COREIO1

Switch between Pin 5 of SARMUX and coreio1, if present.

enumerator CY_SAR_MUX_FW_P6_COREIO2

Switch between Pin 6 of SARMUX and coreio2, if present.

enumerator CY_SAR_MUX_FW_P7_COREIO3

Switch between Pin 7 of SARMUX and coreio3, if present.

enum cy_en_sar_mux_switch_sq_ctrl_t

cy_en_sar_mux_switch_sq_ctrl_t: Mask definitions of SARMUX switches that can be controlled by the SARSEQ.

To enable sequencer control of multiple switches, “OR” the enum values together.

See the SARMUX and SARSEQ section for more guidance.

Values:

enumerator CY_SAR_MUX_SQ_CTRL_P0

Enable SARSEQ control of Pin 0 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P1

Enable SARSEQ control of Pin 1 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P2

Enable SARSEQ control of Pin 2 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P3

Enable SARSEQ control of Pin 3 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P4

Enable SARSEQ control of Pin 4 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P5

Enable SARSEQ control of Pin 5 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P6

Enable SARSEQ control of Pin 6 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_P7

Enable SARSEQ control of Pin 7 switches (for Vplus and Vminus) of SARMUX dedicated port.

enumerator CY_SAR_MUX_SQ_CTRL_VSSA

Enable SARSEQ control of the switch between VSSA and Vminus.

enumerator CY_SAR_MUX_SQ_CTRL_TEMP

Enable SARSEQ control of the switch between DieTemp and Vplus.

enumerator CY_SAR_MUX_SQ_CTRL_AMUXBUSA

Enable SARSEQ control of AMUXBUSA switches (for Vplus and Vminus)

enumerator CY_SAR_MUX_SQ_CTRL_AMUXBUSB

Enable SARSEQ control of AMUXBUSB switches (for Vplus and Vminus)

enumerator CY_SAR_MUX_SQ_CTRL_SARBUS0

Enable SARSEQ control of SARBUS0 switches (for Vplus and Vminus)

enumerator CY_SAR_MUX_SQ_CTRL_SARBUS1

Enable SARSEQ control of SARBUS1 switches (for Vplus and Vminus)