#[repr(C)]pub struct RegisterBlock {
pub cont: Reg<CONT_SPEC>,
pub contclr: Reg<CONTCLR_SPEC>,
pub contset: Reg<CONTSET_SPEC>,
pub continv: Reg<CONTINV_SPEC>,
pub r: Reg<R_SPEC>,
pub rclr: Reg<RCLR_SPEC>,
pub rset: Reg<RSET_SPEC>,
pub rinv: Reg<RINV_SPEC>,
pub rs: Reg<RS_SPEC>,
pub rsclr: Reg<RSCLR_SPEC>,
pub rsset: Reg<RSSET_SPEC>,
pub rsinv: Reg<RSINV_SPEC>,
}Expand description
Register block
Fields§
§cont: Reg<CONT_SPEC>0x00 - OC3CON register
contclr: Reg<CONTCLR_SPEC>0x04 - OC3CONCLR register
contset: Reg<CONTSET_SPEC>0x08 - OC3CONSET register
continv: Reg<CONTINV_SPEC>0x0c - OC3CONINV register
r: Reg<R_SPEC>0x10 - OC3R register
rclr: Reg<RCLR_SPEC>0x14 - OC3RCLR register
rset: Reg<RSET_SPEC>0x18 - OC3RSET register
rinv: Reg<RINV_SPEC>0x1c - OC3RINV register
rs: Reg<RS_SPEC>0x20 - OC3RS register
rsclr: Reg<RSCLR_SPEC>0x24 - OC3RSCLR register
rsset: Reg<RSSET_SPEC>0x28 - OC3RSSET register
rsinv: Reg<RSINV_SPEC>0x2c - OC3RSINV 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