C89 Project Template
Loading...
Searching...
No Matches
template.h
Go to the documentation of this file.
1
29
30#ifndef TEMPLATE_HEADER_GUARD
31#define TEMPLATE_HEADER_GUARD
32
33#include <assert.h>
34#include <stdbool.h>
35#include <stdint.h>
36#include <string.h>
37
40 uint8_t test;
41};
42
45{
46 assert(self);
47
48 self->test = 0u;
49}
50
53 uint8_t val)
54{
55 assert(self);
56
57 self->test = val;
58}
59
62 /*uint32_t delta_time_ms*/)
63{
64 assert(self);
65
66 return self->test;
67}
68
69#endif /* TEMPLATE_HEADER_GUARD */
Definition template.h:39
uint8_t test
Definition template.h:40
static void template_instance_set_test(struct template_instance *self, uint8_t val)
Definition template.h:52
static uint8_t template_instance_update(struct template_instance *self)
Definition template.h:61
static void template_instance_init(struct template_instance *self)
Definition template.h:44