Type Definition stm32g0::stm32g0c1::usb::istr::PMAOVR_W

source · []
pub type PMAOVR_W<'a, const O: u8> = BitWriter<'a, u32, ISTR_SPEC, bool, O>;
Expand description

Field PMAOVR writer - Packet memory area over / underrun This bit is set if the microcontroller has not been able to respond in time to an USB memory request. The USB peripheral handles this event in the following way: During reception an ACK handshake packet is not sent, during transmission a bit-stuff error is forced on the transmitted stream; in both cases the host will retry the transaction. The PMAOVR interrupt should never occur during normal operations. Since the failed transaction is retried by the host, the application software has the chance to speed-up device operations during this interrupt handling, to be ready for the next transaction retry; however this does not happen during Isochronous transfers (no isochronous transaction is anyway retried) leading to a loss of data in this case. This bit is read/write but only ’0 can be written and writing ’1 has no effect.