7 #ifndef APP_HW_DRV_HPP__
8 #define APP_HW_DRV_HPP__
10 #include "freertos/FreeRTOS.h"
11 #include "freertos/timers.h"
12 #include "driver/ledc.h"
13 #include "driver/gpio.h"
42 void set_current_limit(
float value);
43 void set_relay_ref_active(
bool state);
44 void set_relay_dut_active(
bool state);
45 void set_fan_active(
bool state);
46 void set_fan_override(
bool new_state);
47 void set_drv_supply_active(
bool state);
48 void set_drv_disabled(
bool state);
49 static void reset_oc_shutdown_start();
50 static void reset_oc_shutdown_finish();
Auxiliary hardware driver for ESP-AJAX-Lab This implements GPIO control for relays,...
Definition: aux_hw_drv.hpp:32
void evaluate_temperature_sensors()
Check if temperature exceeds threshold value and switch fan accordingly.
Definition: aux_hw_drv.cpp:131
void update_temperature_sensors()
Only updates the state structure for temperature sensors. Other state variables are only modified by ...
Definition: aux_hw_drv.cpp:119
KTY81-121 type silicon temperature sensor readout using the ESP32 ADC in its high-linearity region.
Definition: sensor_kty81_1xx.hpp:160
Hardware configuration for AuxHwDrv.
Definition: app_config.hpp:191
Definition: app_state_model.hpp:23