PER Firmware
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
8
#ifndef MAIN_H
9
#define MAIN_H
10
11
#include "
rtos/rtos.h
"
12
13
#define HEARTBEAT_LED_PORT (GPIOA)
14
#define HEARTBEAT_LED_PIN (5)
15
#define CONNECTION_LED_PORT (GPIOA)
16
#define CONNECTION_LED_PIN (6)
17
#define ERROR_LED_PORT (GPIOA)
18
#define ERROR_LED_PIN (7)
19
20
#define VCAN_LED_PORT (GPIOC)
21
#define VCAN_LED_PIN (4)
22
#define MCAN_LED_PORT (GPIOC)
23
#define MCAN_LED_PIN (5)
24
#define SCAN_LED_PORT (GPIOB)
25
#define SCAN_LED_PIN (0)
26
#define USB_LED_PORT (GPIOB)
27
#define USB_LED_PIN (1)
28
29
#define CHARGER_PORT (GPIOB)
30
#define CHARGER_PIN (2)
31
32
extern
QueueHandle_t
can_queue
;
33
extern
uint32_t
g_fdcan2_bus_id
;
34
35
#endif
// MAIN_H
can_queue
QueueHandle_t can_queue
g_fdcan2_bus_id
uint32_t g_fdcan2_bus_id
Definition
main.c:56
rtos.h
Wrapper macros for FreeRTOS constructs (tasks, queues, semaphores) to simplify static memory allocati...
firmware
source
cannector
main.h
Generated by
1.12.0