aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
blob: c55d8dd5086a6a3b9e474036ea402fea2bdf4b24 (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 gyroGetZAccum ();
volatile const int16_t gyroGetZRaw ();
const int8_t gyroGetZTicks ();

#endif /* GYROSCOPE_H */