Struct atsamd51p::usb::device::device_endpoint::DEVICE_ENDPOINT
source · #[repr(C)]pub struct DEVICE_ENDPOINT {
pub epcfg: EPCFG,
pub epstatusclr: EPSTATUSCLR,
pub epstatusset: EPSTATUSSET,
pub epstatus: EPSTATUS,
pub epintflag: EPINTFLAG,
pub epintenclr: EPINTENCLR,
pub epintenset: EPINTENSET,
/* private fields */
}
Expand description
Register block
Fields§
§epcfg: EPCFG
0x00 - DEVICE_ENDPOINT End Point Configuration
epstatusclr: EPSTATUSCLR
0x04 - DEVICE_ENDPOINT End Point Pipe Status Clear
epstatusset: EPSTATUSSET
0x05 - DEVICE_ENDPOINT End Point Pipe Status Set
epstatus: EPSTATUS
0x06 - DEVICE_ENDPOINT End Point Pipe Status
epintflag: EPINTFLAG
0x07 - DEVICE_ENDPOINT End Point Interrupt Flag
epintenclr: EPINTENCLR
0x08 - DEVICE_ENDPOINT End Point Interrupt Clear Flag
epintenset: EPINTENSET
0x09 - DEVICE_ENDPOINT End Point Interrupt Set Flag
Auto Trait Implementations§
impl !Freeze for DEVICE_ENDPOINT
impl !RefUnwindSafe for DEVICE_ENDPOINT
impl Send for DEVICE_ENDPOINT
impl !Sync for DEVICE_ENDPOINT
impl Unpin for DEVICE_ENDPOINT
impl UnwindSafe for DEVICE_ENDPOINT
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