pub struct SM_INSTR_SPEC;
Expand description
Read to see the instruction currently addressed by state machine 0’s program counter
Write to execute an instruction immediately (including jumps) and then resume execution.
You can read
this register and get sm_instr::R
. You can reset
, write
, write_with_zero
this register using sm_instr::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for SM_INSTR_SPEC
impl RegisterSpec for SM_INSTR_SPEC
Source§impl Resettable for SM_INSTR_SPEC
reset()
method sets SM_INSTR to value 0
impl Resettable for SM_INSTR_SPEC
reset()
method sets SM_INSTR to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for SM_INSTR_SPEC
write(|w| ..)
method takes sm_instr::W
writer structure
impl Writable for SM_INSTR_SPEC
write(|w| ..)
method takes sm_instr::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for SM_INSTR_SPEC
read()
method returns sm_instr::R
reader structure
Auto Trait Implementations§
impl Freeze for SM_INSTR_SPEC
impl RefUnwindSafe for SM_INSTR_SPEC
impl Send for SM_INSTR_SPEC
impl Sync for SM_INSTR_SPEC
impl Unpin for SM_INSTR_SPEC
impl UnwindSafe for SM_INSTR_SPEC
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