#[repr(transparent)]pub struct DmaCh1RxControl(pub u32);Expand description
DMA Channel 1 Receive Control
Tuple Fields§
§0: u32Implementations§
Source§impl DmaCh1RxControl
impl DmaCh1RxControl
Sourcepub const fn sr(&self) -> DmaCh1RxControlSr
pub const fn sr(&self) -> DmaCh1RxControlSr
Start or Stop Receive
Sourcepub const fn set_sr(&mut self, val: DmaCh1RxControlSr)
pub const fn set_sr(&mut self, val: DmaCh1RxControlSr)
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 DmaCh1RxControl
impl Clone for DmaCh1RxControl
Source§fn clone(&self) -> DmaCh1RxControl
fn clone(&self) -> DmaCh1RxControl
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 DmaCh1RxControl
impl Debug for DmaCh1RxControl
Source§impl Default for DmaCh1RxControl
impl Default for DmaCh1RxControl
Source§fn default() -> DmaCh1RxControl
fn default() -> DmaCh1RxControl
Returns the “default value” for a type. Read more
Source§impl PartialEq for DmaCh1RxControl
impl PartialEq for DmaCh1RxControl
impl Copy for DmaCh1RxControl
impl Eq for DmaCh1RxControl
impl StructuralPartialEq for DmaCh1RxControl
Auto Trait Implementations§
impl Freeze for DmaCh1RxControl
impl RefUnwindSafe for DmaCh1RxControl
impl Send for DmaCh1RxControl
impl Sync for DmaCh1RxControl
impl Unpin for DmaCh1RxControl
impl UnwindSafe for DmaCh1RxControl
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