pub enum RDMASR {
_0,
_1,
}Expand description
Possible values of the field RDMAS
Variants§
_0
If C2[RIE] is set and the S1[RDRF] flag is set, the RDFR interrupt request signal is asserted to request interrupt service.
_1
If C2[RIE] is set and the S1[RDRF] flag is set, the RDRF DMA request signal is asserted to request a DMA transfer.
Implementations§
Source§impl RDMASR
impl RDMASR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Trait Implementations§
impl Copy for RDMASR
impl StructuralPartialEq for RDMASR
Auto Trait Implementations§
impl Freeze for RDMASR
impl RefUnwindSafe for RDMASR
impl Send for RDMASR
impl Sync for RDMASR
impl Unpin for RDMASR
impl UnwindSafe for RDMASR
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