Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Output.h
Go to the documentation of this file.
1#ifndef RENSSELAERMOTORSPORT_OUTPUT_H
2#define RENSSELAERMOTORSPORT_OUTPUT_H
3
4#include <stdio.h>
5#include <stdlib.h>
6
7#include "../Utils/Updateable.h"
8
9typedef enum {
13
14typedef struct {
17} Output;
18
27void initOutput(Output* output, const char* name, int hz, OutputType type);
28
29#endif // RENSSELAERMOTORSPORT_OUTPUT_H
OutputType
Definition: Output.h:9
@ o_ANALOG
Definition: Output.h:10
@ o_DIGITAL
Definition: Output.h:11
void initOutput(Output *output, const char *name, int hz, OutputType type)
Initializes an output with the given parameters.
Definition: Output.c:4
Definition: Output.h:14
OutputType type
Definition: Output.h:16
Updateable updateable
Definition: Output.h:15