#[repr(transparent)]pub struct W014(pub u32);Expand description
Word pin registers for all port GPIO pins
Tuple Fields§
§0: u32Implementations§
Source§impl W014
impl W014
Sourcepub const fn pword(&self) -> u32
pub const fn pword(&self) -> u32
Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package.
Sourcepub const fn set_pword(&mut self, val: u32)
pub const fn set_pword(&mut self, val: u32)
Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package.
Trait Implementations§
impl Copy for W014
impl Eq for W014
impl StructuralPartialEq for W014
Auto Trait Implementations§
impl Freeze for W014
impl RefUnwindSafe for W014
impl Send for W014
impl Sync for W014
impl Unpin for W014
impl UnwindSafe for W014
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