Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
MonitorSystem.c
Go to the documentation of this file.
1#include "../../Inc/Systems/MonitorSystem.h"
2
3void initMonitorSystem(MonitorSystem* monitor, const char* name, int hz,
5 initSystem(&monitor->system, name, hz, MONITOR);
6 monitor->type = type;
7 monitor->fault = fault;
8}
void initMonitorSystem(MonitorSystem *monitor, const char *name, int hz, MonitorType type, FaultType fault)
Initializes the Monitor System with initial settings.
Definition: MonitorSystem.c:3
MonitorType
Definition: MonitorSystem.h:10
FaultType
Definition: MonitorSystem.h:17
void initSystem(System *system, const char *name, int hz, SystemType type)
Initializes a System object.
Definition: System.c:3
@ MONITOR
Definition: System.h:13
type
Definition: Updateable.h:17
MonitorType type
Definition: MonitorSystem.h:26
FaultType fault
Definition: MonitorSystem.h:27