pub struct R(_);
Expand description
Register PIN%s
reader
Implementations
sourceimpl R
impl R
sourcepub fn pin_sync2_bypass(&self) -> PIN_SYNC2_BYPASS_R
pub fn pin_sync2_bypass(&self) -> PIN_SYNC2_BYPASS_R
Bits 0:1 - set GPIO input_sync2 signal mode. :disable. 1:trigger at negedge. 2or3:trigger at posedge.
sourcepub fn pin_pad_driver(&self) -> PIN_PAD_DRIVER_R
pub fn pin_pad_driver(&self) -> PIN_PAD_DRIVER_R
Bit 2 - set this bit to select pad driver. 1:open-drain. :normal.
sourcepub fn pin_sync1_bypass(&self) -> PIN_SYNC1_BYPASS_R
pub fn pin_sync1_bypass(&self) -> PIN_SYNC1_BYPASS_R
Bits 3:4 - set GPIO input_sync1 signal mode. :disable. 1:trigger at negedge. 2or3:trigger at posedge.
sourcepub fn pin_int_type(&self) -> PIN_INT_TYPE_R
pub fn pin_int_type(&self) -> PIN_INT_TYPE_R
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(&self) -> PIN_WAKEUP_ENABLE_R
pub fn pin_wakeup_enable(&self) -> PIN_WAKEUP_ENABLE_R
Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)
sourcepub fn pin_config(&self) -> PIN_CONFIG_R
pub fn pin_config(&self) -> PIN_CONFIG_R
Bits 11:12 - reserved
sourcepub fn pin_int_ena(&self) -> PIN_INT_ENA_R
pub fn pin_int_ena(&self) -> PIN_INT_ENA_R
Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt.
Methods from Deref<Target = R<PIN_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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