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