PX4 Firmware
PX4 Autopilot Software http://px4.io
tfmini Namespace Reference

Local functions in support of the shell command. More...

Functions

int start (const char *port, uint8_t rotation)
 
int status ()
 
int stop ()
 Stop the driver. More...
 
int usage ()
 Prints info about the driver argument usage. More...
 

Variables

TFMINIg_dev {nullptr}
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

◆ start()

int tfmini::start ( const char *  port,
uint8_t  rotation 
)

Definition at line 52 of file tfmini_main.cpp.

References g_dev, TFMINI::init(), and OK.

Referenced by tfmini_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ status()

int tfmini::status ( )

Definition at line 78 of file tfmini_main.cpp.

References g_dev, and TFMINI::print_info().

Referenced by tfmini_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

int tfmini::stop ( )

Stop the driver.

Stop the driver.

Definition at line 91 of file tfmini_main.cpp.

References g_dev.

Referenced by tfmini_main().

Here is the caller graph for this function:

◆ usage()

int tfmini::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.

Definition at line 108 of file tfmini_main.cpp.

Referenced by tfmini_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

TFMINI* tfmini::g_dev {nullptr}

Definition at line 44 of file tfmini_main.cpp.

Referenced by start(), status(), and stop().