Module ventilation

Source
Expand description

Contains functionality to control the ventilation

Structsยง

Ventilation
Holds the configuration and the implementation for the ventilation control. Thread communication of this component is as follows:

Constantsยง

CYCLE_TIME_VENTILATION_MILLIS ๐Ÿ”’
MAX_MUTEX_ACCESS_DURATION_MILLIS ๐Ÿ”’
allow max. 10 milliseconds for mutex to be blocked by any other thread
TIME_INCREMENT_VENTILATION_SECS ๐Ÿ”’

Functionsยง

actuate_ventilation ๐Ÿ”’
Sends a command to the relay manager to actuate the ventilation and waits for a response.
switch_off_ventilation ๐Ÿ”’
The function commands the relay manager to switch off the ventilation device.
switch_on_ventilation ๐Ÿ”’
The function commands the relay manager to switch on the ventilation device.