#[repr(transparent)]pub struct RpmcSupport1(pub u32);Expand description
RPMC Support 1
Tuple Fields§
§0: u32Implementations§
Source§impl RpmcSupport1
impl RpmcSupport1
Sourcepub const fn target_rpmc_supported(&self) -> TargetRpmcSupported
pub const fn target_rpmc_supported(&self) -> TargetRpmcSupported
Target RPMC Supported
Sourcepub const fn set_target_rpmc_supported(&mut self, val: TargetRpmcSupported)
pub const fn set_target_rpmc_supported(&mut self, val: TargetRpmcSupported)
Target RPMC Supported
Sourcepub const fn num_of_target(&self) -> NumOfTarget
pub const fn num_of_target(&self) -> NumOfTarget
Number of Target Attached Flash RPMC flash devices
Sourcepub const fn set_num_of_target(&mut self, val: NumOfTarget)
pub const fn set_num_of_target(&mut self, val: NumOfTarget)
Number of Target Attached Flash RPMC flash devices
Sourcepub const fn set_rpmc_op1(&mut self, val: u8)
pub const fn set_rpmc_op1(&mut self, val: u8)
RPMC OP1 Opcode on the 1st RPMC Flash device
Sourcepub const fn rpmc_counter(&self) -> u8
pub const fn rpmc_counter(&self) -> u8
RPMC Counter on the 1st RPMC Flash device
Sourcepub const fn set_rpmc_counter(&mut self, val: u8)
pub const fn set_rpmc_counter(&mut self, val: u8)
RPMC Counter on the 1st RPMC Flash device
Sourcepub const fn rpmc_op1_2(&self) -> u8
pub const fn rpmc_op1_2(&self) -> u8
RPMC OP1 Opcode on the 2nd RPMC Flash device
Sourcepub const fn set_rpmc_op1_2(&mut self, val: u8)
pub const fn set_rpmc_op1_2(&mut self, val: u8)
RPMC OP1 Opcode on the 2nd RPMC Flash device
Sourcepub const fn rpmc_counter_2(&self) -> u8
pub const fn rpmc_counter_2(&self) -> u8
RPMC Counter on the 2nd RPMC Flash device
Sourcepub const fn set_rpmc_counter_2(&mut self, val: u8)
pub const fn set_rpmc_counter_2(&mut self, val: u8)
RPMC Counter on the 2nd RPMC Flash device
Trait Implementations§
Source§impl Clone for RpmcSupport1
impl Clone for RpmcSupport1
Source§fn clone(&self) -> RpmcSupport1
fn clone(&self) -> RpmcSupport1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpmcSupport1
impl Debug for RpmcSupport1
Source§impl Default for RpmcSupport1
impl Default for RpmcSupport1
Source§fn default() -> RpmcSupport1
fn default() -> RpmcSupport1
Returns the “default value” for a type. Read more
Source§impl PartialEq for RpmcSupport1
impl PartialEq for RpmcSupport1
impl Copy for RpmcSupport1
impl Eq for RpmcSupport1
impl StructuralPartialEq for RpmcSupport1
Auto Trait Implementations§
impl Freeze for RpmcSupport1
impl RefUnwindSafe for RpmcSupport1
impl Send for RpmcSupport1
impl Sync for RpmcSupport1
impl Unpin for RpmcSupport1
impl UnwindSafe for RpmcSupport1
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