Type Alias esp32s2::io_mux::pin_ctrl::R

source ·
pub type R = R<PIN_CTRL_SPEC>;
Expand description

Register PIN_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn pin_clk_out1(&self) -> PIN_CLK_OUT1_R

Bits 0:3 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT1. 15: disabled.

source

pub fn pin_clk_out2(&self) -> PIN_CLK_OUT2_R

Bits 4:7 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT2. 15: disabled.

source

pub fn pin_clk_out3(&self) -> PIN_CLK_OUT3_R

Bits 8:11 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT3. 15: disabled.

source

pub fn switch_prt_num(&self) -> SWITCH_PRT_NUM_R

Bits 12:14 - IO pin power switch delay, delay unit is one APB clock.

source

pub fn pad_power_ctrl(&self) -> PAD_POWER_CTRL_R

Bit 15 - Select power voltage for GPIO33 ~ GPIO37. 1: select VDD_SPI 1.8 V. 0: select VDD3P3_CPU 3.3 V.