#[repr(transparent)]pub struct Intstat(pub u32);Expand description
USB interrupt status register
Tuple Fields§
§0: u32Implementations§
Source§impl Intstat
impl Intstat
Sourcepub const fn ep0out(&self) -> bool
pub const fn ep0out(&self) -> bool
Interrupt status register bit for the Control EP0 OUT direction.
Sourcepub const fn set_ep0out(&mut self, val: bool)
pub const fn set_ep0out(&mut self, val: bool)
Interrupt status register bit for the Control EP0 OUT direction.
Sourcepub const fn ep0in(&self) -> bool
pub const fn ep0in(&self) -> bool
Interrupt status register bit for the Control EP0 IN direction.
Sourcepub const fn set_ep0in(&mut self, val: bool)
pub const fn set_ep0in(&mut self, val: bool)
Interrupt status register bit for the Control EP0 IN direction.
Sourcepub const fn set_ep1out(&mut self, val: bool)
pub const fn set_ep1out(&mut self, val: bool)
Interrupt status register bit for the EP1 OUT direction.
Sourcepub const fn set_ep1in(&mut self, val: bool)
pub const fn set_ep1in(&mut self, val: bool)
Interrupt status register bit for the EP1 IN direction.
Sourcepub const fn set_ep2out(&mut self, val: bool)
pub const fn set_ep2out(&mut self, val: bool)
Interrupt status register bit for the EP2 OUT direction.
Sourcepub const fn set_ep2in(&mut self, val: bool)
pub const fn set_ep2in(&mut self, val: bool)
Interrupt status register bit for the EP2 IN direction.
Sourcepub const fn set_ep3out(&mut self, val: bool)
pub const fn set_ep3out(&mut self, val: bool)
Interrupt status register bit for the EP3 OUT direction.
Sourcepub const fn set_ep3in(&mut self, val: bool)
pub const fn set_ep3in(&mut self, val: bool)
Interrupt status register bit for the EP3 IN direction.
Sourcepub const fn set_ep4out(&mut self, val: bool)
pub const fn set_ep4out(&mut self, val: bool)
Interrupt status register bit for the EP4 OUT direction.
Sourcepub const fn set_ep4in(&mut self, val: bool)
pub const fn set_ep4in(&mut self, val: bool)
Interrupt status register bit for the EP4 IN direction.
Sourcepub const fn set_ep5out(&mut self, val: bool)
pub const fn set_ep5out(&mut self, val: bool)
Interrupt status register bit for the EP5 OUT direction.
Sourcepub const fn set_ep5in(&mut self, val: bool)
pub const fn set_ep5in(&mut self, val: bool)
Interrupt status register bit for the EP5 IN direction.
Sourcepub const fn set_frame_int(&mut self, val: bool)
pub const fn set_frame_int(&mut self, val: bool)
Frame interrupt.
Sourcepub const fn set_dev_int(&mut self, val: bool)
pub const fn set_dev_int(&mut self, val: bool)
Device status interrupt.