Struct gd32e1::gd32e103::usbfs_device::diep0tfstat::Diep0tfstatSpec
source · pub struct Diep0tfstatSpec;
Expand description
device IN endpoint 0 transmit FIFO status register
You can read
this register and get diep0tfstat::R
. See API.
Trait Implementations§
source§impl RegisterSpec for Diep0tfstatSpec
impl RegisterSpec for Diep0tfstatSpec
source§impl Resettable for Diep0tfstatSpec
impl Resettable for Diep0tfstatSpec
reset()
method sets DIEP0TFSTAT to value 0x0200
source§const RESET_VALUE: u32 = 512u32
const RESET_VALUE: u32 = 512u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for Diep0tfstatSpec
read()
method returns diep0tfstat::R
reader structure
Auto Trait Implementations§
impl Freeze for Diep0tfstatSpec
impl RefUnwindSafe for Diep0tfstatSpec
impl Send for Diep0tfstatSpec
impl Sync for Diep0tfstatSpec
impl Unpin for Diep0tfstatSpec
impl UnwindSafe for Diep0tfstatSpec
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