PER Firmware
Loading...
Searching...
No Matches
main.h File Reference

"CANnector" node source code More...

#include "rtos/rtos.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEARTBEAT_LED_PORT   (GPIOA)
 
#define HEARTBEAT_LED_PIN   (5)
 
#define CONNECTION_LED_PORT   (GPIOA)
 
#define CONNECTION_LED_PIN   (6)
 
#define ERROR_LED_PORT   (GPIOA)
 
#define ERROR_LED_PIN   (7)
 
#define VCAN_LED_PORT   (GPIOC)
 
#define VCAN_LED_PIN   (4)
 
#define MCAN_LED_PORT   (GPIOC)
 
#define MCAN_LED_PIN   (5)
 
#define SCAN_LED_PORT   (GPIOB)
 
#define SCAN_LED_PIN   (0)
 
#define USB_LED_PORT   (GPIOB)
 
#define USB_LED_PIN   (1)
 
#define CHARGER_PORT   (GPIOB)
 
#define CHARGER_PIN   (2)
 

Variables

QueueHandle_t can_queue
 
uint32_t g_fdcan2_bus_id
 

Detailed Description

"CANnector" node source code

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Macro Definition Documentation

◆ CHARGER_PIN

#define CHARGER_PIN   (2)

◆ CHARGER_PORT

#define CHARGER_PORT   (GPIOB)

◆ CONNECTION_LED_PIN

#define CONNECTION_LED_PIN   (6)

◆ CONNECTION_LED_PORT

#define CONNECTION_LED_PORT   (GPIOA)

◆ ERROR_LED_PIN

#define ERROR_LED_PIN   (7)

◆ ERROR_LED_PORT

#define ERROR_LED_PORT   (GPIOA)

◆ HEARTBEAT_LED_PIN

#define HEARTBEAT_LED_PIN   (5)

◆ HEARTBEAT_LED_PORT

#define HEARTBEAT_LED_PORT   (GPIOA)

◆ MCAN_LED_PIN

#define MCAN_LED_PIN   (5)

◆ MCAN_LED_PORT

#define MCAN_LED_PORT   (GPIOC)

◆ SCAN_LED_PIN

#define SCAN_LED_PIN   (0)

◆ SCAN_LED_PORT

#define SCAN_LED_PORT   (GPIOB)

◆ USB_LED_PIN

#define USB_LED_PIN   (1)

◆ USB_LED_PORT

#define USB_LED_PORT   (GPIOB)

◆ VCAN_LED_PIN

#define VCAN_LED_PIN   (4)

◆ VCAN_LED_PORT

#define VCAN_LED_PORT   (GPIOC)

Variable Documentation

◆ can_queue

QueueHandle_t can_queue
extern

◆ g_fdcan2_bus_id

uint32_t g_fdcan2_bus_id
extern