summaryrefslogtreecommitdiff
path: root/ibus.h
blob: 0c9ac12ef63b714891d14da3b1c4ede152ff6052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef IBUS_H
#define IBUS_H

#include <stdint.h>

#define IBusSize 34
#define channelC 15
#define IBusSize 0x20
#define startByteBeta 0x40

typedef uint8_t IBusFrame[IBusSize];
typedef uint16_t channelValues[15];
int encodeIBus(IBusFrame frame, channelValues vals);
#endif