Struct atmega_hal::pac::spi::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub spcr: Reg<SPCR_SPEC>,
pub spsr: Reg<SPSR_SPEC>,
pub spdr: Reg<SPDR_SPEC>,
}
Expand description
Register block
Fields§
§spcr: Reg<SPCR_SPEC>
0x00 - SPI Control Register
spsr: Reg<SPSR_SPEC>
0x01 - SPI Status Register
spdr: Reg<SPDR_SPEC>
0x02 - SPI Data Register
Auto Trait Implementations§
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