| RTOS_MSPM0 1.1 ECE445M starter code

TFLuna2.h
Go to the documentation of this file.
1
34 #ifndef __TFLuna2_H__
35 #define __TFLuna2_H__
36
45 void TFLuna2_Init(void (*function)(uint32_t));
46
47
48
55 void TFLuna2_Format_Standard_mm(void);
56
63 void TFLuna2_Format_Standard_cm(void);
64
72 void TFLuna2_Format_Pixhawk(void);
73
82 void TFLuna2_Frame_Rate(void);
83
90 void TFLuna2_SaveSettings(void);
91
98 void TFLuna2_System_Reset(void);
99
100
108 void TFLuna2_Output_Enable(void);
109
117 void TFLuna2_Output_Disable(void);
118
119
120 // the following functions only needed for low-level debugging
121
136 void TFLuna2_SendMessage(const uint8_t msg[]);
137
145 uint8_t TFLuna2_InChar(void);
146
152 uint32_t TFLuna2_InStatus(void);
153
159 uint32_t TFLuna2_OutStatus(void);
160
169 void TFLuna2_OutString(uint8_t *pt);
170
171
180 void TFLuna2_OutChar(uint8_t data);
181 #endif // __TFLuna2_H__
182
TFLuna2_Output_Enable
void TFLuna2_Output_Enable(void)
enable
TFLuna2_OutString
void TFLuna2_OutString(uint8_t *pt)
output string to TFLuna2
TFLuna2_SendMessage
void TFLuna2_SendMessage(const uint8_t msg[])
output message to TFLuna2
TFLuna2_Format_Pixhawk
void TFLuna2_Format_Pixhawk(void)
Pixhawk.
TFLuna2_OutChar
void TFLuna2_OutChar(uint8_t data)
output character to TFLuna2
TFLuna2_System_Reset
void TFLuna2_System_Reset(void)
start measurements
TFLuna2_Init
void TFLuna2_Init(void(*function)(uint32_t))
Initialize TFLuna2.
TFLuna2_Output_Disable
void TFLuna2_Output_Disable(void)
disable
TFLuna2_OutStatus
uint32_t TFLuna2_OutStatus(void)
TFLuna2_SaveSettings
void TFLuna2_SaveSettings(void)
save format and rate
TFLuna2_InChar
uint8_t TFLuna2_InChar(void)
TFLuna2_Frame_Rate
void TFLuna2_Frame_Rate(void)
sampling rate
TFLuna2_InStatus
uint32_t TFLuna2_InStatus(void)
TFLuna2_Format_Standard_cm
void TFLuna2_Format_Standard_cm(void)
cm units
TFLuna2_Format_Standard_mm
void TFLuna2_Format_Standard_mm(void)
mm units