Skip to content

esp32_gpio

struct Esp32Gpio { /* private fields */ }

ESP32 GPIO driver (pins 0-39; 32-39 are input-only on real silicon but the register plumbing is symmetric, so this driver does not special-case them). Base address: 0x3FF44000.

enum PinLevel {
Low,
High,
}

Implements: Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq

enum PinMode {
Input,
Output,
InputPullUp,
InputPullDown,
OutputOpenDrain,
}

Implements: Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq