#include "mcu_periph/gpio.h"
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/rcc.h>
#include <BOARD_CONFIG>
#include "std.h"
Go to the source code of this file.
#define LED_AFIO_REMAP |
( |
|
i | ) |
_LED_EVAL(LED_ ## i ## _AFIO_REMAP) |
#define LED_GPIO |
( |
|
i | ) |
_LED_EVAL(LED_ ## i ## _GPIO) |
#define LED_GPIO_OFF |
( |
|
i | ) |
_LED_EVAL(LED_ ## i ## _GPIO_OFF) |
#define LED_GPIO_ON |
( |
|
i | ) |
_LED_EVAL(LED_ ## i ## _GPIO_ON) |
#define LED_GPIO_PIN |
( |
|
i | ) |
_LED_EVAL(LED_ ## i ## _GPIO_PIN) |
Value:
}
#define LED_AFIO_REMAP(i)
void gpio_setup_output(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as outputs.
Definition at line 49 of file led_hw.h.
#define LED_PERIODIC |
( |
| ) |
{} |