pub struct W(_);Expand description
Register PIN%s writer
Implementations
sourceimpl W
impl W
sourcepub fn pin_sync2_bypass(&mut self) -> PIN_SYNC2_BYPASS_W<'_, 0>
pub fn pin_sync2_bypass(&mut self) -> PIN_SYNC2_BYPASS_W<'_, 0>
Bits 0:1 - set GPIO input_sync2 signal mode. :disable. 1:trigger at negedge. 2or3:trigger at posedge.
sourcepub fn pin_pad_driver(&mut self) -> PIN_PAD_DRIVER_W<'_, 2>
pub fn pin_pad_driver(&mut self) -> PIN_PAD_DRIVER_W<'_, 2>
Bit 2 - set this bit to select pad driver. 1:open-drain. :normal.
sourcepub fn pin_sync1_bypass(&mut self) -> PIN_SYNC1_BYPASS_W<'_, 3>
pub fn pin_sync1_bypass(&mut self) -> PIN_SYNC1_BYPASS_W<'_, 3>
Bits 3:4 - set GPIO input_sync1 signal mode. :disable. 1:trigger at negedge. 2or3:trigger at posedge.
sourcepub fn pin_int_type(&mut self) -> PIN_INT_TYPE_W<'_, 7>
pub fn pin_int_type(&mut self) -> PIN_INT_TYPE_W<'_, 7>
Bits 7:9 - set this value to choose interrupt mode. :disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level
sourcepub fn pin_wakeup_enable(&mut self) -> PIN_WAKEUP_ENABLE_W<'_, 10>
pub fn pin_wakeup_enable(&mut self) -> PIN_WAKEUP_ENABLE_W<'_, 10>
Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)
sourcepub fn pin_config(&mut self) -> PIN_CONFIG_W<'_, 11>
pub fn pin_config(&mut self) -> PIN_CONFIG_W<'_, 11>
Bits 11:12 - reserved
sourcepub fn pin_int_ena(&mut self) -> PIN_INT_ENA_W<'_, 13>
pub fn pin_int_ena(&mut self) -> PIN_INT_ENA_W<'_, 13>
Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt.
Methods from Deref<Target = W<PIN_SPEC>>
Trait Implementations
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