dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
__attribute__ Struct Reference

#include <timeutils.h>

Data Fields

uint8_t sec
 
uint8_t min
 
uint8_t hour
 
uint8_t mday
 
uint8_t mon
 
uint8_t wday
 
uint8_t year
 
uint8_t command
 
uint8_t length
 
uint8_t channel
 
uint8_t pwr_level
 
uint8_t operation_mode
 
uint8_t freq0
 
uint8_t freq1
 
uint8_t crc
 
uint8_t dummy
 
uint8_t pwr
 
uint8_t mode
 
uint8_t flags
 
uint16_t telemetryUpdatePeriod
 
uint16_t gcsTelemetryUpdatePeriod
 
uint16_t loggingUpdatePeriod
 

Detailed Description

Object metadata, each object has a meta object that holds its metadata. The metadata define properties for each object and can be used by multiple modules (e.g. telemetry and logger)

The object metadata flags are packed into a single 16 bit integer. The bits in the flag field are defined as:

Bit(s) Name Meaning


0 access Defines the access level for the local transactions (readonly=1 and readwrite=0) 1 gcsAccess Defines the access level for the local GCS transactions (readonly=1 and readwrite=0), not used in the flight s/w 2 telemetryAcked Defines if an ack is required for the transactions of this object (1:acked, 0:not acked) 3 gcsTelemetryAcked Defines if an ack is required for the transactions of this object (1:acked, 0:not acked) 4-5 telemetryUpdateMode Update mode used by the telemetry module (UAVObjUpdateMode) 6-7 gcsTelemetryUpdateMode Update mode used by the GCS (UAVObjUpdateMode)

Definition at line 33 of file timeutils.h.

Field Documentation

uint8_t __attribute__::flags

Definition at line 83 of file uavobjectmanager.h.

uint16_t __attribute__::gcsTelemetryUpdatePeriod

Update period used by the telemetry module (only if telemetry mode is PERIODIC)

Definition at line 85 of file uavobjectmanager.h.

uint16_t __attribute__::loggingUpdatePeriod

Update period used by the GCS (only if telemetry mode is PERIODIC)

Definition at line 86 of file uavobjectmanager.h.

uint16_t __attribute__::telemetryUpdatePeriod

Defines flags for update and logging modes and whether an update should be ACK'd (bits defined above)

Definition at line 84 of file uavobjectmanager.h.


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