Files
@ f2c57ce0cd7b
Branch filter:
Location: windsonde/Include/system/gpio.h - annotation
f2c57ce0cd7b
502 B
text/plain
Refactor old pressure code and make optional. Fix high power output due to multiple Si446x power definitions
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
|