1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef SERIAL_LINK_FRAME_ROUTER_H
- #define SERIAL_LINK_FRAME_ROUTER_H
- #include <stdint.h>
- #include <stdbool.h>
- #define UP_LINK 0
- #define DOWN_LINK 1
- void router_set_master(bool master);
- void route_incoming_frame(uint8_t link, uint8_t* data, uint16_t size);
- void router_send_frame(uint8_t destination, uint8_t* data, uint16_t size);
- #endif
|