APM:Libraries
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
F4Light::SBUS_parser Class Reference

#include <RC_SBUS_parser.h>

Inheritance diagram for F4Light::SBUS_parser:
[legend]
Collaboration diagram for F4Light::SBUS_parser:
[legend]

Classes

struct  SBUS
 

Public Member Functions

 SBUS_parser ()
 
void init (uint8_t ch)
 
void late_init (uint8_t ch)
 
- Public Member Functions inherited from F4Light::_parser
 _parser ()
 
virtual ~_parser ()
 
virtual uint64_t get_last_signal () const
 
virtual uint64_t get_last_change () const
 
virtual uint8_t get_valid_channels () const
 
virtual uint16_t get_val (uint8_t ch) const
 
virtual bool bind (int dsmMode) const
 

Private Member Functions

void add_uart_input ()
 
void _io_completion ()
 

Private Attributes

uint8_t _ioc
 
struct F4Light::SBUS_parser::SBUS sbus
 

Static Private Attributes

static UARTDriveruartSDriver
 

Additional Inherited Members

- Protected Attributes inherited from F4Light::_parser
volatile uint64_t _last_signal
 
volatile uint16_t _val [F4Light_RC_INPUT_NUM_CHANNELS]
 
uint64_t _last_change
 
volatile uint8_t _channels
 

Detailed Description

Definition at line 10 of file RC_SBUS_parser.h.

Constructor & Destructor Documentation

◆ SBUS_parser()

F4Light::SBUS_parser::SBUS_parser ( )
inline

Definition at line 12 of file RC_SBUS_parser.h.

Here is the call graph for this function:

Member Function Documentation

◆ _io_completion()

void F4Light::SBUS_parser::_io_completion ( )
private

◆ add_uart_input()

void F4Light::SBUS_parser::add_uart_input ( )
private

◆ init()

void F4Light::SBUS_parser::init ( uint8_t  ch)
virtual

Implements F4Light::_parser.

Referenced by SBUS_parser().

Here is the caller graph for this function:

◆ late_init()

void F4Light::SBUS_parser::late_init ( uint8_t  ch)
virtual

Reimplemented from F4Light::_parser.

Referenced by SBUS_parser().

Here is the caller graph for this function:

Member Data Documentation

◆ _ioc

uint8_t F4Light::SBUS_parser::_ioc
private

Definition at line 24 of file RC_SBUS_parser.h.

◆ sbus

struct F4Light::SBUS_parser::SBUS F4Light::SBUS_parser::sbus
private

◆ uartSDriver

UARTDriver* F4Light::SBUS_parser::uartSDriver
staticprivate

Definition at line 19 of file RC_SBUS_parser.h.


The documentation for this class was generated from the following file: