#[repr(transparent)]pub struct Popcode2(pub u32);Expand description
Programmable OP Code2
Tuple Fields§
§0: u32Implementations§
Source§impl Popcode2
impl Popcode2
Sourcepub const fn filter_state2(&self) -> u8
pub const fn filter_state2(&self) -> u8
Programmable Filter state 2
Sourcepub const fn set_filter_state2(&mut self, val: u8)
pub const fn set_filter_state2(&mut self, val: u8)
Programmable Filter state 2
Sourcepub const fn filter_bit2(&self) -> FilterBit2
pub const fn filter_bit2(&self) -> FilterBit2
This bit determines whether the Programmable Op Code filter is executed after receipt of the 7th or 8th bit of the Op Code
Sourcepub const fn set_filter_bit2(&mut self, val: FilterBit2)
pub const fn set_filter_bit2(&mut self, val: FilterBit2)
This bit determines whether the Programmable Op Code filter is executed after receipt of the 7th or 8th bit of the Op Code
Sourcepub const fn prg_opcode2(&self) -> u8
pub const fn prg_opcode2(&self) -> u8
Programmable OP Code 0
Sourcepub const fn set_prg_opcode2(&mut self, val: u8)
pub const fn set_prg_opcode2(&mut self, val: u8)
Programmable OP Code 0
Trait Implementations§
impl Copy for Popcode2
impl Eq for Popcode2
impl StructuralPartialEq for Popcode2
Auto Trait Implementations§
impl Freeze for Popcode2
impl RefUnwindSafe for Popcode2
impl Send for Popcode2
impl Sync for Popcode2
impl Unpin for Popcode2
impl UnwindSafe for Popcode2
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