Files
@ 2ee6c8e67f32
Branch filter:
Location: windsonde/Include/system/gpio.h - annotation
2ee6c8e67f32
502 B
text/plain
Add error handling and vim modelines
0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 7ff1c5a59571 7ff1c5a59571 7ff1c5a59571 7ff1c5a59571 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 2ee6c8e67f32 2ee6c8e67f32 | #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
|