pub struct W(_);
Expand description
Register ISTR
writer
Implementations§
source§impl W
impl W
sourcepub fn ep_id(
&mut self
) -> FieldWriterRaw<'_, u32, ISTR_SPEC, u8, u8, Safe, 4, 0>
pub fn ep_id(
&mut self
) -> FieldWriterRaw<'_, u32, ISTR_SPEC, u8, u8, Safe, 4, 0>
Bits 0:3 - Endpoint Identifier
sourcepub fn dir(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, DIR_A, BitM, 4>
pub fn dir(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, DIR_A, BitM, 4>
Bit 4 - Direction of transaction
sourcepub fn esof(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, ESOF_A, BitM, 8>
pub fn esof(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, ESOF_A, BitM, 8>
Bit 8 - Expected start frame
sourcepub fn sof(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, SOF_A, BitM, 9>
pub fn sof(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, SOF_A, BitM, 9>
Bit 9 - start of frame
sourcepub fn reset(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, RESET_A, BitM, 10>
pub fn reset(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, RESET_A, BitM, 10>
Bit 10 - reset request
sourcepub fn susp(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, SUSP_A, BitM, 11>
pub fn susp(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, SUSP_A, BitM, 11>
Bit 11 - Suspend mode request
sourcepub fn pmaovr(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, PMAOVR_A, BitM, 14>
pub fn pmaovr(&mut self) -> BitWriterRaw<'_, u32, ISTR_SPEC, PMAOVR_A, BitM, 14>
Bit 14 - Packet memory area over / underrun
Methods from Deref<Target = W<ISTR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.