Struct esp32_hal::pac::gpio::cpusdio_int1::W
pub struct W(_);
Expand description
Register CPUSDIO_INT1
writer
Implementations§
§impl W
impl W
pub fn pin_pad_driver(
&mut self
) -> BitWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, bool, BitM, 2>
pub fn pin_pad_driver(
&mut self
) -> BitWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, bool, BitM, 2>
Bit 2
pub fn pin_int_type(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 3, 7>
pub fn pin_int_type(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 3, 7>
Bits 7:9
pub fn pin_wakeup_enable(
&mut self
) -> BitWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, bool, BitM, 10>
pub fn pin_wakeup_enable(
&mut self
) -> BitWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, bool, BitM, 10>
Bit 10
pub fn pin_config(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 2, 11>
pub fn pin_config(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12
pub fn pin_int_ena(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 5, 13>
pub fn pin_int_ena(
&mut self
) -> FieldWriterRaw<'_, u32, CPUSDIO_INT1_SPEC, u8, u8, Unsafe, 5, 13>
Bits 13:17
Methods from Deref<Target = W<CPUSDIO_INT1_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.
Trait Implementations§
§impl From<W<CPUSDIO_INT1_SPEC>> for W
impl From<W<CPUSDIO_INT1_SPEC>> for W
§fn from(writer: W<CPUSDIO_INT1_SPEC>) -> W
fn from(writer: W<CPUSDIO_INT1_SPEC>) -> W
Converts to this type from the input type.