pub struct W(_);
Expand description
Register PIN_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn pin_clk_out1(&mut self) -> PIN_CLK_OUT1_W<'_, 0>
pub fn pin_clk_out1(&mut self) -> PIN_CLK_OUT1_W<'_, 0>
Bits 0:3 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT1. 15: disabled.
sourcepub fn pin_clk_out2(&mut self) -> PIN_CLK_OUT2_W<'_, 4>
pub fn pin_clk_out2(&mut self) -> PIN_CLK_OUT2_W<'_, 4>
Bits 4:7 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT2. 15: disabled.
sourcepub fn pin_clk_out3(&mut self) -> PIN_CLK_OUT3_W<'_, 8>
pub fn pin_clk_out3(&mut self) -> PIN_CLK_OUT3_W<'_, 8>
Bits 8:11 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT3. 15: disabled.
sourcepub fn switch_prt_num(&mut self) -> SWITCH_PRT_NUM_W<'_, 12>
pub fn switch_prt_num(&mut self) -> SWITCH_PRT_NUM_W<'_, 12>
Bits 12:14 - IO pin power switch delay, delay unit is one APB clock.
sourcepub fn pad_power_ctrl(&mut self) -> PAD_POWER_CTRL_W<'_, 15>
pub fn pad_power_ctrl(&mut self) -> PAD_POWER_CTRL_W<'_, 15>
Bit 15 - Select power voltage for GPIO33 ~ GPIO37. 1: select VDD_SPI 1.8 V. 0: select VDD3P3_CPU 3.3 V.
Methods from Deref<Target = W<PIN_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<PIN_CTRL_SPEC>> for W
impl From<W<PIN_CTRL_SPEC>> for W
sourcefn from(writer: W<PIN_CTRL_SPEC>) -> Self
fn from(writer: W<PIN_CTRL_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more