CAT2 Peripheral Driver Library
cy_stc_dsadc_temperature_config_t Struct Reference

Description

Configure the on-die temperature sensor.

Data Fields

uint16_t current
 The bitmask value of IREF current unit for the on-die temperature sensor. More...
 
uint16_t bipolar
 The bitmask value of bipolar units for on-die temperature sensor. More...
 
cy_en_dsadc_temperature_current_source_t currentSource
 The on-die temperature sensor current source. More...
 
cy_en_dsadc_temperature_load_mode_t loadMode
 The on-die temperature sensor load mode. More...
 

Field Documentation

◆ current

uint16_t cy_stc_dsadc_temperature_config_t::current

The bitmask value of IREF current unit for the on-die temperature sensor.

Each bit corresponds to an IREF switch. If a bit is 1, corresponding switch of IREF current unit is closed. The value of 0x0000 means all switches are opened. Total IREF current in on-die temperature sensor is 9.6 uA * (number of bits set).

◆ bipolar

uint16_t cy_stc_dsadc_temperature_config_t::bipolar

The bitmask value of bipolar units for on-die temperature sensor.

Each bit corresponds to a bipolar switch. If a bit is 1, corresponding switch of bipolar unit is closed. The value of 0x0000 means all switches are opened. Total number of bipolar connections in on-die temperature sensor is the number of bits set. This value is only applicable when loadMode is not CY_DSADC_TEMPERATURE_LOAD_MODE_RESISTOR.

◆ currentSource

cy_en_dsadc_temperature_current_source_t cy_stc_dsadc_temperature_config_t::currentSource

The on-die temperature sensor current source.

◆ loadMode

cy_en_dsadc_temperature_load_mode_t cy_stc_dsadc_temperature_config_t::loadMode

The on-die temperature sensor load mode.