All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_spiRxPacket::_spiRxPak Struct Reference

#include <vexspi.h>

Data Fields

unsigned char h1
 Header byte one. More...
 
unsigned char h2
 Header byte two. More...
 
unsigned char status
 status More...
 
unsigned char ctl
 status and control byte More...
 
unsigned char batt1
 main battery level, 59mV per bit More...
 
unsigned char batt2
 backup battery level, 59mV per bit More...
 
jsdata js_1
 data for main joystick More...
 
unsigned char pad
 1 byte padding More...
 
jsdata js_2
 data for partner joystick More...
 
unsigned char rev_lsb
 revision of master code lsb More...
 
unsigned char rev_msb
 revision of master code msb More...
 
unsigned char id
 message id More...
 

Field Documentation

unsigned char h1

Header byte one.

unsigned char h2

Header byte two.

unsigned char status

status

unsigned char ctl

status and control byte

unsigned char batt1

main battery level, 59mV per bit

unsigned char batt2

backup battery level, 59mV per bit

jsdata js_1

data for main joystick

unsigned char pad

1 byte padding

jsdata js_2

data for partner joystick

unsigned char rev_lsb

revision of master code lsb

unsigned char rev_msb

revision of master code msb

unsigned char id

message id


The documentation for this struct was generated from the following file: