Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 26 lines (19 sloc) 0.563 kb
2374a20 added in message sending support; stdout is being sent via messages
Tyler Riddle authored
1 /*
2 * message.h
3 *
4 * Created on: Jul 13, 2012
5 * Author: Tyler
6 */
7
8 #ifndef MESSAGE_H_
9 #define MESSAGE_H_
10
11 #include <stdbool.h>
12
13 #include "atomq.h"
14
16a180a command processing moved out of ISR; sessions can begin and end; star…
Tyler Riddle authored
15 #define MESSAGE_SYSTEM_CHANNEL 31
16 #define MESSAGE_SYSTEM_CLOCK_OVERFLOW 0
17 #define MESSAGE_SYSTEM_COMMAND_RESPONSE 1
18 #define MESSAGE_SYSTEM_BEACON 2
19
2374a20 added in message sending support; stdout is being sent via messages
Tyler Riddle authored
20 void message_init(void);
21 void message_data_received(volatile struct atomq *);
22 bool message_send(uint8_t port, bool shouldBlock, void *src, uint8_t len);
23 void message_set_buffer(volatile struct atomq *queue);
24
25 #endif /* MESSAGE_H_ */
Something went wrong with that request. Please try again.