pub struct W(/* private fields */);
Expand description
Register CONFIG1
writer
Implementations§
source§impl W
impl W
sourcepub fn region32(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION32_A, BitM, 0>
pub fn region32( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION32_A, BitM, 0>
Bit 0 - Enable protection for region 32. Write ‘0’ has no effect.
sourcepub fn region33(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION33_A, BitM, 1>
pub fn region33( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION33_A, BitM, 1>
Bit 1 - Enable protection for region 33. Write ‘0’ has no effect.
sourcepub fn region34(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION34_A, BitM, 2>
pub fn region34( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION34_A, BitM, 2>
Bit 2 - Enable protection for region 34. Write ‘0’ has no effect.
sourcepub fn region35(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION35_A, BitM, 3>
pub fn region35( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION35_A, BitM, 3>
Bit 3 - Enable protection for region 35. Write ‘0’ has no effect.
sourcepub fn region36(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION36_A, BitM, 4>
pub fn region36( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION36_A, BitM, 4>
Bit 4 - Enable protection for region 36. Write ‘0’ has no effect.
sourcepub fn region37(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION37_A, BitM, 5>
pub fn region37( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION37_A, BitM, 5>
Bit 5 - Enable protection for region 37. Write ‘0’ has no effect.
sourcepub fn region38(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION38_A, BitM, 6>
pub fn region38( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION38_A, BitM, 6>
Bit 6 - Enable protection for region 38. Write ‘0’ has no effect.
sourcepub fn region39(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION39_A, BitM, 7>
pub fn region39( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION39_A, BitM, 7>
Bit 7 - Enable protection for region 39. Write ‘0’ has no effect.
sourcepub fn region40(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION40_A, BitM, 8>
pub fn region40( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION40_A, BitM, 8>
Bit 8 - Enable protection for region 40. Write ‘0’ has no effect.
sourcepub fn region41(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION41_A, BitM, 9>
pub fn region41( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION41_A, BitM, 9>
Bit 9 - Enable protection for region 41. Write ‘0’ has no effect.
sourcepub fn region42(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION42_A, BitM, 10>
pub fn region42( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION42_A, BitM, 10>
Bit 10 - Enable protection for region 42. Write ‘0’ has no effect.
sourcepub fn region43(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION43_A, BitM, 11>
pub fn region43( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION43_A, BitM, 11>
Bit 11 - Enable protection for region 43. Write ‘0’ has no effect.
sourcepub fn region44(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION44_A, BitM, 12>
pub fn region44( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION44_A, BitM, 12>
Bit 12 - Enable protection for region 44. Write ‘0’ has no effect.
sourcepub fn region45(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION45_A, BitM, 13>
pub fn region45( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION45_A, BitM, 13>
Bit 13 - Enable protection for region 45. Write ‘0’ has no effect.
sourcepub fn region46(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION46_A, BitM, 14>
pub fn region46( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION46_A, BitM, 14>
Bit 14 - Enable protection for region 46. Write ‘0’ has no effect.
sourcepub fn region47(
&mut self
) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION47_A, BitM, 15>
pub fn region47( &mut self ) -> BitWriterRaw<'_, u32, CONFIG1_SPEC, REGION47_A, BitM, 15>
Bit 15 - Enable protection for region 47. Write ‘0’ has no effect.
Methods from Deref<Target = W<CONFIG1_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.