Struct esp32c3::io_mux::gpio::W [−][src]
pub struct W(_);Expand description
Register GPIO%s writer
Implementations
Bit 0 - Output enable of the pad in sleep mode. 1: output enabled; 0: output disabled.
Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode.
Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled.
Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled.
Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled.
Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled; 0: internal pull-down disabled.
Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled.
Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled.
Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA; 1: ~10mA; 2: ~20mA; 3: ~40mA.
Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1; 1: Select Function 2; etc.
Bit 15 - Enable filter for pin input signals. 1: Filter enabled; 2: Filter disabled.
