@ref FrequencyBand Bitmask Support
These values can be used to specify a bitmask for controlling enabled GNSS frequency bands. More...
Functions Index
template <typename... Args> | |
| constexpr uint32_t | ToBitMask (FrequencyBand first, Args... others) |
|
Convert two or more FrequencyBand values to a bitmask. More... | |
| constexpr uint32_t | ToBitMask (FrequencyBand type) |
|
Convert a FrequencyBand to a corresponding frequency control bitmask value. More... | |
Variables Index
| static constexpr uint32_t | FREQUENCY_BAND_MASK_ALL = 0xFFFFFFFF |
| static constexpr uint32_t | FREQUENCY_BAND_MASK_L1 = ... |
| static constexpr uint32_t | FREQUENCY_BAND_MASK_L2 = ... |
| static constexpr uint32_t | FREQUENCY_BAND_MASK_L5 = ... |
| static constexpr uint32_t | FREQUENCY_BAND_MASK_L6 = ... |
Description
These values can be used to specify a bitmask for controlling enabled GNSS frequency bands.
The bit locations are equal to the values set by FrequencyBand.
For example, the mask 0x22 enables L1 and L5. You can create that mask with the FREQUENCY_BAND_MASK_* constants:
or by calling the ToBitMask(FrequencyBand) helper function:
Functions
ToBitMask()
| constexpr |
Convert two or more FrequencyBand values to a bitmask.
For example:
generates the following bitmask:
- Template Parameters
-
Args The type of the others values (FrequencyBand)
- Parameters
-
first The first value.
others One or more additional values.
- Returns
The corresponding bitmask.
Definition at line 358 of file signal_defs.h.
ToBitMask()
| constexpr |
Convert a FrequencyBand to a corresponding frequency control bitmask value.
For example:
generates the following bitmask:
- Parameters
-
type The desired frequency band.
- Returns
The corresponding bitmask.
Definition at line 331 of file signal_defs.h.
Variables
FREQUENCY_BAND_MASK_ALL
| constexpr static |
Definition at line 309 of file signal_defs.h.
FREQUENCY_BAND_MASK_L1
| constexpr static |
- Initialiser
Definition at line 300 of file signal_defs.h.
FREQUENCY_BAND_MASK_L2
| constexpr static |
- Initialiser
Definition at line 302 of file signal_defs.h.
FREQUENCY_BAND_MASK_L5
| constexpr static |
- Initialiser
Definition at line 304 of file signal_defs.h.
FREQUENCY_BAND_MASK_L6
| constexpr static |
- Initialiser
Definition at line 306 of file signal_defs.h.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.