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

#include <RC_DSM_parser.h>

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

Classes

struct  DSM
 

Public Member Functions

 DSM_parser ()
 
void init (uint8_t ch)
 
bool bind (int dsmMode) const override
 
- Public Member Functions inherited from F4Light::_parser
 _parser ()
 
virtual ~_parser ()
 
virtual void late_init (uint8_t b)
 
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
 

Private Member Functions

void add_dsm_uart_input ()
 
void _io_completion ()
 

Static Private Member Functions

static void _rc_bind (uint16_t dsmMode)
 

Private Attributes

uint8_t _ioc
 
struct F4Light::DSM_parser::DSM dsm
 
enum DSM_STATE state
 

Static Private Attributes

static UARTDriver uartSDriver
 

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 15 of file RC_DSM_parser.h.

Constructor & Destructor Documentation

◆ DSM_parser()

F4Light::DSM_parser::DSM_parser ( )
inline

Definition at line 17 of file RC_DSM_parser.h.

Here is the call graph for this function:

Member Function Documentation

◆ _io_completion()

void F4Light::DSM_parser::_io_completion ( )
private

Referenced by init().

Here is the caller graph for this function:

◆ _rc_bind()

static void F4Light::DSM_parser::_rc_bind ( uint16_t  dsmMode)
staticprivate

Referenced by init().

Here is the caller graph for this function:

◆ add_dsm_uart_input()

void F4Light::DSM_parser::add_dsm_uart_input ( )
private

Referenced by init().

Here is the caller graph for this function:

◆ bind()

bool F4Light::DSM_parser::bind ( int  dsmMode) const
overridevirtual

Reimplemented from F4Light::_parser.

Referenced by DSM_parser(), and init().

Here is the caller graph for this function:

◆ init()

void DSM_parser::init ( uint8_t  ch)
virtual

Implements F4Light::_parser.

Definition at line 34 of file RC_DSM_parser.cpp.

Referenced by DSM_parser().

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

Member Data Documentation

◆ _ioc

uint8_t F4Light::DSM_parser::_ioc
private

Definition at line 29 of file RC_DSM_parser.h.

Referenced by init().

◆ dsm

struct F4Light::DSM_parser::DSM F4Light::DSM_parser::dsm
private

Referenced by init().

◆ state

enum DSM_STATE F4Light::DSM_parser::state
private

Definition at line 37 of file RC_DSM_parser.h.

Referenced by init().

◆ uartSDriver

UARTDriver F4Light::DSM_parser::uartSDriver
staticprivate

Definition at line 25 of file RC_DSM_parser.h.

Referenced by init().


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