FSM thermostat
port_temp_hw_t Struct Reference

Structure to define the HW dependencies of a temperature sensor. More...

#include <port_temp_sensor.h>

Data Fields

GPIO_TypeDef * p_port
 
uint8_t pin
 
ADC_TypeDef * p_adc
 
uint32_t adc_channel
 
double temperature_celsius
 

Detailed Description

Structure to define the HW dependencies of a temperature sensor.

Definition at line 31 of file port_temp_sensor.h.

Field Documentation

◆ adc_channel

uint32_t port_temp_hw_t::adc_channel

ADC channel where the temperature is connected

Definition at line 36 of file port_temp_sensor.h.

◆ p_adc

ADC_TypeDef* port_temp_hw_t::p_adc

ADC where the temperature is connected

Definition at line 35 of file port_temp_sensor.h.

◆ p_port

GPIO_TypeDef* port_temp_hw_t::p_port

GPIO where the temperature is connected

Definition at line 33 of file port_temp_sensor.h.

◆ pin

uint8_t port_temp_hw_t::pin

Pin/line where the temperature is connected

Definition at line 34 of file port_temp_sensor.h.

◆ temperature_celsius

double port_temp_hw_t::temperature_celsius

Temperature in Celsius

Definition at line 37 of file port_temp_sensor.h.


The documentation for this struct was generated from the following file: