Loading...
Searching...
No Matches
Go to the documentation of this file.
11#include "common/phal/gpio.h"
14#define HEARTBEAT_LED_PORT (GPIOB)
15#define HEARTBEAT_LED_PIN (5)
16#define ERROR_LED_PORT (GPIOB)
17#define ERROR_LED_PIN (9)
18#define CONNECTION_LED_PORT (GPIOB)
19#define CONNECTION_LED_PIN (4)
22#define SPI1_SCK_PORT (GPIOA)
23#define SPI1_MISO_PORT (GPIOA)
24#define SPI1_MOSI_PORT (GPIOA)
25#define SPI1_SCK_PIN (5)
26#define SPI1_MISO_PIN (6)
27#define SPI1_MOSI_PIN (7)
28#define SPI1_CS_PORT (GPIOB)
29#define SPI1_CS_PIN (0)
32#define ISENSE_GPIO_PORT (GPIOA)
33#define ISENSE_GPIO_PIN (0)
34#define ISENSE_ADC_CHANNEL (1)
35#define VBATT_GPIO_PORT (GPIOA)
36#define VBATT_GPIO_PIN (1)
37#define VBATT_ADC_CHANNEL (2)
40#define CHARGER_CONNECTED_PORT (GPIOB)
41#define CHARGER_CONNECTED_PIN (2)
42#define NOT_PRECHARGE_COMPLETE_PORT (GPIOB)
43#define NOT_PRECHARGE_COMPLETE_PIN (11)
44#define IMD_STATUS_PORT (GPIOA)
45#define IMD_STATUS_PIN (9)
48#define BMS_SDC_CTRL_PORT (GPIOA)
49#define BMS_SDC_CTRL_PIN (10)