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 <stdint.h>
12
13#include "common/phal/gpio.h"
14
15// Status LEDs
16#define HEARTBEAT_LED_PORT (GPIOB)
17#define HEARTBEAT_LED_PIN (4)
18#define ERROR_LED_PORT (GPIOA)
19#define ERROR_LED_PIN (15)
20#define CONNECTION_LED_PORT (GPIOB)
21#define CONNECTION_LED_PIN (3)
22
23// Rover GPS
24#define ROVER_RESET_PORT (GPIOB)
25#define ROVER_RESET_PIN (1)
26
27// Base GPS
28#define BASE_RESET_PORT (GPIOB)
29#define BASE_RESET_PIN (6)
30
31#endif // MAIN_H