Type Definition stm32g0::stm32g0c1::usb::chep0r::VTTX_W

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

Field VTTX writer - Valid USB transaction transmitted Device mode This bit is set by the hardware when an IN transaction is successfully completed on this endpoint; the software can only clear this bit. If the CTRM bit in the USB_CNTR register is set accordingly, a generic interrupt condition is generated together with the endpoint related interrupt condition, which is always activated. A transaction ended with a NAK or STALL handshake does not set this bit, since no data is actually transferred, as in the case of protocol errors or data toggle mismatches. This bit is read/write but only ’0 can be written. Host mode Same of VTRX behaviour but for USB OUT and SETUP transactions.