![]() |
miniFOC 1.0.3
This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.
|
this file contains macros for LED initialization and related IO port operations. More...
Go to the source code of this file.
Macros | |
#define | led_on() gpio_bit_reset(GPIOB, GPIO_PIN_5) |
turn on LED More... | |
#define | led_off() gpio_bit_set(GPIOB, GPIO_PIN_5) |
turn off LED More... | |
#define | led_toggle() gpio_bit_write(GPIOB, GPIO_PIN_5, !gpio_output_bit_get(GPIOB, GPIO_PIN_5)) |
flip the LED pin level More... | |
#define | led_config() |
configure led periph and its gpios More... | |
this file contains macros for LED initialization and related IO port operations.
Definition in file led.h.
#define led_config | ( | ) |
#define led_off | ( | ) | gpio_bit_set(GPIOB, GPIO_PIN_5) |
#define led_on | ( | ) | gpio_bit_reset(GPIOB, GPIO_PIN_5) |