pub struct W(_);
Expand description
Register ICR
writer
Implementations
sourceimpl W
impl W
sourcepub fn alertcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, ALERTCF_AW, BitM, 13>
pub fn alertcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, ALERTCF_AW, BitM, 13>
Bit 13 - Alert flag clear
sourcepub fn timoutcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, TIMOUTCF_AW, BitM, 12>
pub fn timoutcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, TIMOUTCF_AW, BitM, 12>
Bit 12 - Timeout detection flag clear
sourcepub fn peccf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, PECCF_AW, BitM, 11>
pub fn peccf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, PECCF_AW, BitM, 11>
Bit 11 - PEC Error flag clear
sourcepub fn ovrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, OVRCF_AW, BitM, 10>
pub fn ovrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, OVRCF_AW, BitM, 10>
Bit 10 - Overrun/Underrun flag clear
sourcepub fn arlocf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ARLOCF_AW, BitM, 9>
pub fn arlocf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ARLOCF_AW, BitM, 9>
Bit 9 - Arbitration lost flag clear
sourcepub fn berrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, BERRCF_AW, BitM, 8>
pub fn berrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, BERRCF_AW, BitM, 8>
Bit 8 - Bus error flag clear
sourcepub fn stopcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, STOPCF_AW, BitM, 5>
pub fn stopcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, STOPCF_AW, BitM, 5>
Bit 5 - Stop detection flag clear
sourcepub fn nackcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, NACKCF_AW, BitM, 4>
pub fn nackcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, NACKCF_AW, BitM, 4>
Bit 4 - Not Acknowledge flag clear
Methods from Deref<Target = W<ICR_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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more