pub enum TDMASR {
_0,
_1,
}Expand description
Possible values of the field TDMAS
Variants§
_0
If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE interrupt request signal is asserted to request interrupt service.
_1
If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE DMA request signal is asserted to request a DMA transfer.
Implementations§
Source§impl TDMASR
impl TDMASR
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 TDMASR
impl StructuralPartialEq for TDMASR
Auto Trait Implementations§
impl Freeze for TDMASR
impl RefUnwindSafe for TDMASR
impl Send for TDMASR
impl Sync for TDMASR
impl Unpin for TDMASR
impl UnwindSafe for TDMASR
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