pub struct P1Status {
pub ptt: bool,
pub adc_overflow: u8,
pub forward_power: u16,
pub reverse_power: u16,
pub exciter_power: u16,
pub supply_voltage: u16,
pub response_addr: u8,
}Expand description
Status fields extracted from Protocol 1 response control bytes.
Fields§
§ptt: boolPTT state from the hardware.
adc_overflow: u8ADC overflow indicator.
forward_power: u16Forward power ADC count.
reverse_power: u16Reverse power ADC count.
exciter_power: u16Exciter power ADC count.
supply_voltage: u16Supply voltage ADC count.
response_addr: u8Response address from C0 byte (masked with 0x7E).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for P1Status
impl RefUnwindSafe for P1Status
impl Send for P1Status
impl Sync for P1Status
impl Unpin for P1Status
impl UnsafeUnpin for P1Status
impl UnwindSafe for P1Status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more