diff --git a/Include/system/gpio.h b/Include/system/gpio.h new file mode 100644 --- /dev/null +++ b/Include/system/gpio.h @@ -0,0 +1,18 @@ +#ifndef GPIO_H +#define GPIO_H + + +/// LEDs 1-2 /////////////////////// +#define PIN_LED_POWER GPIO_PIN_0 +#define PORT_LED_POWER GPIOB +#define LED_POWER PORT_LED_POWER , PIN_LED_POWER +//////////////////////////////////// + + + +void gpio_init(void); +void gpio_schedule_shutdown(void); +void gpio_process_shutdown(void); + +#endif +