PER Firmware
Loading...
Searching...
No Matches
pin_defs.h
Go to the documentation of this file.
1
8#ifndef PIN_DEFS_H
9#define PIN_DEFS_H
10
11#include "common/phal/gpio.h"
12
13// Status LEDs
14#define HEARTBEAT_LED_PORT (GPIOB)
15#define HEARTBEAT_LED_PIN (0)
16#define ERROR_LED_PORT (GPIOB)
17#define ERROR_LED_PIN (2)
18#define CONNECTION_LED_PORT (GPIOB)
19#define CONNECTION_LED_PIN (1)
20
21// Shockpots
22#define SHOCKPOT_LEFT_GPIO_PORT (GPIOA)
23#define SHOCKPOT_LEFT_GPIO_PIN (7)
24#define SHOCKPOT_LEFT_ADC_CHNL (4)
25#define SHOCKPOT_RIGHT_GPIO_PORT (GPIOA)
26#define SHOCKPOT_RIGHT_GPIO_PIN (4)
27#define SHOCKPOT_RIGHT_ADC_CHNL (10)
28
29#endif // PIN_DEFS_H