pub struct W(_);
Expand description
Register APB2RSTR
writer
Implementations§
source§impl W
impl W
sourcepub fn afiorst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 0>
pub fn afiorst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 0>
Bit 0 - Alternate function I/O reset
sourcepub fn ioparst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 2>
pub fn ioparst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 2>
Bit 2 - IO port A reset
sourcepub fn iopbrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 3>
pub fn iopbrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 3>
Bit 3 - IO port B reset
sourcepub fn iopcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 4>
pub fn iopcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 4>
Bit 4 - IO port C reset
sourcepub fn iopdrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 5>
pub fn iopdrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 5>
Bit 5 - IO port D reset
sourcepub fn ioperst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 6>
pub fn ioperst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 6>
Bit 6 - IO port E reset
sourcepub fn iopfrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 7>
pub fn iopfrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 7>
Bit 7 - IO port F reset
sourcepub fn iopgrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 8>
pub fn iopgrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 8>
Bit 8 - IO port G reset
sourcepub fn adc1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 9>
pub fn adc1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 9>
Bit 9 - ADC 1 interface reset
sourcepub fn adc2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 10>
pub fn adc2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 10>
Bit 10 - ADC 2 interface reset
sourcepub fn tim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 11>
pub fn tim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 11>
Bit 11 - TIM1 timer reset
sourcepub fn spi1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 12>
pub fn spi1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 12>
Bit 12 - SPI 1 reset
sourcepub fn tim8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 13>
pub fn tim8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 13>
Bit 13 - TIM8 timer reset
sourcepub fn usart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 14>
pub fn usart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 14>
Bit 14 - USART1 reset
sourcepub fn adc3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 15>
pub fn adc3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 15>
Bit 15 - ADC 3 interface reset
sourcepub fn tim9rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 19>
pub fn tim9rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 19>
Bit 19 - TIM9 timer reset
sourcepub fn tim10rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 20>
pub fn tim10rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 20>
Bit 20 - TIM10 timer reset
sourcepub fn tim11rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 21>
pub fn tim11rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, AFIORST_A, BitM, 21>
Bit 21 - TIM11 timer reset
Methods from Deref<Target = W<APB2RSTR_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.