| RTOS_MSPM0 1.1 ECE445M starter code

TFLuna3.h
Go to the documentation of this file.
1
34 #ifndef __TFLuna3_H__
35 #define __TFLuna3_H__
36
37
46 void TFLuna3_Init(void (*function)(uint32_t));
47
48
49
56 void TFLuna3_Format_Standard_mm(void);
57
64 void TFLuna3_Format_Standard_cm(void);
65
73 void TFLuna3_Format_Pixhawk(void);
74
83 void TFLuna3_Frame_Rate(void);
84
91 void TFLuna3_SaveSettings(void);
92
99 void TFLuna3_System_Reset(void);
100
101
109 void TFLuna3_Output_Enable(void);
110
118 void TFLuna3_Output_Disable(void);
119
120
121 // the following functions only needed for low-level debugging
122
137 void TFLuna3_SendMessage(const uint8_t msg[]);
138
146 uint8_t TFLuna3_InChar(void);
147
153 uint32_t TFLuna3_InStatus(void);
154
160 uint32_t TFLuna3_OutStatus(void);
161
170 void TFLuna3_OutString(uint8_t *pt);
171
172
181 void TFLuna3_OutChar(uint8_t data);
182 #endif // __TFLuna3_H__
183
TFLuna3_OutChar
void TFLuna3_OutChar(uint8_t data)
output character to TFLuna3
TFLuna3_OutStatus
uint32_t TFLuna3_OutStatus(void)
TFLuna3_Output_Disable
void TFLuna3_Output_Disable(void)
disable
TFLuna3_Frame_Rate
void TFLuna3_Frame_Rate(void)
sampling rate
TFLuna3_Init
void TFLuna3_Init(void(*function)(uint32_t))
Initialize TFLuna3.
TFLuna3_InChar
uint8_t TFLuna3_InChar(void)
TFLuna3_Format_Pixhawk
void TFLuna3_Format_Pixhawk(void)
Pixhawk.
TFLuna3_System_Reset
void TFLuna3_System_Reset(void)
start measurements
TFLuna3_SaveSettings
void TFLuna3_SaveSettings(void)
save format and rate
TFLuna3_OutString
void TFLuna3_OutString(uint8_t *pt)
output string to TFLuna3
TFLuna3_SendMessage
void TFLuna3_SendMessage(const uint8_t msg[])
output message to TFLuna3
TFLuna3_Output_Enable
void TFLuna3_Output_Enable(void)
enable
TFLuna3_Format_Standard_cm
void TFLuna3_Format_Standard_cm(void)
cm units
TFLuna3_Format_Standard_mm
void TFLuna3_Format_Standard_mm(void)
mm units
TFLuna3_InStatus
uint32_t TFLuna3_InStatus(void)