HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
Loading...
Searching...
No Matches
Functions | Variables
vortex::config Namespace Reference

Functions

constexpr uint8_t BoardNtcHwChannel () noexcept
 Hardware channel id of the board NTC on the shared TMC9660 ADC wrapper, from the pin map.
 
ntc_temp_handler_config_t MakeBoardNtcConfig () noexcept
 NTC handler configuration for the board thermistor.
 

Variables

constexpr HfFunctionalAdcChannel kBoardNtcAdcChannel = HfFunctionalAdcChannel::TMC9660_AIN3
 Functional ADC channel the board NTC is wired to.
 
constexpr float kBoardNtcLowThresholdC = 0.0f
 Over-temperature window the board NTC reports against (degrees Celsius).
 
constexpr float kBoardNtcHighThresholdC = 85.0f
 

Function Documentation

◆ BoardNtcHwChannel()

constexpr uint8_t vortex::config::BoardNtcHwChannel ( )
constexprnoexcept

Hardware channel id of the board NTC on the shared TMC9660 ADC wrapper, from the pin map.

Here is the caller graph for this function:

◆ MakeBoardNtcConfig()

ntc_temp_handler_config_t vortex::config::MakeBoardNtcConfig ( )
inlinenoexcept

NTC handler configuration for the board thermistor.

Threshold monitoring is on with the board window; the handler applies it during Initialize() (an inverted window fails init).

Returns
Handler defaults with the AIN3 channel id and the board threshold window.
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kBoardNtcAdcChannel

constexpr HfFunctionalAdcChannel vortex::config::kBoardNtcAdcChannel = HfFunctionalAdcChannel::TMC9660_AIN3
inlineconstexpr

Functional ADC channel the board NTC is wired to.

◆ kBoardNtcHighThresholdC

constexpr float vortex::config::kBoardNtcHighThresholdC = 85.0f
inlineconstexpr

◆ kBoardNtcLowThresholdC

constexpr float vortex::config::kBoardNtcLowThresholdC = 0.0f
inlineconstexpr

Over-temperature window the board NTC reports against (degrees Celsius).