FSM thermostat
port_thermostat.h File Reference

Header file for the thermostat system port layer. More...

#include "port_system.h"
#include "fsm_thermostat.h"

Go to the source code of this file.

Macros

#define THERMOSTAT_MEASUREMENT_TIMER   TIM2
 

Functions

void port_thermostat_timer_setup (fsm_thermostat_t *p_thermostat)
 Initializes the timer of the thermostat. More...
 

Detailed Description

Header file for the thermostat system port layer.

Source file for the thermostat system port layer.

Author
Josué Pagán (j.pag.nosp@m.an@u.nosp@m.pm.es)
Version
0.1
Date
2024-05-01

Definition in file port_thermostat.h.

Macro Definition Documentation

◆ THERMOSTAT_MEASUREMENT_TIMER

#define THERMOSTAT_MEASUREMENT_TIMER   TIM2

Timer to measure the temperature

Definition at line 22 of file port_thermostat.h.

Function Documentation

◆ port_thermostat_timer_setup()

void port_thermostat_timer_setup ( fsm_thermostat_t p_thermostat)

Initializes the timer of the thermostat.

Parameters
p_thermostatPointer to the thermostat structure.

Definition at line 19 of file port_thermostat.c.