Struct atmega_hal::pac::PORTB
source · [−]pub struct PORTB { /* private fields */ }
Expand description
I/O Port
Implementations
sourceimpl PORTB
impl PORTB
sourcepub const PTR: *const RegisterBlock = {0x23 as *const avr_device::atmega328p::portb::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x23 as *const avr_device::atmega328p::portb::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more