Rev 7 | Rev 17 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7 | Rev 16 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | unsigned char CalByte; |
40 | unsigned char CalByte; |
41 | unsigned char Dummy1; |
41 | unsigned char Dummy1; |
42 | unsigned char Dummy2; |
42 | unsigned char Dummy2; |
43 | } ; |
43 | } ; |
Line -... | Line 44... | ||
- | 44 | ||
- | 45 | #define I2C_CMD_READ_HEADING 0x05 |
|
44 | 46 | ||
45 | struct str_I2C_Heading |
47 | struct str_I2C_Heading |
46 | { |
48 | { |
47 | unsigned int Heading; |
49 | unsigned int Heading; |
Line -... | Line 50... | ||
- | 50 | } ; |
|
- | 51 | ||
- | 52 | #define I2C_CMD_READ_ACC 0x06 |
|
- | 53 | struct str_I2C_Acc |
|
- | 54 | { |
|
- | 55 | int AccN; |
|
- | 56 | int AccR; |
|
- | 57 | int AccZ; |
|
- | 58 | }; |
|
Line 48... | Line 59... | ||
48 | } ; |
59 | |
Line 49... | Line 60... | ||
49 | 60 | #define I2C_CMD_READ_HEADING_INTERNAL 0x07 |
|
50 | 61 | ||
51 | extern unsigned char Tx_Idx, Rx_Idx, I2C_Direction; |
62 | extern unsigned char Tx_Idx, Rx_Idx, I2C_Direction; |
52 | 63 | ||
53 | extern struct str_I2C_Heading I2C_Heading; |
64 | extern struct str_I2C_Heading I2C_Heading; |
54 | extern struct str_I2C_WriteNickRoll I2C_WriteNickRoll; |
65 | extern struct str_I2C_WriteNickRoll I2C_WriteNickRoll; |
- | 66 | extern struct str_I2C_Mag I2C_Mag; |
|
Line 55... | Line 67... | ||
55 | extern struct str_I2C_Mag I2C_Mag; |
67 | extern struct str_I2C_EEPROM I2C_ReadEEPROM, I2C_WriteEEPROM; |
Line 56... | Line 68... | ||
56 | extern struct str_I2C_EEPROM I2C_ReadEEPROM, I2C_WriteEEPROM; |
68 | extern struct str_I2C_Version I2C_Version; |