#[repr(transparent)]pub struct DmaCh0RxControl(pub u32);Expand description
DMA Channel 0 Receive Control
Tuple Fields§
§0: u32Implementations§
Source§impl DmaCh0RxControl
impl DmaCh0RxControl
Sourcepub const fn sr(&self) -> DmaCh0RxControlSr
pub const fn sr(&self) -> DmaCh0RxControlSr
Start or Stop Receive
Sourcepub const fn set_sr(&mut self, val: DmaCh0RxControlSr)
pub const fn set_sr(&mut self, val: DmaCh0RxControlSr)
Start or Stop Receive
Sourcepub const fn set_rbsz_x_0(&mut self, val: u8)
pub const fn set_rbsz_x_0(&mut self, val: u8)
Receive Buffer size Low
Sourcepub const fn set_rbsz_13_y(&mut self, val: u16)
pub const fn set_rbsz_13_y(&mut self, val: u16)
Receive Buffer size High
Sourcepub const fn set_rx_pbl(&mut self, val: u8)
pub const fn set_rx_pbl(&mut self, val: u8)
Receive Programmable Burst Length
Trait Implementations§
Source§impl Clone for DmaCh0RxControl
impl Clone for DmaCh0RxControl
Source§fn clone(&self) -> DmaCh0RxControl
fn clone(&self) -> DmaCh0RxControl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DmaCh0RxControl
impl Debug for DmaCh0RxControl
Source§impl Default for DmaCh0RxControl
impl Default for DmaCh0RxControl
Source§fn default() -> DmaCh0RxControl
fn default() -> DmaCh0RxControl
Returns the “default value” for a type. Read more
Source§impl PartialEq for DmaCh0RxControl
impl PartialEq for DmaCh0RxControl
impl Copy for DmaCh0RxControl
impl Eq for DmaCh0RxControl
impl StructuralPartialEq for DmaCh0RxControl
Auto Trait Implementations§
impl Freeze for DmaCh0RxControl
impl RefUnwindSafe for DmaCh0RxControl
impl Send for DmaCh0RxControl
impl Sync for DmaCh0RxControl
impl Unpin for DmaCh0RxControl
impl UnwindSafe for DmaCh0RxControl
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