LibDMRConf  0.5.0
A library to program DMR radios.
Public Attributes | List of all members
RD5RCodeplug::bank_t Struct Reference

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.
 

Detailed Description

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

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