#[repr(transparent)]pub struct B029(pub u8);Expand description
Byte pin registers for all port GPIO pins
Tuple Fields§
§0: u8Implementations§
Source§impl B029
impl B029
Sourcepub const fn pbyte(&self) -> bool
pub const fn pbyte(&self) -> bool
Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin’s output bit. One register for each port pin. Supported pins depends on the specific device and package.
Sourcepub const fn set_pbyte(&mut self, val: bool)
pub const fn set_pbyte(&mut self, val: bool)
Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin’s output bit. One register for each port pin. Supported pins depends on the specific device and package.