CAT2 Peripheral Driver Library
cy_stc_dsadc_ocd_config_t Struct Reference

Description

Configure the Over Current Detection (OCD)

Data Fields

int16_t negativeLimit
 The negative limit. More...
 
int16_t positiveLimit
 The positive limit. More...
 
cy_en_dsadc_ocd_threshold_t ocdThreshold
 The OCD threshold. More...
 
cy_en_dsadc_ocd_clock_divider_t clockDivision
 The clock division. More...
 
cy_en_dsadc_clock_edge_t clockEdge
 The clock edge. More...
 
cy_en_dsadc_glitch_filter_mode_t glitchFilterMode
 The glitch filter mode. More...
 
cy_en_dsadc_io_polarity_t ioPolarity
 The IO polarity. More...
 
bool enableNegativeComparator
 Enable or disable the negative comparator.
 
bool enablePositiveComparator
 Enable or disable the positive comparator.
 

Field Documentation

◆ negativeLimit

int16_t cy_stc_dsadc_ocd_config_t::negativeLimit

The negative limit.

◆ positiveLimit

int16_t cy_stc_dsadc_ocd_config_t::positiveLimit

The positive limit.

◆ ocdThreshold

cy_en_dsadc_ocd_threshold_t cy_stc_dsadc_ocd_config_t::ocdThreshold

The OCD threshold.

See cy_en_dsadc_ocd_threshold_t

◆ clockDivision

cy_en_dsadc_ocd_clock_divider_t cy_stc_dsadc_ocd_config_t::clockDivision

The clock division.

See cy_en_dsadc_ocd_clock_divider_t.

◆ clockEdge

cy_en_dsadc_clock_edge_t cy_stc_dsadc_ocd_config_t::clockEdge

The clock edge.

See cy_en_dsadc_clock_edge_t.

◆ glitchFilterMode

cy_en_dsadc_glitch_filter_mode_t cy_stc_dsadc_ocd_config_t::glitchFilterMode

The glitch filter mode.

See cy_en_dsadc_glitch_filter_mode_t.

◆ ioPolarity

cy_en_dsadc_io_polarity_t cy_stc_dsadc_ocd_config_t::ioPolarity

The IO polarity.

See cy_en_dsadc_io_polarity_t.