QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
UBX::Plan::ValsetItem Struct Reference

#include <UBXPlan.h>

Public Member Functions

template<typename T >
constexpr ValsetItem (CfgKey< T > setting, std::type_identity_t< T > setValue, bool when=true)
 
constexpr ValsetItem (MsgOutKey output, uint8_t rate, bool when=true)
 

Public Attributes

uint32_t key
 The key, or the I2C key of a CFG-MSGOUT family.
 
uint32_t value
 
bool msgOut = false
 
bool included = true
 

Detailed Description

One CFG-VALSET key and value. The value has the key's type and braced items reject narrowing, so a value that does not fit the key's width does not compile. A CFG-MSGOUT rate expands to UART1 and USB.

Definition at line 145 of file UBXPlan.h.

Constructor & Destructor Documentation

◆ ValsetItem() [1/2]

template<typename T >
constexpr UBX::Plan::ValsetItem::ValsetItem ( CfgKey< T >  setting,
std::type_identity_t< T >  setValue,
bool  when = true 
)
inlineconstexpr

Definition at line 148 of file UBXPlan.h.

◆ ValsetItem() [2/2]

constexpr UBX::Plan::ValsetItem::ValsetItem ( MsgOutKey  output,
uint8_t  rate,
bool  when = true 
)
inlineconstexpr

Definition at line 154 of file UBXPlan.h.

Member Data Documentation

◆ included

bool UBX::Plan::ValsetItem::included = true

Definition at line 165 of file UBXPlan.h.

◆ key

uint32_t UBX::Plan::ValsetItem::key

The key, or the I2C key of a CFG-MSGOUT family.

Definition at line 162 of file UBXPlan.h.

◆ msgOut

bool UBX::Plan::ValsetItem::msgOut = false

Definition at line 164 of file UBXPlan.h.

◆ value

uint32_t UBX::Plan::ValsetItem::value

Definition at line 163 of file UBXPlan.h.


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