pub struct RegisterBlock {Show 17 fields
pub con1: Reg<CON1_SPEC>,
pub con1clr: Reg<CON1CLR_SPEC>,
pub con1set: Reg<CON1SET_SPEC>,
pub con1inv: Reg<CON1INV_SPEC>,
pub stat: Reg<STAT_SPEC>,
pub statclr: Reg<STATCLR_SPEC>,
pub statset: Reg<STATSET_SPEC>,
pub statinv: Reg<STATINV_SPEC>,
pub buf: Reg<BUF_SPEC>,
pub brg: Reg<BRG_SPEC>,
pub brgclr: Reg<BRGCLR_SPEC>,
pub brgset: Reg<BRGSET_SPEC>,
pub brginv: Reg<BRGINV_SPEC>,
pub con2: Reg<CON2_SPEC>,
pub con2clr: Reg<CON2CLR_SPEC>,
pub con2set: Reg<CON2SET_SPEC>,
pub con2inv: Reg<CON2INV_SPEC>,
/* private fields */
}Expand description
Register block
Fields§
§con1: Reg<CON1_SPEC>0x00 - SPI1CON register
con1clr: Reg<CON1CLR_SPEC>0x04 - SPI1CONCLR register
con1set: Reg<CON1SET_SPEC>0x08 - SPI1CONSET register
con1inv: Reg<CON1INV_SPEC>0x0c - SPI1CONINV register
stat: Reg<STAT_SPEC>0x10 - SPI1STAT register
statclr: Reg<STATCLR_SPEC>0x14 - SPI1STATCLR register
statset: Reg<STATSET_SPEC>0x18 - SPI1STATSET register
statinv: Reg<STATINV_SPEC>0x1c - SPI1STATINV register
buf: Reg<BUF_SPEC>0x20 - SPI1BUF register
brg: Reg<BRG_SPEC>0x30 - SPI1BRG register
brgclr: Reg<BRGCLR_SPEC>0x34 - SPI1BRGCLR register
brgset: Reg<BRGSET_SPEC>0x38 - SPI1BRGSET register
brginv: Reg<BRGINV_SPEC>0x3c - SPI1BRGINV register
con2: Reg<CON2_SPEC>0x40 - SPI1CON2 register
con2clr: Reg<CON2CLR_SPEC>0x44 - SPI1CON2CLR register
con2set: Reg<CON2SET_SPEC>0x48 - SPI1CON2SET register
con2inv: Reg<CON2INV_SPEC>0x4c - SPI1CON2INV register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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