armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
led.h File Reference

Definition of functions for manipulating a LED to a GPIO pin. More...

#include <stdint.h>
#include <stddef.h>
Include dependency graph for led.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED_PIN   17
 

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)
 

Detailed Description

Definition of functions for manipulating a LED to a GPIO pin.