libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
GD77Codeplug::ScanListBankElement Class Reference

Bank of scan lists for the GD77. More...

#include <gd77_codeplug.hh>

Inheritance diagram for GD77Codeplug::ScanListBankElement:
Collaboration diagram for GD77Codeplug::ScanListBankElement:

Classes

struct  Limit
 Some limits for the scan list bank. More...
 
struct  Offset
 Internal offsets within the element. More...
 

Public Member Functions

 ScanListBankElement (uint8_t *ptr)
 Constructor.
 
void clear ()
 Clears the scan list bank.
 
uint8_t * get (unsigned n) const
 

Static Public Member Functions

static constexpr unsigned int size ()
 The size of the scan list bank.
 

Protected Member Functions

 ScanListBankElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
 

Detailed Description

Bank of scan lists for the GD77.

Encoding of scan list table (size 0x1640b):

       7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | List 00 enable (0=disabled)   | List 01 enable                | List 2 enable                 | List 3 enable                 |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
      ...                                                                                                                         ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
003c | List 3c enable                | List 3d enable                | List 3e enable                | List 3f enable                |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0040 | Scanlist 00                                                                                                                ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0094  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
      ...                                                                                                                         ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
15e4 | Scanlist 3f                                                                                                                ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
163c  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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