Struct atmega_hal::pac::portb::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub pinb: Reg<PINB_SPEC>,
pub ddrb: Reg<DDRB_SPEC>,
pub portb: Reg<PORTB_SPEC>,
}
Expand description
Register block
Fields§
§pinb: Reg<PINB_SPEC>
0x00 - Port B Input Pins
ddrb: Reg<DDRB_SPEC>
0x01 - Port B Data Direction Register
portb: Reg<PORTB_SPEC>
0x02 - Port B Data Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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