Constants for the temperature sensor.
More...
Constants for the temperature sensor.
There is a voltage divider with an NTC on the board. It is used as temperature sensor. It has an active low enable input and lower voltages for higher temperatures. Please consult the schematic for details.
VCC_P3V3
+
|
.-.
| | 1M
| |
'-'
|
o---- NTC_TEMP
|
.-.
| |<-- NCP18WF104J03RB
| |
'-'
|
'---- NTC_EN
◆ TEMPERATURE_SENSOR_ADC_INPUT
#define TEMPERATURE_SENSOR_ADC_INPUT ADC_CH_MUXPOS_PIN0_gc |
◆ TEMPERATURE_SENSOR_ENABLE_PIN_bm
#define TEMPERATURE_SENSOR_ENABLE_PIN_bm PIN3_bm |
◆ TEMPERATURE_SENSOR_ENABLE_PIN_bp
#define TEMPERATURE_SENSOR_ENABLE_PIN_bp PIN3_bp |
◆ TEMPERATURE_SENSOR_SIGNAL_PIN_bm
#define TEMPERATURE_SENSOR_SIGNAL_PIN_bm PIN0_bm |
◆ TEMPERATURE_SENSOR_SIGNAL_PIN_bp
#define TEMPERATURE_SENSOR_SIGNAL_PIN_bp PIN0_bp |