The divider for the chopping clock frequency.
Used for Modulator, programmable gain amplifier (PGA), and High-Precision BandGap Reference (HPBGR) chopping.
Ground Reference options for Cy_DSADC_SetGroundReference.
Chopping Phase between the HPBGR "BGR Core" and the "output buffer".
The HPBGR contains a "Band Gap Reference Core" (BGR Core) and an "output buffer", which are circuit chopped to reduce offset error.
The offset is reduced most when the BGR Core uses the opposite clock edge to chop when compared to the output buffer, which is referred to here as the 'reverse' chopping phase.
Optionally, the BGR Core and the output buffer can use the same clock edge for circuit chopping, referred to here as the 'normal' chopping phase.
Configure the Digital Channel [DCHAN] PGA Gain.
Load current configuration for the on-die temperature sensor.
The threshold for the overcurrent detection (OCD).
Each value corresponds to a specific voltage threshold in millivolts.
The divider for OCD clock frequency.
Uses the DSM clock (clk_dsm) to create OCD clock using the following formula: Focd = Fclk_dsm / (2*(CLOCK_DIV+1))
The OCD output mode.
Only applicable for OCD0. In any mode other than the default it is used to condense both the OCD0 output and the OCD1 output onto OCD0 pin.
| Enumerator | |
|---|---|
| CY_DSADC_OCD_OUTPUT_MODE_DEFAULT | OCD0 output pin = OCD0. |
| CY_DSADC_OCD_OUTPUT_MODE_AND | OCD0 output pin = OCD0 && OCD1. |
| CY_DSADC_OCD_OUTPUT_MODE_OR | OCD0 output pin = OCD0 || OCD1. |
Self Test mode.
Controls bypassing the input to the detector from the comparator per pos/neg. Also, enables/disables output to GPIO, interrupt and trigger infra depending on selected mode.