#[repr(transparent)]pub struct W027(pub u32);Expand description
Word pin registers for all port GPIO pins
Tuple Fields§
§0: u32Implementations§
Source§impl W027
impl W027
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 W027
impl Eq for W027
impl StructuralPartialEq for W027
Auto Trait Implementations§
impl Freeze for W027
impl RefUnwindSafe for W027
impl Send for W027
impl Sync for W027
impl Unpin for W027
impl UnwindSafe for W027
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