Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
logging.h File Reference
#include <SD.h>
#include <FlexCAN_T4.h>
#include <SPI.h>
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogEntry
 
class  Logging
 

Macros

#define PIN_SPI_CLK   45
 
#define PIN_SPI_MOSI   43
 
#define PIN_SPI_MISO   42
 
#define PIN_SD_CS   44
 
#define PIN_OTHER_DEVICE_CS   -1
 
#define SD_CARD_SPEED   SPI_FULL_SPEED
 
#define BMS_ID   0x666
 
#define BAMO_RESPONSE_ID   0x181
 
#define LOGGING_PERIOD   10
 

Macro Definition Documentation

◆ BAMO_RESPONSE_ID

#define BAMO_RESPONSE_ID   0x181

Definition at line 22 of file logging.h.

◆ BMS_ID

#define BMS_ID   0x666

Definition at line 21 of file logging.h.

◆ LOGGING_PERIOD

#define LOGGING_PERIOD   10

Definition at line 23 of file logging.h.

◆ PIN_OTHER_DEVICE_CS

#define PIN_OTHER_DEVICE_CS   -1

Definition at line 15 of file logging.h.

◆ PIN_SD_CS

#define PIN_SD_CS   44

Definition at line 11 of file logging.h.

◆ PIN_SPI_CLK

#define PIN_SPI_CLK   45

Definition at line 8 of file logging.h.

◆ PIN_SPI_MISO

#define PIN_SPI_MISO   42

Definition at line 10 of file logging.h.

◆ PIN_SPI_MOSI

#define PIN_SPI_MOSI   43

Definition at line 9 of file logging.h.

◆ SD_CARD_SPEED

#define SD_CARD_SPEED   SPI_FULL_SPEED

Definition at line 19 of file logging.h.