Type Alias rp2040_pac::pads_bank0::swclk::W
source · pub type W = W<SWCLK_SPEC>;
Expand description
Register SWCLK
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn slewfast(&mut self) -> SLEWFAST_W<'_, SWCLK_SPEC>
pub fn slewfast(&mut self) -> SLEWFAST_W<'_, SWCLK_SPEC>
Bit 0 - Slew rate control. 1 = Fast, 0 = Slow
sourcepub fn schmitt(&mut self) -> SCHMITT_W<'_, SWCLK_SPEC>
pub fn schmitt(&mut self) -> SCHMITT_W<'_, SWCLK_SPEC>
Bit 1 - Enable schmitt trigger
sourcepub fn pde(&mut self) -> PDE_W<'_, SWCLK_SPEC>
pub fn pde(&mut self) -> PDE_W<'_, SWCLK_SPEC>
Bit 2 - Pull down enable
sourcepub fn pue(&mut self) -> PUE_W<'_, SWCLK_SPEC>
pub fn pue(&mut self) -> PUE_W<'_, SWCLK_SPEC>
Bit 3 - Pull up enable
sourcepub fn drive(&mut self) -> DRIVE_W<'_, SWCLK_SPEC>
pub fn drive(&mut self) -> DRIVE_W<'_, SWCLK_SPEC>
Bits 4:5 - Drive strength.
sourcepub fn ie(&mut self) -> IE_W<'_, SWCLK_SPEC>
pub fn ie(&mut self) -> IE_W<'_, SWCLK_SPEC>
Bit 6 - Input enable
sourcepub fn od(&mut self) -> OD_W<'_, SWCLK_SPEC>
pub fn od(&mut self) -> OD_W<'_, SWCLK_SPEC>
Bit 7 - Output disable. Has priority over output enable from peripherals