Struct esp32_hal::pac::rtcio::sensor_pads::W
pub struct W(_);
Expand description
Register SENSOR_PADS
writer
Implementations§
§impl W
impl W
pub fn sense4_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 4>
pub fn sense4_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 4>
Bit 4 - the input enable of the pad
pub fn sense4_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 5>
pub fn sense4_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 5>
Bit 5 - the input enable of the pad in sleep status
pub fn sense4_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 6>
pub fn sense4_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 6>
Bit 6 - the sleep status selection signal of the pad
pub fn sense4_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 7>
pub fn sense4_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 7>
Bits 7:8 - the functional selection signal of the pad
pub fn sense3_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 9>
pub fn sense3_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 9>
Bit 9 - the input enable of the pad
pub fn sense3_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 10>
pub fn sense3_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 10>
Bit 10 - the input enable of the pad in sleep status
pub fn sense3_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 11>
pub fn sense3_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 11>
Bit 11 - the sleep status selection signal of the pad
pub fn sense3_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 12>
pub fn sense3_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - the functional selection signal of the pad
pub fn sense2_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 14>
pub fn sense2_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 14>
Bit 14 - the input enable of the pad
pub fn sense2_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 15>
pub fn sense2_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 15>
Bit 15 - the input enable of the pad in sleep status
pub fn sense2_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 16>
pub fn sense2_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 16>
Bit 16 - the sleep status selection signal of the pad
pub fn sense2_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 17>
pub fn sense2_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 17>
Bits 17:18 - the functional selection signal of the pad
pub fn sense1_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 19>
pub fn sense1_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 19>
Bit 19 - the input enable of the pad
pub fn sense1_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 20>
pub fn sense1_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 20>
Bit 20 - the input enable of the pad in sleep status
pub fn sense1_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 21>
pub fn sense1_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 21>
Bit 21 - the sleep status selection signal of the pad
pub fn sense1_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 22>
pub fn sense1_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_PADS_SPEC, u8, u8, Unsafe, 2, 22>
Bits 22:23 - the functional selection signal of the pad
pub fn sense4_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 24>
pub fn sense4_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 24>
Bit 24 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn sense3_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 25>
pub fn sense3_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 25>
Bit 25 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn sense2_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 26>
pub fn sense2_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 26>
Bit 26 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn sense1_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 27>
pub fn sense1_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 27>
Bit 27 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn sense4_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 28>
pub fn sense4_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 28>
Bit 28 - hold the current value of the output when setting the hold to Ò1Ó
pub fn sense3_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 29>
pub fn sense3_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 29>
Bit 29 - hold the current value of the output when setting the hold to Ò1Ó
pub fn sense2_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 30>
pub fn sense2_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 30>
Bit 30 - hold the current value of the output when setting the hold to Ò1Ó
pub fn sense1_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 31>
pub fn sense1_hold(
&mut self
) -> BitWriterRaw<'_, u32, SENSOR_PADS_SPEC, bool, BitM, 31>
Bit 31 - hold the current value of the output when setting the hold to Ò1Ó
Methods from Deref<Target = W<SENSOR_PADS_SPEC>>§
pub 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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.