#[repr(u8)]pub enum LENGTH_A {
_1B = 1,
_2B = 2,
_3B = 3,
_4B = 4,
_5B = 5,
_6B = 6,
_7B = 7,
_8B = 8,
_9B = 9,
}
Expand description
Length of custom instruction in number of bytes.
Value on reset: 0
Variants§
_1B = 1
1: Send opcode only.
_2B = 2
2: Send opcode, CINSTRDAT0.BYTE0.
_3B = 3
3: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE1.
_4B = 4
4: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE2.
_5B = 5
5: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE3.
_6B = 6
6: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE4.
_7B = 7
7: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE5.
_8B = 8
8: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE6.
_9B = 9
9: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE7.
Trait Implementations§
impl Copy for LENGTH_A
impl StructuralPartialEq for LENGTH_A
Auto Trait Implementations§
impl Freeze for LENGTH_A
impl RefUnwindSafe for LENGTH_A
impl Send for LENGTH_A
impl Sync for LENGTH_A
impl Unpin for LENGTH_A
impl UnwindSafe for LENGTH_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)