PX4 Firmware
PX4 Autopilot Software http://px4.io
led.cpp File Reference
#include <px4_platform_common/px4_config.h>
#include <lib/cdev/CDev.hpp>
#include <drivers/drv_board_led.h>
#include <stdio.h>
Include dependency graph for led.cpp:

Go to the source code of this file.

Classes

class  LED
 

Functions

__BEGIN_DECLS void led_init ()
 
void led_on (int led)
 
void led_off (int led)
 
void led_toggle (int led)
 
void drv_led_start (void)
 

Function Documentation

◆ drv_led_start()

void drv_led_start ( void  )

Definition at line 118 of file led.cpp.

References LED::LED().

Here is the call graph for this function:

◆ led_init()

__BEGIN_DECLS void led_init ( )

Definition at line 288 of file commander_helper.cpp.

Referenced by LED::_measure(), LED::init(), and Commander::run().

Here is the caller graph for this function:

◆ led_off()

void led_off ( int  led)

Definition at line 343 of file commander_helper.cpp.

Referenced by LED::devIOCTL(), and LED::ioctl().

Here is the caller graph for this function:

◆ led_on()

void led_on ( int  led)

Definition at line 338 of file commander_helper.cpp.

Referenced by LED::devIOCTL(), and LED::ioctl().

Here is the caller graph for this function:

◆ led_toggle()

void led_toggle ( int  led)

Definition at line 333 of file commander_helper.cpp.

Referenced by LED::devIOCTL(), and LED::ioctl().

Here is the caller graph for this function: