Vehicle Control Unit
0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Core
Src
Outputs
Output.c
Go to the documentation of this file.
1
#include "../../Inc/Outputs/Output.h"
2
#include "../../Inc/Utils/Updateable.h"
3
4
void
initOutput
(
Output
* output,
const
char
* name,
int
hz,
OutputType
type) {
5
initUpdateable
(&output->
updateable
, name, hz,
OUTPUT
, output);
6
output->
type
= type;
7
}
initOutput
void initOutput(Output *output, const char *name, int hz, OutputType type)
Initializes an output with the given parameters.
Definition:
Output.c:4
OutputType
OutputType
Definition:
Output.h:9
initUpdateable
void initUpdateable(Updateable *updateable, const char *name, int hz, UpdateableType utype, void *child)
Definition:
Updateable.c:6
OUTPUT
@ OUTPUT
Definition:
Updateable.h:18
Output
Definition:
Output.h:14
Output::type
OutputType type
Definition:
Output.h:16
Output::updateable
Updateable updateable
Definition:
Output.h:15
Generated by
1.9.5