pub struct W(/* private fields */);Expand description
Register GPIO_PIN12 writer
Implementations§
Source§impl W
impl W
Sourcepub fn gpio_pin12_wakeup_enable(&mut self) -> GPIO_PIN12_WAKEUP_ENABLE_W<'_>
pub fn gpio_pin12_wakeup_enable(&mut self) -> GPIO_PIN12_WAKEUP_ENABLE_W<'_>
Bit 10 - 0: disable; 1: enable GPIO wakeup CPU, only when GPIO_PIN0_INT_TYPE is 0x4 or 0x5
Sourcepub fn gpio_pin12_int_type(&mut self) -> GPIO_PIN12_INT_TYPE_W<'_>
pub fn gpio_pin12_int_type(&mut self) -> GPIO_PIN12_INT_TYPE_W<'_>
Bits 7:9 - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level
Sourcepub fn gpio_pin12_driver(&mut self) -> GPIO_PIN12_DRIVER_W<'_>
pub fn gpio_pin12_driver(&mut self) -> GPIO_PIN12_DRIVER_W<'_>
Bit 2 - 1: open drain; 0: normal
Sourcepub fn gpio_pin12_source(&mut self) -> GPIO_PIN12_SOURCE_W<'_>
pub fn gpio_pin12_source(&mut self) -> GPIO_PIN12_SOURCE_W<'_>
Bit 0 - 1: sigma-delta; 0: GPIO_DATA
Methods from Deref<Target = W<GPIO_PIN12_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more