Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions esp-hal-common/src/gpio/esp32c2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub const INPUT_SIGNAL_MAX: u8 = 100;
pub const ONE_INPUT: u8 = 0x1e;
pub const ZERO_INPUT: u8 = 0x1f;

/// Peripheral input signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(Clone, Copy, PartialEq)]
pub enum InputSignal {
Expand Down Expand Up @@ -43,6 +44,7 @@ pub enum InputSignal {
SIG_FUNC_100 = 100,
}

/// Peripheral output signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(Clone, Copy, PartialEq)]
pub enum OutputSignal {
Expand Down
2 changes: 2 additions & 0 deletions esp-hal-common/src/gpio/esp32c3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub const INPUT_SIGNAL_MAX: u8 = 100;
pub const ONE_INPUT: u8 = 0x1e;
pub const ZERO_INPUT: u8 = 0x1f;

/// Peripheral input signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(Clone, Copy, PartialEq)]
pub enum InputSignal {
Expand Down Expand Up @@ -52,6 +53,7 @@ pub enum InputSignal {
SIG_FUNC_100 = 100,
}

/// Peripheral output signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(Clone, Copy, PartialEq)]
pub enum OutputSignal {
Expand Down
2 changes: 1 addition & 1 deletion esp-hal-common/src/gpio/esp32s2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub enum InputSignal {
PCMCLK = 204,
}

/// Peripheral input signals for the GPIO mux
/// Peripheral output signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(PartialEq, Copy, Clone)]
pub enum OutputSignal {
Expand Down
14 changes: 13 additions & 1 deletion esp-hal-common/src/gpio/esp32s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub enum InputSignal {
PCMCLK = 189,
}

/// Peripheral input signals for the GPIO mux
/// Peripheral output signals for the GPIO mux
#[allow(non_camel_case_types)]
#[derive(PartialEq, Copy, Clone)]
pub enum OutputSignal {
Expand Down Expand Up @@ -200,6 +200,18 @@ pub enum OutputSignal {
SUBSPID6 = 157,
SUBSPID7 = 158,
SUBSPIDQS = 159,
PWM0_0A = 160,
PWM0_0B = 161,
PWM0_1A = 162,
PWM0_1B = 163,
PWM0_2A = 164,
PWM0_2B = 165,
PWM1_0A = 166,
PWM1_0B = 167,
PWM1_1A = 168,
PWM1_1B = 169,
PWM1_2A = 170,
PWM1_2B = 171,
SDIO_TOHOST_INT = 177,
PCMFSYNC = 194,
PCMCLK = 195,
Expand Down