Struct stm32_metapac::usb::regs::Epr
#[repr(transparent)]pub struct Epr(pub u32);
Expand description
endpoint register
Tuple Fields§
§0: u32
Implementations§
§impl Epr
impl Epr
pub fn set_stat_tx(&mut self, val: Stat)
pub fn set_stat_tx(&mut self, val: Stat)
STAT_TX
pub fn set_dtog_tx(&mut self, val: bool)
pub fn set_dtog_tx(&mut self, val: bool)
DTOG_TX
pub fn set_ctr_tx(&mut self, val: bool)
pub fn set_ctr_tx(&mut self, val: bool)
CTR_TX
pub fn set_ep_kind(&mut self, val: bool)
pub fn set_ep_kind(&mut self, val: bool)
EP_KIND
pub fn set_ep_type(&mut self, val: EpType)
pub fn set_ep_type(&mut self, val: EpType)
EPTYPE
pub fn set_stat_rx(&mut self, val: Stat)
pub fn set_stat_rx(&mut self, val: Stat)
STAT_RX
pub fn set_dtog_rx(&mut self, val: bool)
pub fn set_dtog_rx(&mut self, val: bool)
DTOG_RX
pub fn set_ctr_rx(&mut self, val: bool)
pub fn set_ctr_rx(&mut self, val: bool)
CTR_RX
Trait Implementations§
impl Copy for Epr
impl Eq for Epr
impl StructuralPartialEq for Epr
Auto Trait Implementations§
impl Freeze for Epr
impl RefUnwindSafe for Epr
impl Send for Epr
impl Sync for Epr
impl Unpin for Epr
impl UnwindSafe for Epr
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