#[repr(transparent)]pub struct Tcd19Csr(pub u16);Expand description
TCD Control and Status
Tuple Fields§
§0: u16Implementations§
Source§impl Tcd19Csr
impl Tcd19Csr
Sourcepub const fn set_intmajor(&mut self, val: bool)
pub const fn set_intmajor(&mut self, val: bool)
Enable an interrupt when major iteration count completes.
Sourcepub const fn set_inthalf(&mut self, val: bool)
pub const fn set_inthalf(&mut self, val: bool)
Enable an interrupt when major counter is half complete.
Sourcepub const fn esg(&self) -> Tcd19CsrEsg
pub const fn esg(&self) -> Tcd19CsrEsg
Enable Scatter/Gather Processing
Sourcepub const fn set_esg(&mut self, val: Tcd19CsrEsg)
pub const fn set_esg(&mut self, val: Tcd19CsrEsg)
Enable Scatter/Gather Processing
Sourcepub const fn majorelink(&self) -> bool
pub const fn majorelink(&self) -> bool
Enable channel-to-channel linking on major loop complete
Sourcepub const fn set_majorelink(&mut self, val: bool)
pub const fn set_majorelink(&mut self, val: bool)
Enable channel-to-channel linking on major loop complete
Sourcepub const fn set_active(&mut self, val: bool)
pub const fn set_active(&mut self, val: bool)
Channel Active
Sourcepub const fn majorlinkch(&self) -> u8
pub const fn majorlinkch(&self) -> u8
Major Loop Link Channel Number
Sourcepub const fn set_majorlinkch(&mut self, val: u8)
pub const fn set_majorlinkch(&mut self, val: u8)
Major Loop Link Channel Number
Sourcepub const fn bwc(&self) -> Tcd19CsrBwc
pub const fn bwc(&self) -> Tcd19CsrBwc
Bandwidth Control
Sourcepub const fn set_bwc(&mut self, val: Tcd19CsrBwc)
pub const fn set_bwc(&mut self, val: Tcd19CsrBwc)
Bandwidth Control
Trait Implementations§
impl Copy for Tcd19Csr
impl Eq for Tcd19Csr
impl StructuralPartialEq for Tcd19Csr
Auto Trait Implementations§
impl Freeze for Tcd19Csr
impl RefUnwindSafe for Tcd19Csr
impl Send for Tcd19Csr
impl Sync for Tcd19Csr
impl Unpin for Tcd19Csr
impl UnwindSafe for Tcd19Csr
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