UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
Files | Functions

LED Peripheral Driver. More...

Files

file  led.c
 LED Driver - gnulinux platform.
 
file  led.c
 LED Driver - uos3-proto board.
 

Functions

void LED_on (uint8_t led_number)
 
void LED_off (uint8_t led_number)
 
void LED_set (uint8_t led_number, bool state)
 

Detailed Description

LED Peripheral Driver.

Hardware LED Peripheral Driver.

LEDs for each board are defined in ${board}/board.h

Function Documentation

void LED_on ( uint8_t  led_num)

Switches on the specified LED peripheral

Parameters
led_numberID of the LED peripheral

Public Functions

Definition at line 15 of file led.c.

void LED_off ( uint8_t  led_number)

Switches off the specified LED peripheral

Parameters
led_numberID of the LED peripheral

Definition at line 20 of file led.c.

void LED_set ( uint8_t  led_number,
bool  state 
)

Sets the state of the specified LED peripheral

Parameters
led_numberID of the LED peripheral
statestate to be set (true = on, false = off)

Definition at line 25 of file led.c.