13#ifndef VORTEX_NTC_CONFIG_H_
14#define VORTEX_NTC_CONFIG_H_
19#include "core/hf-core-drivers/internal/hf-pincfg/src/hf_functional_pin_config_vortex_v1.hpp"
20#include "handlers/ntc/NtcTemperatureHandler.h"
33 static_cast<uint8_t
>(HfAdcChipType::TMC9660_CONTROLLER),
34 "Board NTC must be on a TMC9660 ADC input");
48 ntc_temp_handler_config_t cfg = NTC_TEMP_HANDLER_CONFIG_DEFAULT();
50 cfg.enable_threshold_monitoring =
true;
Definition VortexNtcConfig.h:22
constexpr HfFunctionalAdcChannel kBoardNtcAdcChannel
Functional ADC channel the board NTC is wired to.
Definition VortexNtcConfig.h:25
ntc_temp_handler_config_t MakeBoardNtcConfig() noexcept
NTC handler configuration for the board thermistor.
Definition VortexNtcConfig.h:47
constexpr float kBoardNtcLowThresholdC
Over-temperature window the board NTC reports against (degrees Celsius).
Definition VortexNtcConfig.h:38
constexpr uint8_t BoardNtcHwChannel() noexcept
Hardware channel id of the board NTC on the shared TMC9660 ADC wrapper, from the pin map.
Definition VortexNtcConfig.h:28
constexpr float kBoardNtcHighThresholdC
Definition VortexNtcConfig.h:39