pub struct Port2 { /* private fields */ }Expand description
PORT.
Implementations§
Source§impl Port2
impl Port2
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn verid(self) -> Reg<Port2Verid, R>
pub const fn verid(self) -> Reg<Port2Verid, R>
Version ID.
Sourcepub const fn gpclr(self) -> Reg<Port2Gpclr, RW>
pub const fn gpclr(self) -> Reg<Port2Gpclr, RW>
Global Pin Control Low.
Sourcepub const fn gpchr(self) -> Reg<Port2Gpchr, RW>
pub const fn gpchr(self) -> Reg<Port2Gpchr, RW>
Global Pin Control High.
Sourcepub const fn config(self) -> Reg<Port2Config, RW>
pub const fn config(self) -> Reg<Port2Config, RW>
Configuration.
Sourcepub const fn pcr12(self) -> Reg<Port2Pcr12, RW>
pub const fn pcr12(self) -> Reg<Port2Pcr12, RW>
Pin Control 12.
Sourcepub const fn pcr13(self) -> Reg<Port2Pcr13, RW>
pub const fn pcr13(self) -> Reg<Port2Pcr13, RW>
Pin Control 13.
Sourcepub const fn pcr16(self) -> Reg<Port2Pcr16, RW>
pub const fn pcr16(self) -> Reg<Port2Pcr16, RW>
Pin Control 16.
Sourcepub const fn pcr17(self) -> Reg<Port2Pcr17, RW>
pub const fn pcr17(self) -> Reg<Port2Pcr17, RW>
Pin Control 17.
Sourcepub const fn pcr20(self) -> Reg<Port2Pcr20, RW>
pub const fn pcr20(self) -> Reg<Port2Pcr20, RW>
Pin Control 20.
Sourcepub const fn pcr21(self) -> Reg<Port2Pcr21, RW>
pub const fn pcr21(self) -> Reg<Port2Pcr21, RW>
Pin Control 21.
Trait Implementations§
impl Copy for Port2
impl Eq for Port2
impl Send for Port2
impl StructuralPartialEq for Port2
impl Sync for Port2
Auto Trait Implementations§
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