Handlers¶
Every handler in hf-core: the chip it wraps, the interfaces it takes, the switch that compiles it and its host test.
Each handler follows the handler model: construct it with Base* references, let it
initialise on first use, call it from any task. The family pages list each handler's constructors and public
methods, read from its header; the API reference has every signature.
| Handler | Family | Driver | Takes | Switch | Host test |
|---|---|---|---|---|---|
DynamixelHandler |
Motor and motion control | hf-dynamixel-driver | BaseUart |
HF_CORE_ENABLE_DYNAMIXEL |
|
Tmc5160Handler |
Motor and motion control | hf-tmc5160-driver | BaseGpio, BaseSpi, BaseUart |
HF_CORE_ENABLE_TMC5160 |
|
Tmc9660Handler |
Motor and motion control | hf-tmc9660-driver | BaseGpio, BaseSpi, BaseUart |
HF_CORE_ENABLE_TMC9660 |
test_tmc9660.cpp |
As5047uHandler |
Position and inertial sensing | hf-as5047u-driver | BaseSpi |
HF_CORE_ENABLE_AS5047U |
test_as5047u.cpp |
Bno08xHandler |
Position and inertial sensing | hf-bno08x-driver | BaseGpio, BaseI2c, BaseSpi |
HF_CORE_ENABLE_BNO08X |
test_bno08x.cpp |
Max22200Handler |
Solenoid and load drivers | hf-max22200-driver | BaseGpio, BaseSpi |
HF_CORE_ENABLE_MAX22200 |
|
Tle92466edHandler |
Solenoid and load drivers | hf-tle92466ed-driver | BaseGpio, BaseSpi |
HF_CORE_ENABLE_TLE92466ED |
|
Isf15acp4Handler |
I/O, PWM, LEDs and displays | hf-isf15acp4-driver | BaseGpio, BaseSpi |
HF_CORE_ENABLE_ISF15ACP4 |
|
Pca9685Handler |
I/O, PWM, LEDs and displays | hf-pca9685-driver | BaseI2c |
HF_CORE_ENABLE_PCA9685 |
test_pca9685.cpp |
Pcal95555Handler |
I/O, PWM, LEDs and displays | hf-pcal95555-driver | BaseGpio, BaseI2c |
HF_CORE_ENABLE_PCAL95555 |
test_pcal95555.cpp |
Ws2812Handler |
I/O, PWM, LEDs and displays | hf-ws2812-rmt-driver | HF_CORE_ENABLE_WS2812 |
||
Ads7952Handler |
Analog and temperature | hf-ads7952-driver | BaseSpi |
HF_CORE_ENABLE_ADS7952 |
|
Ads9324Handler |
Analog and temperature | hf-ads9324-driver | BaseGpio, BaseSpi |
HF_CORE_ENABLE_ADS9324 |
|
Mcp9700TemperatureHandler |
Analog and temperature | hf-mcp9700-driver | BaseAdc |
HF_CORE_ENABLE_MCP9700 |
|
NtcTemperatureHandler |
Analog and temperature | hf-ntc-thermistor-driver | BaseAdc |
HF_CORE_ENABLE_NTC_THERMISTOR |
test_ntc.cpp |
AlicatBasis2Handler |
Pressure, flow and gas | hf-alicat-basis2-driver | BaseUart |
HF_CORE_ENABLE_ALICAT_BASIS2 |
|
Bmp581Handler |
Pressure, flow and gas | hf-bmp581-driver | BaseI2c |
HF_CORE_ENABLE_BMP581 |
|
Fdo2Handler |
Pressure, flow and gas | hf-fdo2-driver | BaseUart |
HF_CORE_ENABLE_FDO2 |
test_fdo2.cpp |
SfmHandler |
Pressure, flow and gas | hf-sfm-flow-meter-driver | BaseI2c |
HF_CORE_ENABLE_SFM |
|
At25040Handler |
Power, memory and security | hf-at25040-driver | BaseGpio, BaseSpi |
HF_CORE_ENABLE_AT25040 |
|
Pf1550Handler |
Power, memory and security | hf-pf1550-driver | BaseGpio, BaseI2c |
HF_CORE_ENABLE_PF1550 |
|
Se050Handler |
Power, memory and security | hf-se050-driver | BaseGpio, BaseI2c |
HF_CORE_ENABLE_SE050 |
|
Logger |
Logger | (in hf-core) | BaseLogger |
HF_CORE_ENABLE_LOGGER |
Read from the headers in handlers/ and cmake/hf_core_build_settings.cmake.
A handler without a host test is still compiled by the host build (except WS2812 and Dynamixel, see Feature switches) and has an ESP32 test application in Examples.