LibDMRConf
0.5.0
A library to program DMR radios.
|
One bank of 128 channels including a bitmap for enabled channels. More...
#include <rd5r_codeplug.hh>
Public Attributes | |
uint8_t | bitmap [16] |
Bitmap for 128 channels, a bit is set when the coresspondig channel is valid/enabled. | |
channel_t | chan [128] |
The actual 128 channels. | |
One bank of 128 channels including a bitmap for enabled channels.
This struct represents a single bank of 128 channels, see RD5RCodeplug::channel_t
for details.
Memmory layout of channel bank:
0 8 16 24 +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 0000 | 128 bits encoding whether a particular channel within this bank is enabled. ... +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 000c ... | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 0010 | 128 Channels, 56bytes each ... +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 1c0c ... | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+