LibDMRConf  0.5.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
UV390Codeplug::zone_ext_t Struct Reference

Extended zone data. More...

#include <uv390_codeplug.hh>

Public Member Functions

 zone_ext_t ()
 Constructor.
 
void clear ()
 Clears and invalidates this zone extension.
 
bool linkZone (Zone *zone, Config *conf) const
 Links a previously constructed generic Zone to the rest of the generic configuration.
 
void fromZoneObj (const Zone *zone, const Config *conf)
 Initializes this zone extension from the given generic zone.
 

Public Attributes

uint16_t ext_a [48]
 Member A: Channels 17...64, 0=empty/EOL.
 
uint16_t member_b [64]
 Member B: Channels 1...64, 0=empty/EOL.
 

Detailed Description

Extended zone data.

The zone definition zone_t contains only a single set of 16 channels. For each zone definition, there is a zone extension which extends a zone to zwo sets of 64 channels each.

Memmory layout of encoded zone extension:

     0                               8                               16                              24
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Member Channel index+1 16 VFO A                               |                                                            ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
5c  ...                                                            | Member Channel index+1 63 VFO A                               |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
60 | Member Channel index+1 00 VFO B                               |                                                            ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
dc  ...                                                            | Member Channel index+1 63 VFO B                               |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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