#[repr(transparent)]pub struct TxdAmount(pub u32);
Expand description
Size of outgoing frame
Tuple Fields§
§0: u32
Implementations§
Source§impl TxdAmount
impl TxdAmount
Sourcepub const fn txdatabits(&self) -> u8
pub const fn txdatabits(&self) -> u8
Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit).
Sourcepub fn set_txdatabits(&mut self, val: u8)
pub fn set_txdatabits(&mut self, val: u8)
Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit).
Sourcepub const fn txdatabytes(&self) -> u16
pub const fn txdatabytes(&self) -> u16
Number of complete bytes that shall be included in the frame, excluding CRC, parity, and framing.
Sourcepub fn set_txdatabytes(&mut self, val: u16)
pub fn set_txdatabytes(&mut self, val: u16)
Number of complete bytes that shall be included in the frame, excluding CRC, parity, and framing.
Trait Implementations§
impl Copy for TxdAmount
impl Eq for TxdAmount
impl StructuralPartialEq for TxdAmount
Auto Trait Implementations§
impl Freeze for TxdAmount
impl RefUnwindSafe for TxdAmount
impl Send for TxdAmount
impl Sync for TxdAmount
impl Unpin for TxdAmount
impl UnwindSafe for TxdAmount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)