This configuration structure is used to initialize only one opamp of the CTB block.
This structure is used with Cy_CTB_OpampInit.
Data Fields | |
cy_en_ctb_power_t | power |
Opamp power mode: off, low, medium, or high. | |
cy_en_ctb_output_t | outputMode |
Opamp usage mode: internal (1x) drive, external (10x) drive, or as a comparator. | |
bool | pump |
Opamp charge pump: enable to increase input range for rail-to-rail operation. | |
cy_en_ctb_comp_edge_t | compEdge |
Comparator edge detection: disable, rising, falling, or both. | |
cy_en_ctb_comp_level_t | compLevel |
Comparator trigger output: pulse or level. | |
bool | compBypass |
Comparator trigger output synchronization bypass. | |
bool | compHyst |
Comparator hysteresis: enable 10 mV hysteresis. | |
bool | compIntrEn |
Comparator interrupt enable. | |
uint32_t | switchCtrl |
The mask of switches to be closed. More... | |
uint32_t cy_stc_ctb_opamp_config_t::switchCtrl |
The mask of switches to be closed.
Zero means do nothing with switches. Be careful with these switches masks - they may be not identical for both OpAmps.