Configuration structure to set up the entire CTB to be used with Cy_CTB_Init.
Data Fields | |
| cy_en_ctb_deep_sleep_t | deepSleep |
| Enable or disable the CTB during Deep Sleep. | |
| cy_en_ctb_power_t | oa0Power |
| Opamp0 power mode: off, low, medium, or high. | |
| cy_en_ctb_mode_t | oa0Mode |
| Opamp0 usage mode: 1x drive, 10x drive, or as a comparator. | |
| cy_en_ctb_pump_t | oa0Pump |
| Opamp0 charge pump: enable to increase input range for rail-to-rail operation. | |
| cy_en_ctb_comp_edge_t | oa0CompEdge |
| Opamp0 comparator edge detection: disable, rising, falling, or both. | |
| cy_en_ctb_comp_level_t | oa0CompLevel |
| Opamp0 comparator DSI (trigger) output: pulse or level. | |
| cy_en_ctb_comp_bypass_t | oa0CompBypass |
| Opamp0 comparator DSI (trigger) output synchronization. | |
| cy_en_ctb_comp_hyst_t | oa0CompHyst |
| Opamp0 comparator hysteresis: enable for 10 mV hysteresis. | |
| bool | oa0CompIntrEn |
| Opamp0 comparator interrupt enable. | |
| cy_en_ctb_power_t | oa1Power |
| Opamp1 power mode: off, low, medium, or high. | |
| cy_en_ctb_mode_t | oa1Mode |
| Opamp1 usage mode: 1x drive, 10x drive, or as a comparator. | |
| cy_en_ctb_pump_t | oa1Pump |
| Opamp1 charge pump: enable to increase input range for rail-to-rail operation. | |
| cy_en_ctb_comp_edge_t | oa1CompEdge |
| Opamp1 comparator edge detection: disable, rising, falling, or both. | |
| cy_en_ctb_comp_level_t | oa1CompLevel |
| Opamp1 comparator DSI (trigger) output: pulse or level. | |
| cy_en_ctb_comp_bypass_t | oa1CompBypass |
| Opamp1 comparator DSI (trigger) output synchronization. | |
| cy_en_ctb_comp_hyst_t | oa1CompHyst |
| Opamp1 comparator hysteresis: enable for 10 mV hysteresis. | |
| bool | oa1CompIntrEn |
| Opamp1 comparator interrupt enable. | |
| bool | configRouting |
| Configure or ignore routing related registers. | |
| uint32_t | oa0SwitchCtrl |
| Opamp0 routing control. | |
| uint32_t | oa1SwitchCtrl |
| Opamp1 routing control. | |
| uint32_t | ctdSwitchCtrl |
| Routing control between the CTDAC and CTB blocks. | |