Files @ 2ee6c8e67f32
Branch filter:

Location: windsonde/Include/system/gpio.h

ethanzonca
Add error handling and vim modelines
#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
////////////////////////////////////


#define GPS_NOTEN_PORT GPIOA
#define GPS_NOTEN_PIN GPIO_PIN_1
#define GPS_NOTEN GPS_NOTEN_PORT , GPS_NOTEN_PIN


void gpio_init(void);
void gpio_schedule_shutdown(void);
void gpio_process_shutdown(void);

#endif


// vim:softtabstop=4 shiftwidth=4 expandtab