This is the driver source file for CAN driver. More...
#include "driver/dma/drv_dma.h"#include "drv_can.h"#include "driver/vac_monitor/vac_monitor.h"#include "driver/spi/drv_spi.h"#include "driver/i2c/drv_i2c.h"#include "../../../revision.h"#include "can/can_interface.h"#include "system/pins.h"#include "can/can1.h"#include "secondary_core/sec_core1.h"#include "../sources_common/Totempole_Application_Setup.h"
Include dependency graph for drv_can.c:Go to the source code of this file.
Data Structures | |
| struct | HOUSEKEEPING_STATUS_s |
Typedefs | |
| typedef struct HOUSEKEEPING_STATUS_s | HOUSEKEEPING_STATUS_t |
| typedef struct CAN_MSG_OBJ | CAN_MSG_OBJ_t |
Functions | |
| void | CAN_TX_Obj_Init (void) |
| void | Housekeeping_Flags_Update (void) |
| void | CAN_Transmit_to_GUI (void) |
| void | CAN_Receive_from_GUI (void) |
Variables | |
| static HOUSEKEEPING_STATUS_t | housekeeping_status |
| static uint16_t | MSIFIFOrec [32] |
| static uint8_t | can_sendbuffer [64] |
| static uint16_t | protocolAData [5] |
| static CAN_MSG_OBJ_t | CANBRIDGE_MSGOBJ_TX |
| static CAN_MSG_OBJ_t | CANBRIDGE_MSGOBJ_RX |
| static CAN_MSG_OBJ_t | CANBRIDGE_FIRMWARE_VERSION_TX |
| static uint8_t | firmware_version [32] |
CAN Driver Source File
Definition in file drv_can.c.
| typedef struct CAN_MSG_OBJ CAN_MSG_OBJ_t |
| typedef struct HOUSEKEEPING_STATUS_s HOUSEKEEPING_STATUS_t |
| void CAN_Receive_from_GUI | ( | void | ) |
| void CAN_Transmit_to_GUI | ( | void | ) |
| void Housekeeping_Flags_Update | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |