diff --git a/a__box_2bmi_2bmi088_8h.html b/a__box_2bmi_2bmi088_8h.html index 8d5246ca..4c5c7bfd 100644 --- a/a__box_2bmi_2bmi088_8h.html +++ b/a__box_2bmi_2bmi088_8h.html @@ -126,9 +126,9 @@   #define BMI088_GYRO_RATE_Z_LSB_ADDR   (0x04U) /* Gyro Z rate LSB address */   -#define BMI088_GYRO_RANGE_ADDR   (0x0FU) /* Gyro data range address */ +#define BMI088_GYRO_RANGE_ADDR   (0x0FU) /* Gyro data range address */   -#define BMI088_GYRO_BANDWIDTH_ADDR   (0x10U) /* Gyro data bandwidth address */ +#define BMI088_GYRO_BANDWIDTH_ADDR   (0x10U) /* Gyro data bandwidth address */   #define BMI088_GYRO_SELFTEST_ADDR   (0x3CU) /* Gyro self test address */   @@ -388,7 +388,7 @@

- +
#define BMI088_GYRO_BANDWIDTH_ADDR   (0x10U) /* Gyro data bandwidth address */#define BMI088_GYRO_BANDWIDTH_ADDR   (0x10U) /* Gyro data bandwidth address */
390/* END AUTO MESSAGE STRUCTURE */
391
@@ -658,7 +658,7 @@
can_data_t can_data
Definition can_parse.c:16
void initCANParse(void)
Setup queue and message filtering.
Definition can_parse.c:19
void send_fault(uint16_t id, bool latched)
-
struct eeprom __attribute__
Definition daq_hub.h:70
+
struct gs_tx_context __attribute__
Definition daq_hub.h:70
uint8_t charge_enable
Definition main.c:102
diff --git a/a__box_2main_8h_source.html b/a__box_2main_8h_source.html index f9cc265d..13fad4c5 100644 --- a/a__box_2main_8h_source.html +++ b/a__box_2main_8h_source.html @@ -197,7 +197,7 @@
104 // CAN I DO THIS??
105 uint16_t isense_ch1;
106 uint16_t isense_ch2;
-
107}__attribute__((packed)) ADCReadings_t;
+
107}__attribute__((packed)) ADCReadings_t;
108volatile extern ADCReadings_t adc_readings;
109
110extern bool bms_daq_override;
@@ -210,8 +210,8 @@
void canTxSendToBack(CanMsgTypeDef_t *msg)
Definition main.c:116
bool bms_daq_override
Definition main.c:84
bool bms_daq_stat
Definition main.c:85
-
struct eeprom __attribute__
Definition daq_hub.h:70
char msg[100]
Definition main.c:105
+
struct gs_tx_context __attribute__
Definition daq_hub.h:70
Definition can.h:31
uint16_t isense_ch2
Definition main.h:106
diff --git a/afe_8c.html b/afe_8c.html index c6fac621..81b39e19 100644 --- a/afe_8c.html +++ b/afe_8c.html @@ -97,7 +97,7 @@ - + @@ -109,9 +109,9 @@ - + - +

Functions

int verifyPEC (uint8_t *data, uint16_t len, uint16_t PEC)
int verifyPEC (uint8_t *data, uint16_t len, uint16_t PEC)
 
void checkConn (void)
 
 
void broadcastPoll (uint16_t command)
 
void broadcastWrite (uint16_t command, uint16_t size, uint8_t *data)
void broadcastWrite (uint16_t command, uint16_t size, uint8_t *data)
 
int broadcastRead (uint16_t command, uint16_t size, uint8_t *data)
int broadcastRead (uint16_t command, uint16_t size, uint8_t *data)
 

Function Documentation

diff --git a/afe_8h.html b/afe_8h.html index ee3dcc2e..65e8b366 100644 --- a/afe_8h.html +++ b/afe_8h.html @@ -318,9 +318,9 @@   void broadcastPoll (uint16_t command)   -void broadcastWrite (uint16_t command, uint16_t size, uint8_t *data) +void broadcastWrite (uint16_t command, uint16_t size, uint8_t *data)   -int broadcastRead (uint16_t command, uint16_t size, uint8_t *data) +int broadcastRead (uint16_t command, uint16_t size, uint8_t *data)  

Macro Definition Documentation

diff --git a/afe_8h_source.html b/afe_8h_source.html index 93b92f66..795dfcd4 100644 --- a/afe_8h_source.html +++ b/afe_8h_source.html @@ -247,8 +247,8 @@
160void afeTask(void);
161void afeWakeup(void);
162void broadcastPoll(uint16_t command);
-
163void broadcastWrite(uint16_t command, uint16_t size, uint8_t* data);
-
164int broadcastRead(uint16_t command, uint16_t size, uint8_t* data);
+
163void broadcastWrite(uint16_t command, uint16_t size, uint8_t* data);
+
164int broadcastRead(uint16_t command, uint16_t size, uint8_t* data);
165
166// PEC Table
167static const uint16_t crc15Table[256] = {0x0,0xc599, 0xceab, 0xb32, 0xd8cf, 0x1d56, 0x1664, 0xd3fd, 0xf407, 0x319e,
@@ -312,6 +312,7 @@
Parsing of CAN messages using auto-generated structures with bit-fields.
+
u8 data[8]
Definition gs_usb.h:8
diff --git a/bootloader_2can_2can__parse_8h_source.html b/bootloader_2can_2can__parse_8h_source.html index 369cd63a..5448b501 100644 --- a/bootloader_2can_2can__parse_8h_source.html +++ b/bootloader_2can_2can__parse_8h_source.html @@ -258,39 +258,39 @@
154typedef union {
155 struct {
156 uint64_t cmd: 8;
-
157 uint64_t data: 32;
+
157 uint64_t data: 32;
158 } main_module_bl_resp;
159 struct {
160 uint64_t cmd: 8;
-
161 uint64_t data: 32;
+
161 uint64_t data: 32;
162 } dashboard_bl_resp;
163 struct {
164 uint64_t cmd: 8;
-
165 uint64_t data: 32;
+
165 uint64_t data: 32;
166 } torquevector_bl_resp;
167 struct {
168 uint64_t cmd: 8;
-
169 uint64_t data: 32;
+
169 uint64_t data: 32;
170 } a_box_bl_resp;
171 struct {
172 uint64_t cmd: 8;
-
173 uint64_t data: 32;
+
173 uint64_t data: 32;
174 } pdu_bl_resp;
175 struct {
176 uint64_t cmd: 8;
-
177 uint64_t data: 32;
+
177 uint64_t data: 32;
178 } l4_testing_bl_resp;
179 struct {
180 uint64_t cmd: 8;
-
181 uint64_t data: 32;
+
181 uint64_t data: 32;
182 } f4_testing_bl_resp;
183 struct {
184 uint64_t cmd: 8;
-
185 uint64_t data: 32;
+
185 uint64_t data: 32;
186 } f7_testing_bl_resp;
187 struct {
188 uint64_t cmd: 8;
-
189 uint64_t data: 32;
+
189 uint64_t data: 32;
190 } daq_bl_resp;
191 struct {
192 uint64_t d0: 8;
@@ -304,42 +304,42 @@
200 } bitstream_data;
201 struct {
202 uint64_t cmd: 8;
-
203 uint64_t data: 32;
+
203 uint64_t data: 32;
204 } main_module_bl_cmd;
205 struct {
206 uint64_t cmd: 8;
-
207 uint64_t data: 32;
+
207 uint64_t data: 32;
208 } dashboard_bl_cmd;
209 struct {
210 uint64_t cmd: 8;
-
211 uint64_t data: 32;
+
211 uint64_t data: 32;
212 } torquevector_bl_cmd;
213 struct {
214 uint64_t cmd: 8;
-
215 uint64_t data: 32;
+
215 uint64_t data: 32;
216 } a_box_bl_cmd;
217 struct {
218 uint64_t cmd: 8;
-
219 uint64_t data: 32;
+
219 uint64_t data: 32;
220 } pdu_bl_cmd;
221 struct {
222 uint64_t cmd: 8;
-
223 uint64_t data: 32;
+
223 uint64_t data: 32;
224 } l4_testing_bl_cmd;
225 struct {
226 uint64_t cmd: 8;
-
227 uint64_t data: 32;
+
227 uint64_t data: 32;
228 } f4_testing_bl_cmd;
229 struct {
230 uint64_t cmd: 8;
-
231 uint64_t data: 32;
+
231 uint64_t data: 32;
232 } f7_testing_bl_cmd;
233 struct {
234 uint64_t cmd: 8;
-
235 uint64_t data: 32;
+
235 uint64_t data: 32;
236 } daq_bl_cmd;
237 uint8_t raw_data[8];
- +
239/* END AUTO MESSAGE STRUCTURE */
240
241// contains most up to date received
@@ -358,39 +358,39 @@
254 } bitstream_data;
255 struct {
256 uint8_t cmd;
-
257 uint32_t data;
+
257 uint32_t data;
258 } main_module_bl_cmd;
259 struct {
260 uint8_t cmd;
-
261 uint32_t data;
+
261 uint32_t data;
262 } dashboard_bl_cmd;
263 struct {
264 uint8_t cmd;
-
265 uint32_t data;
+
265 uint32_t data;
266 } torquevector_bl_cmd;
267 struct {
268 uint8_t cmd;
-
269 uint32_t data;
+
269 uint32_t data;
270 } a_box_bl_cmd;
271 struct {
272 uint8_t cmd;
-
273 uint32_t data;
+
273 uint32_t data;
274 } pdu_bl_cmd;
275 struct {
276 uint8_t cmd;
-
277 uint32_t data;
+
277 uint32_t data;
278 } l4_testing_bl_cmd;
279 struct {
280 uint8_t cmd;
-
281 uint32_t data;
+
281 uint32_t data;
282 } f4_testing_bl_cmd;
283 struct {
284 uint8_t cmd;
-
285 uint32_t data;
+
285 uint32_t data;
286 } f7_testing_bl_cmd;
287 struct {
288 uint8_t cmd;
-
289 uint32_t data;
+
289 uint32_t data;
290 } daq_bl_cmd;
291} can_data_t;
292/* END AUTO CAN DATA STRUCTURE */
@@ -445,8 +445,9 @@
void l4_testing_bl_cmd_CALLBACK(CanParsedData_t *msg_data_a)
Definition main.c:484
void canTxSendToBack(CanMsgTypeDef_t *msg)
Definition main.c:116
uint8_t cmd[NXT_STR_SIZE]
Definition main.c:541
-
struct eeprom __attribute__
Definition daq_hub.h:70
char msg[100]
Definition main.c:105
+
u8 data[8]
Definition gs_usb.h:8
+
struct gs_tx_context __attribute__
Definition daq_hub.h:70
diff --git a/bootloader_8c.html b/bootloader_8c.html index 9003d45e..e381e348 100644 --- a/bootloader_8c.html +++ b/bootloader_8c.html @@ -133,11 +133,11 @@   void bitstream_data_CALLBACK (CanParsedData_t *msg_data_a)   -void BL_processCommand (BLCmd_t cmd, uint32_t data) +void BL_processCommand (BLCmd_t cmd, uint32_t data)   bool BL_flashStarted (void)   -void BL_sendStatusMessage (uint8_t cmd, uint32_t data) +void BL_sendStatusMessage (uint8_t cmd, uint32_t data)   - + - + diff --git a/bootloader_8h_source.html b/bootloader_8h_source.html index d811ae14..a97e0a5b 100644 --- a/bootloader_8h_source.html +++ b/bootloader_8h_source.html @@ -125,9 +125,9 @@
37
38void BL_checkAndBoot(void);
39
-
40void BL_processCommand(BLCmd_t cmd, uint32_t data);
+
40void BL_processCommand(BLCmd_t cmd, uint32_t data);
41
-
42void BL_sendStatusMessage(uint8_t cmd, uint32_t data);
+
42void BL_sendStatusMessage(uint8_t cmd, uint32_t data);
43
44bool BL_flashStarted(void);
45
@@ -149,6 +149,7 @@
bool BL_flashStarted(void)
Definition bootloader.c:298
void BL_checkAndBoot(void)
Definition bootloader.c:99
uint8_t cmd[NXT_STR_SIZE]
Definition main.c:541
+
u8 data[8]
Definition gs_usb.h:8
- + diff --git a/buffer_8h.html b/buffer_8h.html index ff4ce894..938cd8b4 100644 --- a/buffer_8h.html +++ b/buffer_8h.html @@ -119,7 +119,7 @@ - + diff --git a/buffer_8h_source.html b/buffer_8h_source.html index 5fc771af..7389fb4c 100644 --- a/buffer_8h_source.html +++ b/buffer_8h_source.html @@ -127,7 +127,7 @@
40void bConstruct(b_handle_t *b, uint32_t item_size, uint32_t buff_size);
41int8_t bGetHeadForWrite(b_handle_t *b, void** tx_loc, uint32_t *contiguous_items);
42int8_t bCommitWrite(b_handle_t *b, uint32_t items_written);
-
43int8_t bSendToBack(b_handle_t *b, const void* data);
+
43int8_t bSendToBack(b_handle_t *b, const void* data);
44int8_t bGetTailForRead(b_handle_t *b, uint8_t t_idx, void** rx_loc, uint32_t *contiguous_items);
45int8_t bCommitRead(b_handle_t *b, uint8_t t_idx, uint32_t items_read);
46uint32_t bGetItemCount(b_handle_t *b, uint8_t t_idx);
@@ -146,6 +146,7 @@
int8_t bCommitWrite(b_handle_t *b, uint32_t items_written)
Updates the head by 1 item Call after successful bGetHeadForWrite and AFTER writing your data Note: E...
Definition buffer.c:71
int8_t bGetTailForRead(b_handle_t *b, uint8_t t_idx, void **rx_loc, uint32_t *contiguous_items)
Gets the number of contiguous items available to read at *rx_loc.
Definition buffer.c:188
void bActivateTail(b_handle_t *b, uint8_t t_idx)
Definition buffer.c:165
+
u8 data[8]
Definition gs_usb.h:8
Definition buffer.h:25
uint32_t underflows
Number of times bCommitRead failed.
Definition buffer.h:36
uint32_t _max_items
Maximum number of items that can be stored (only ever max - 1)
Definition buffer.h:33
diff --git a/crc_8c.html b/crc_8c.html index 834dce41..d68609df 100644 --- a/crc_8c.html +++ b/crc_8c.html @@ -104,9 +104,9 @@
- + - +

@@ -351,9 +351,10 @@

Value:
case app_id:\
-
+
resp_func(cmd, data);\
break;\
uint8_t cmd[NXT_STR_SIZE]
Definition main.c:541
+
u8 data[8]
Definition gs_usb.h:8
diff --git a/bootloader_8h.html b/bootloader_8h.html index 4c7eb459..d713da3e 100644 --- a/bootloader_8h.html +++ b/bootloader_8h.html @@ -126,9 +126,9 @@ Functions

void BL_checkAndBoot (void)
 
void BL_processCommand (BLCmd_t cmd, uint32_t data)
void BL_processCommand (BLCmd_t cmd, uint32_t data)
 
void BL_sendStatusMessage (uint8_t cmd, uint32_t data)
void BL_sendStatusMessage (uint8_t cmd, uint32_t data)
 
bool BL_flashStarted (void)
 
int8_t bCommitWrite (b_handle_t *b, uint32_t items_written)
 Updates the head by 1 item Call after successful bGetHeadForWrite and AFTER writing your data Note: Ensure these calls occur in order (i.e. not preempted by another producer)
 
int8_t bSendToBack (b_handle_t *b, const void *data)
int8_t bSendToBack (b_handle_t *b, const void *data)
 
uint32_t bGetItemCount (b_handle_t *b, uint8_t t_idx)
 Returns number of items left to read for given tail.
int8_t bCommitWrite (b_handle_t *b, uint32_t items_written)
 Updates the head by 1 item Call after successful bGetHeadForWrite and AFTER writing your data Note: Ensure these calls occur in order (i.e. not preempted by another producer)
 
int8_t bSendToBack (b_handle_t *b, const void *data)
int8_t bSendToBack (b_handle_t *b, const void *data)
 
int8_t bGetTailForRead (b_handle_t *b, uint8_t t_idx, void **rx_loc, uint32_t *contiguous_items)
 Gets the number of contiguous items available to read at *rx_loc.
 
void PHAL_CRC32_Init (void)
 
uint32_t PHAL_CRC32_Calculate (uint32_t *data, uint32_t count)
uint32_t PHAL_CRC32_Calculate (uint32_t *data, uint32_t count)
 
uint32_t PHAL_CRC32_CalculateSW (uint32_t *data, uint32_t count)
uint32_t PHAL_CRC32_CalculateSW (uint32_t *data, uint32_t count)
 

Detailed Description

diff --git a/crc_8h.html b/crc_8h.html index 267d4203..ab952a1b 100644 --- a/crc_8h.html +++ b/crc_8h.html @@ -103,9 +103,9 @@ Functions

void PHAL_CRC32_Reset (void)   -uint32_t PHAL_CRC32_Calculate (uint32_t *data, uint32_t count) +uint32_t PHAL_CRC32_Calculate (uint32_t *data, uint32_t count)   -uint32_t PHAL_CRC32_CalculateSW (uint32_t *data, uint32_t count) +uint32_t PHAL_CRC32_CalculateSW (uint32_t *data, uint32_t count)  

Detailed Description

diff --git a/crc_8h_source.html b/crc_8h_source.html index 54637e20..23817896 100644 --- a/crc_8h_source.html +++ b/crc_8h_source.html @@ -107,14 +107,15 @@
24
25void PHAL_CRC32_Reset(void);
26
-
27uint32_t PHAL_CRC32_Calculate(uint32_t *data, uint32_t count);
+
27uint32_t PHAL_CRC32_Calculate(uint32_t *data, uint32_t count);
28
-
29uint32_t PHAL_CRC32_CalculateSW(uint32_t *data, uint32_t count);
+
29uint32_t PHAL_CRC32_CalculateSW(uint32_t *data, uint32_t count);
30
31#endif // _PHAL_CRC_H
uint32_t PHAL_CRC32_Calculate(uint32_t *data, uint32_t count)
Definition crc.c:34
uint32_t PHAL_CRC32_CalculateSW(uint32_t *data, uint32_t count)
Definition crc.c:69
void PHAL_CRC32_Reset(void)
Definition crc.c:14
+
u8 data[8]
Definition gs_usb.h:8