roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
spi_message.h
Go to the documentation of this file.
1 
8 #ifndef MSP430_H_
9 #define MSP430_H_
10 
11 /******** Functions ********/
12 
13 
23 void msp430Init(void);
24 
25 
31 void msp430InterruptEnable(void);
32 
33 
39 void msp430InterruptDisable(void);
40 
41 
49 void msp430SystemCommandBuildMessage(uint8* msg);
50 
51 
57 void msp430SetModeBuildMessage(uint8* data);
58 
59 
66 
67 
74 
75 
84 
85 
92 
93 
99 boolean msp430GetCommsValid(void);
100 
101 
107 void msp430SetCommsValid(boolean newCommsValid);
108 
109 #ifdef SPI_MODES_ALLOWED
110 
117 void msp430SystemSetModeCommand(void);
118 #endif
119 
120 #endif /* MSP430_H_ */