APM:Libraries
Classes | Macros
AP_Volz_Protocol.h File Reference
#include <AP_HAL/AP_HAL.h>
#include <AP_SerialManager/AP_SerialManager.h>
#include <AP_Param/AP_Param.h>
Include dependency graph for AP_Volz_Protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_Volz_Protocol
 

Macros

#define VOLZ_SCALE_VALUE   (uint16_t)(VOLZ_EXTENDED_POSITION_MAX - VOLZ_EXTENDED_POSITION_MIN)
 
#define VOLZ_SET_EXTENDED_POSITION_CMD   0xDC
 
#define VOLZ_SET_EXTENDED_POSITION_RSP   0x2C
 
#define VOLZ_DATA_FRAME_SIZE   6
 
#define VOLZ_EXTENDED_POSITION_MIN   0x0080
 
#define VOLZ_EXTENDED_POSITION_CENTER   0x0800
 
#define VOLZ_EXTENDED_POSITION_MAX   0x0F80
 

Macro Definition Documentation

◆ VOLZ_DATA_FRAME_SIZE

#define VOLZ_DATA_FRAME_SIZE   6

Definition at line 45 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol::update().

◆ VOLZ_EXTENDED_POSITION_CENTER

#define VOLZ_EXTENDED_POSITION_CENTER   0x0800

Definition at line 48 of file AP_Volz_Protocol.h.

◆ VOLZ_EXTENDED_POSITION_MAX

#define VOLZ_EXTENDED_POSITION_MAX   0x0F80

Definition at line 49 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol::update().

◆ VOLZ_EXTENDED_POSITION_MIN

#define VOLZ_EXTENDED_POSITION_MIN   0x0080

Definition at line 47 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol::update().

◆ VOLZ_SCALE_VALUE

#define VOLZ_SCALE_VALUE   (uint16_t)(VOLZ_EXTENDED_POSITION_MAX - VOLZ_EXTENDED_POSITION_MIN)

Definition at line 42 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol::update().

◆ VOLZ_SET_EXTENDED_POSITION_CMD

#define VOLZ_SET_EXTENDED_POSITION_CMD   0xDC

Definition at line 43 of file AP_Volz_Protocol.h.

Referenced by AP_Volz_Protocol::update().

◆ VOLZ_SET_EXTENDED_POSITION_RSP

#define VOLZ_SET_EXTENDED_POSITION_RSP   0x2C

Definition at line 44 of file AP_Volz_Protocol.h.