This set of functions are for configuring basic usage of the CTB.
◆ Cy_CTB_SetDeepSleepMode()
Enable or disable the entire CTB (not per opamp) in Deep Sleep mode.
If enabled, the AREF block must also be enabled for Deep Sleep to provide the needed reference currents to the opamps (see Cy_SysAnalog_SetDeepSleepMode). Additionally, ensure that only internal CTB switches are used for routing. Switches on AMUXBUSA and AMUXBUSB are not enabled in Deep Sleep. See the Configuration Dependencies section for more information.
- Note
- In Deep Sleep mode, the charge pumps are disabled so the input range of the opamps is reduced to 0 V to VDDA - 1.5 V.
- Parameters
-
- Returns
- None
- Function Usage
◆ Cy_CTB_SetOutputMode()
Set the opamp output mode to 1x drive, 10x drive, or comparator mode.
- Parameters
-
- Returns
- None
- Function Usage
◆ Cy_CTB_SetPower()
Configure the power level and charge pump for a specific opamp.
At higher power levels, the opamp consumes more current but provides more gain bandwidth. Enabling the charge pump increases current but provides rail-to-rail input range. Disabling the charge pump limits the input range to VDDA - 1.5 V. See the device datasheet for performance specifications.
- Parameters
-
- Returns
- None
- Function Usage