aboutsummaryrefslogtreecommitdiff
path: root/arduino/ace_old/physical.h
blob: 74272ff363669509d34704f3caef8da2ebbfac4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PHYSICAL_H
#define PHYSICAL_H

#ifdef __cplusplus
extern "C" {
#endif

#include <inttypes.h>
#define SERIAL_BUFFER_SIZE 64

void init_physical_layer(uint32_t baud);
void to_physical_layer(uint8_t s); //implemented in physical
void from_physical_layer(uint8_t r); //should be implemented in link

#ifdef __cplusplus
} // extern "C"
#endif

#endif /* PHYSICAL_H */