Struct stm32_metapac::usb::regs::Istr
#[repr(transparent)]pub struct Istr(pub u32);
Expand description
interrupt status register
Tuple Fields§
§0: u32
Implementations§
§impl Istr
impl Istr
pub const fn l1req(&self) -> bool
pub const fn l1req(&self) -> bool
LPM command to enter the L1 state is successfully received and acknowledged
pub fn set_l1req(&mut self, val: bool)
pub fn set_l1req(&mut self, val: bool)
LPM command to enter the L1 state is successfully received and acknowledged
pub const fn sof(&self) -> bool
pub const fn sof(&self) -> bool
beginning of a new USB frame and it is set when a SOF packet arrives through the USB bus
pub fn set_sof(&mut self, val: bool)
pub fn set_sof(&mut self, val: bool)
beginning of a new USB frame and it is set when a SOF packet arrives through the USB bus
pub const fn susp(&self) -> bool
pub const fn susp(&self) -> bool
no traffic has been received for 3 ms, indicating a suspend mode request from the USB bus
pub fn set_susp(&mut self, val: bool)
pub fn set_susp(&mut self, val: bool)
no traffic has been received for 3 ms, indicating a suspend mode request from the USB bus
pub const fn err(&self) -> bool
pub const fn err(&self) -> bool
One of No ANSwer, Cyclic Redundancy Check, Bit Stuffing or Framing format Violation error occurred
pub fn set_err(&mut self, val: bool)
pub fn set_err(&mut self, val: bool)
One of No ANSwer, Cyclic Redundancy Check, Bit Stuffing or Framing format Violation error occurred
pub const fn pmaovr(&self) -> bool
pub const fn pmaovr(&self) -> bool
microcontroller has not been able to respond in time to an USB memory request
pub fn set_pmaovr(&mut self, val: bool)
pub fn set_pmaovr(&mut self, val: bool)
microcontroller has not been able to respond in time to an USB memory request