|
libdrmconf 0.12.1
A library to program DMR radios.
|
Bank of scan lists for the GD77. More...
#include <gd77_codeplug.hh>


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. | |
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 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+