aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
blob: a3f62f766a875ade26e088000252a315ec61bfbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GYROSCOPE_H
#define GYROSCOPE_H

#include <stdbool.h>
#include <stdint.h>

void gyroInit ();
void gyroStart ();
bool gyroProcess ();
void gyroResetAccum ();
const int32_t *gyroGetAccum ();
volatile const int16_t *gyroGetRaw ();
const int8_t gyroGetZTicks ();

#endif /* GYROSCOPE_H */