#[repr(transparent)]pub struct Rx(pub u32);Expand description
RX Control. F70RM 42.7.4 (text line 103981). ENVADJ and DISCONADJ legal codes are 0..3; codes 4..7 are reserved.
Tuple Fields§
§0: u32Implementations§
Source§impl Rx
impl Rx
Sourcepub const fn envadj(&self) -> u8
pub const fn envadj(&self) -> u8
Envelope Detector Trip Point. Raw encoding: 000b - 0.1000 V; 001b - 0.1125 V; 010b - 0.1250 V; 011b - 0.0875 V; 1xxb - Reserved.
Sourcepub const fn set_envadj(&mut self, val: u8)
pub const fn set_envadj(&mut self, val: u8)
Envelope Detector Trip Point. Raw encoding: 000b - 0.1000 V; 001b - 0.1125 V; 010b - 0.1250 V; 011b - 0.0875 V; 1xxb - Reserved.
Sourcepub const fn disconadj(&self) -> u8
pub const fn disconadj(&self) -> u8
Disconnect Detector Trip Point. Raw encoding: 000b - 0.56875 V; 001b - 0.55000 V; 010b - 0.58125 V; 011b - 0.60000 V; 1xxb - Reserved.
Sourcepub const fn set_disconadj(&mut self, val: u8)
pub const fn set_disconadj(&mut self, val: u8)
Disconnect Detector Trip Point. Raw encoding: 000b - 0.56875 V; 001b - 0.55000 V; 010b - 0.58125 V; 011b - 0.60000 V; 1xxb - Reserved.
Trait Implementations§
impl Copy for Rx
impl Eq for Rx
impl StructuralPartialEq for Rx
Auto Trait Implementations§
impl Freeze for Rx
impl RefUnwindSafe for Rx
impl Send for Rx
impl Sync for Rx
impl Unpin for Rx
impl UnwindSafe for Rx
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