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

#include <AP_Volz_Protocol.h>

Collaboration diagram for AP_Volz_Protocol:
[legend]

Public Member Functions

 AP_Volz_Protocol ()
 
 AP_Volz_Protocol (const AP_Volz_Protocol &other)=delete
 
AP_Volz_Protocoloperator= (const AP_Volz_Protocol &)=delete
 
void update ()
 

Static Public Attributes

static const struct AP_Param::GroupInfo var_info []
 

Private Member Functions

void init (void)
 
void send_command (uint8_t data[VOLZ_DATA_FRAME_SIZE])
 
void update_volz_bitmask (uint32_t new_bitmask)
 

Private Attributes

AP_HAL::UARTDriverport
 
uint32_t last_volz_update_time
 
uint32_t volz_time_frame_micros
 
uint32_t last_used_bitmask
 
AP_Int32 bitmask
 
bool initialised
 

Detailed Description

Definition at line 51 of file AP_Volz_Protocol.h.

Constructor & Destructor Documentation

◆ AP_Volz_Protocol() [1/2]

AP_Volz_Protocol::AP_Volz_Protocol ( void  )

Definition at line 26 of file AP_Volz_Protocol.cpp.

Here is the call graph for this function:

◆ AP_Volz_Protocol() [2/2]

AP_Volz_Protocol::AP_Volz_Protocol ( const AP_Volz_Protocol other)
delete

Member Function Documentation

◆ init()

void AP_Volz_Protocol::init ( void  )
private

Definition at line 32 of file AP_Volz_Protocol.cpp.

Referenced by update().

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

◆ operator=()

AP_Volz_Protocol& AP_Volz_Protocol::operator= ( const AP_Volz_Protocol )
delete

◆ send_command()

void AP_Volz_Protocol::send_command ( uint8_t  data[VOLZ_DATA_FRAME_SIZE])
private

Definition at line 105 of file AP_Volz_Protocol.cpp.

Referenced by update().

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

◆ update()

void AP_Volz_Protocol::update ( void  )

Definition at line 39 of file AP_Volz_Protocol.cpp.

Referenced by SRV_Channels::push().

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

◆ update_volz_bitmask()

void AP_Volz_Protocol::update_volz_bitmask ( uint32_t  new_bitmask)
private

Definition at line 131 of file AP_Volz_Protocol.cpp.

Referenced by init(), and update().

Here is the caller graph for this function:

Member Data Documentation

◆ bitmask

AP_Int32 AP_Volz_Protocol::bitmask
private

Definition at line 74 of file AP_Volz_Protocol.h.

Referenced by init(), and update().

◆ initialised

bool AP_Volz_Protocol::initialised
private

Definition at line 75 of file AP_Volz_Protocol.h.

Referenced by update().

◆ last_used_bitmask

uint32_t AP_Volz_Protocol::last_used_bitmask
private

Definition at line 72 of file AP_Volz_Protocol.h.

Referenced by update(), and update_volz_bitmask().

◆ last_volz_update_time

uint32_t AP_Volz_Protocol::last_volz_update_time
private

Definition at line 70 of file AP_Volz_Protocol.h.

Referenced by update().

◆ port

AP_HAL::UARTDriver* AP_Volz_Protocol::port
private

Definition at line 64 of file AP_Volz_Protocol.h.

Referenced by init(), send_command(), and update().

◆ var_info

const AP_Param::GroupInfo AP_Volz_Protocol::var_info
static
Initial value:

Definition at line 59 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol().

◆ volz_time_frame_micros

uint32_t AP_Volz_Protocol::volz_time_frame_micros
private

Definition at line 71 of file AP_Volz_Protocol.h.

Referenced by update(), and update_volz_bitmask().


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