LibDMRConf
0.5.0
A library to program DMR radios.
|
Represents a single one-touch setting within the codeplug on the radio. More...
#include <uv390_codeplug.hh>
Public Types | |
enum | Action { CALL = 0b0000, MESSAGE = 0b0001, DTMF1 = 0b1000, DTMF2 = 0b1001, DTMF3 = 0b1010, DTMF4 = 0b1011 } |
Possible one-touch actions. More... | |
enum | Type { Disabled = 0b00, Digital = 0b01, Analog = 0b10 } |
Possible one-touch action types. More... | |
Public Member Functions | |
void | clear () |
Resets this one-touch action settings. | |
Public Attributes | |
uint8_t | action: 4 |
Action 0b0000=call, 0b0001=message, 0b1000=DTMF1, 0b1001=DTMF2, 0b1010=DTMF3, 0b1011=DTMF4. | |
uint8_t | type: 2 |
Type, 0b00=Disabled, 0b01=Digital, 0b10=Analog. | |
uint8_t | _reserved_0_6: 2 |
Reserved, set to 0b11;. | |
uint8_t | message |
Message idx+1, 0=none. | |
uint16_t | contact |
Contact idx+1, 0=none. | |
Represents a single one-touch setting within the codeplug on the radio.