Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Data Structures | |
union | VN100_Param |
struct | VN100_Req_Packet |
struct | VN100_Res_Packet |
struct VN100_Req_Packet |
Data Fields | ||
---|---|---|
uint8_t | CmdID | |
VN100_Param | Data[VN100_SPI_BUFFER_SIZE] | |
uint8_t | RegID | |
uint8_t | ZeroByte1 | |
uint8_t | ZeroByte2 |
struct VN100_Res_Packet |
Data Fields | ||
---|---|---|
uint8_t | CmdID | |
VN100_Param | Data[VN100_SPI_BUFFER_SIZE] | |
uint8_t | ErrID | |
uint8_t | RegID | |
uint8_t | ZeroByte |
#define VN100_BytesOfWord | ( | _w | ) | { (uint8_t)(_w & 0xFF), (uint8_t)((_w & (0xFF<<8))>>8), (uint8_t)((_w & (0xFF<<16))>>16), (uint8_t)((_w & (0xFF<<24))>>24) } |
#define VN100_CmdID_ReadRegister 0x01 |
Definition at line 96 of file VN100.h.
Referenced by vn100_periodic_task().
#define VN100_CmdID_WriteRegister 0x02 |
Definition at line 97 of file VN100.h.
Referenced by ins_configure().
#define VN100_Error_None 0 |
Definition at line 104 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_Packet_SetaDOF | ( | _f | ) | { VN100_CmdID_WriteRegister, VN100_REG_ADOF, 0, 0, { _f } } |
#define VN100_Packet_SetADOR | ( | _r | ) | { VN100_CmdID_WriteRegister, VN100_REG_ADOR, 0, 0, { _r } } |
#define VN100_Packet_SetBaud | ( | _b | ) | { VN100_CmdID_WriteRegister, VN100_REG_SBAUD, 0, 0, { _b } } |
#define VN100_REG_ADOF 7 |
Definition at line 40 of file VN100.h.
Referenced by ins_configure(), and parse_ins_msg().
#define VN100_REG_ADOF_SIZE 4 |
Definition at line 70 of file VN100.h.
Referenced by ins_configure().
#define VN100_REG_ADOR 6 |
Definition at line 39 of file VN100.h.
Referenced by ins_configure(), and parse_ins_msg().
#define VN100_REG_ADOR_SIZE 4 |
Definition at line 69 of file VN100.h.
Referenced by ins_configure().
#define VN100_REG_MODEL 1 |
#define VN100_REG_QAR 14 |
Definition at line 47 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QMA 13 |
Definition at line 46 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QMR 15 |
Definition at line 48 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QTA 11 |
Definition at line 44 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QTM 10 |
Definition at line 43 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QTN 9 |
Definition at line 42 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_QTR 12 |
Definition at line 45 of file VN100.h.
Referenced by parse_ins_msg().
#define VN100_REG_SBAUD 5 |
Definition at line 38 of file VN100.h.
Referenced by ins_configure(), and parse_ins_msg().
#define VN100_REG_SBAUD_SIZE 4 |
Definition at line 68 of file VN100.h.
Referenced by ins_configure().
#define VN100_REG_YMR 27 |
Definition at line 60 of file VN100.h.
Referenced by parse_ins_msg(), and vn100_periodic_task().
#define VN100_REG_YMR_SIZE (12*4) |
Definition at line 90 of file VN100.h.
Referenced by vn100_periodic_task().
#define VN100_REG_YPR 8 |
Definition at line 41 of file VN100.h.
Referenced by parse_ins_msg().