Module types

Module types 

Source
Expand description

Strong types with validation-on-construction for all TH-D75 radio parameters.

Every type enforces firmware validation rules from the radio_validate_channel_params function at address 0xC003C694 in firmware v1.03.000. Invalid values are rejected at construction time, making illegal radio states unrepresentable.

Menu numbers referenced throughout this module correspond to the TH-D75 menu system as documented in User Manual Chapter 6 (Menu Mode). The full menu table covers Menu No. 100-999 across categories: TX/RX, Memory, Audio File, GPS, APRS, Digital (D-STAR), FM Broadcasting, SD Card, and Configuration.

Re-exports§

pub use band::Band;
pub use channel::ChannelMemory;
pub use channel::ChannelName;
pub use channel::CrossToneType;
pub use channel::FineStep;
pub use channel::FlashChannel;
pub use channel::FlashDigitalSquelch;
pub use channel::FlashDuplex;
pub use frequency::Frequency;
pub use mode::CoarseStepMultiplier;
pub use mode::MemoryMode;
pub use mode::Mode;
pub use mode::PowerLevel;
pub use mode::ShiftDirection;
pub use mode::StepSize;
pub use radio_params::AfGainLevel;
pub use radio_params::BatteryLevel;
pub use radio_params::BeaconMode;
pub use radio_params::CallsignSlot;
pub use radio_params::DetectOutputMode;
pub use radio_params::DstarSlot;
pub use radio_params::DvGatewayMode;
pub use radio_params::FilterMode;
pub use radio_params::FilterWidthIndex;
pub use radio_params::GpsRadioMode;
pub use radio_params::SMeterReading;
pub use radio_params::SquelchLevel;
pub use radio_params::TncBaud;
pub use radio_params::TncMode;
pub use radio_params::VfoMemoryMode;
pub use radio_params::VoxDelay;
pub use radio_params::VoxGain;
pub use tone::CTCSS_FREQUENCIES;
pub use tone::CtcssMode;
pub use tone::DCS_CODES;
pub use tone::DataSpeed;
pub use tone::DcsCode;
pub use tone::LockoutMode;
pub use tone::ToneCode;
pub use tone::ToneMode;
pub use aprs::AprsBand;
pub use aprs::AprsCallsign;
pub use aprs::AprsConfig;
pub use aprs::AprsDataSpeed;
pub use aprs::AprsIcon;
pub use aprs::AprsMessage;
pub use aprs::AprsNetwork;
pub use aprs::AprsStation;
pub use aprs::AutoReplyConfig;
pub use aprs::AutoReplyDelay;
pub use aprs::AutoReplyType;
pub use aprs::BeaconControl;
pub use aprs::BeaconMethod;
pub use aprs::DcdSense;
pub use aprs::DigipeatAlias;
pub use aprs::DigipeatConfig;
pub use aprs::DisplayArea;
pub use aprs::FilterPhrase;
pub use aprs::FloodAlias;
pub use aprs::GroupCode;
pub use aprs::InterruptTime;
pub use aprs::McpSmartBeaconingConfig;
pub use aprs::NavitraConfig;
pub use aprs::NavitraGroupMode;
pub use aprs::NavitraMessage;
pub use aprs::NotificationConfig;
pub use aprs::PacketFilter;
pub use aprs::PacketFilterType;
pub use aprs::PacketPath;
pub use aprs::PositionAmbiguity;
pub use aprs::PositionComment;
pub use aprs::QsyConfig;
pub use aprs::ReplyMessage;
pub use aprs::StatusText;
pub use aprs::TraceAlias;
pub use aprs::TxDelay;
pub use aprs::VoiceAlertConfig;
pub use aprs::WaypointConfig;
pub use aprs::WaypointFormat;
pub use dstar::CallsignEntry;
pub use dstar::DestinationSelect;
pub use dstar::DigitalSquelch;
pub use dstar::DigitalSquelchCode;
pub use dstar::DigitalSquelchType;
pub use dstar::DstarAutoReply;
pub use dstar::DstarAutoReplyMode;
pub use dstar::DstarCallsign;
pub use dstar::DstarConfig;
pub use dstar::DstarMessage;
pub use dstar::DstarModule;
pub use dstar::DstarQsoEntry;
pub use dstar::DstarSuffix;
pub use dstar::DvDrMode;
pub use dstar::EmrVolume;
pub use dstar::GatewayMode;
pub use dstar::HotspotEntry;
pub use dstar::PositionAccuracy;
pub use dstar::QsoDirection;
pub use dstar::ReflectorCommand;
pub use dstar::RepeaterDuplex;
pub use dstar::RepeaterEntry;
pub use dstar::RouteSelect;
pub use gps::CoordinateFormat;
pub use gps::GpsConfig;
pub use gps::GpsDataTx;
pub use gps::GpsFix;
pub use gps::GpsOperatingMode;
pub use gps::GpsPosition;
pub use gps::GpsPositionAmbiguity;
pub use gps::GridSquareFormat;
pub use gps::NmeaSentences;
pub use gps::PositionMemory;
pub use gps::PositionName;
pub use gps::TargetPoint;
pub use gps::TrackLogConfig;
pub use gps::TrackRecordMethod;
pub use fm::FM_RADIO_CHANNEL_COUNT;
pub use fm::FM_RADIO_MAX_HZ;
pub use fm::FM_RADIO_MIN_HZ;
pub use fm::FmRadioChannel;
pub use fm::FmRadioMode;
pub use scan::ProgramScanEdge;
pub use scan::ScanResumeMethod;
pub use scan::ScanType;
pub use scan::VisualRange;
pub use scan::VisualScanRange;
pub use settings::AltitudeRainUnit;
pub use settings::AudioSettings;
pub use settings::AutoPowerOff;
pub use settings::BackgroundColor;
pub use settings::BacklightControl;
pub use settings::DateFormat;
pub use settings::DisplayHoldTime;
pub use settings::DisplayMethod;
pub use settings::DisplaySettings;
pub use settings::DisplayUnits;
pub use settings::EqSetting;
pub use settings::KeyLockType;
pub use settings::Language;
pub use settings::LedControl;
pub use settings::MeterType;
pub use settings::MicSensitivity;
pub use settings::PfKeyFunction;
pub use settings::PowerOnMessage;
pub use settings::SpeedDistanceUnit;
pub use settings::SystemSettings;
pub use settings::TemperatureUnit;
pub use settings::VoiceGuideSpeed;
pub use cw::CwConfig;
pub use cw::CwDelay;
pub use cw::CwPitch;
pub use dtmf::DtmfConfig;
pub use dtmf::DtmfDigits;
pub use dtmf::DtmfMemory;
pub use dtmf::DtmfName;
pub use dtmf::DtmfPause;
pub use dtmf::DtmfSlot;
pub use dtmf::DtmfSpeed;
pub use dtmf::is_valid_dtmf;
pub use echolink::EchoLinkMemory;
pub use echolink::EchoLinkName;
pub use echolink::EchoLinkNode;
pub use echolink::EchoLinkSlot;
pub use repeater::RepeaterConfig;
pub use repeater::ToneBurstHold;
pub use voice::RepeatInterval;
pub use voice::VoiceChannel;
pub use voice::VoiceMessage;
pub use voice::VoiceMessageName;
pub use weather::WeatherConfig;
pub use wireless::WirelessControlConfig;
pub use wireless::WirelessPassword;

Modules§

aprs
APRS (Automatic Packet Reporting System) configuration types.
band
Band selection for the TH-D75 transceiver.
bluetooth
Bluetooth types for the TH-D75’s wireless interface.
channel
Channel URCALL and memory types for the TH-D75 transceiver.
cw
CW (Continuous Wave / Morse Code) configuration types.
dstar
D-STAR (Digital Smart Technologies for Amateur Radio) configuration types.
dtmf
DTMF (Dual-Tone Multi-Frequency) configuration and memory types.
echolink
EchoLink memory types (Menu No. 164).
fm
FM broadcast radio types.
frequency
Radio frequency type for the TH-D75 transceiver.
gps
GPS (Global Positioning System) configuration and data types.
mode
Operating mode, power level, shift direction, and step size types.
radio_params
Validated parameter types for radio CAT command methods.
repeater
FM repeater configuration types.
scan
Scan and band scope types.
settings
Radio-wide system, audio, and display settings for the TH-D75.
system
System configuration types.
tone
Tone, DCS (Digital-Coded Squelch), and related signaling types for the TH-D75 transceiver.
voice
Voice message memory types.
weather
Weather alert types (TH-D75A only – not available on TH-D75E).
wireless
Wireless remote control types (TH-D75A only).