Implementation of functions for manipulating a LED to a GPIO pin. More...
#include <stdint.h>
#include <stddef.h>
#include <kernel/mmio.h>
#include <kernel/gpio.h>
#include <kernel/printk.h>
#include <kernel/timer.h>
#include <peripherals/gpio.h>
Functions | |
int | led_init (uint8_t pin_num) |
void | led_on (uint8_t pin_num) |
void | led_off (uint8_t pin_num) |
void | led_on_ms (uint8_t pin_num, uint32_t msec) |
void | led_pulse (uint8_t pin_num, uint32_t msec) |
void | led_blink_times (uint8_t pin_num, size_t count, uint32_t msec) |
void | led_blink_sos (uint8_t pin_num, uint32_t msec) |
Implementation of functions for manipulating a LED to a GPIO pin.