MTB CAT1 Peripheral driver library
cy_stc_ctb_opamp_config_t Struct Reference

Description

This configuration structure is used to initialize only one opamp of the CTB without impacting analog routing.

This structure is used with Cy_CTB_OpampInit.

Data Fields

cy_en_ctb_deep_sleep_t deepSleep
 Enable or disable the CTB during Deep Sleep.
 
cy_en_ctb_power_t oaPower
 Opamp power mode: off, low, medium, or high.
 
cy_en_ctb_mode_t oaMode
 Opamp usage mode: 1x drive, 10x drive, or as a comparator.
 
cy_en_ctb_pump_t oaPump
 Opamp charge pump: enable to increase input range for rail-to-rail operation.
 
cy_en_ctb_comp_edge_t oaCompEdge
 Opamp comparator edge detection: disable, rising, falling, or both.
 
cy_en_ctb_comp_level_t oaCompLevel
 Opamp comparator DSI (trigger) output: pulse or level.
 
cy_en_ctb_comp_bypass_t oaCompBypass
 Opamp comparator DSI (trigger) output synchronization.
 
cy_en_ctb_comp_hyst_t oaCompHyst
 Opamp comparator hysteresis: enable for 10 mV hysteresis.
 
bool oaCompIntrEn
 Opamp comparator interrupt enable.