pub struct OtpParam;
Expand description
Controls for reading and writing OTP parameters.
Implementations§
Source§impl OtpParam
impl OtpParam
Sourcepub fn read_param(
jtag: &mut dyn Jtag,
param: DaiParam,
out_buf: &mut [u32],
) -> OtpDaiResult<()>
pub fn read_param( jtag: &mut dyn Jtag, param: DaiParam, out_buf: &mut [u32], ) -> OtpDaiResult<()>
Read a parameter from OTP into an output buffer.
Sourcepub fn write_param(
jtag: &mut dyn Jtag,
param: DaiParam,
data: &[u32],
) -> OtpDaiResult<()>
pub fn write_param( jtag: &mut dyn Jtag, param: DaiParam, data: &[u32], ) -> OtpDaiResult<()>
Write a value from a buffer to an OTP parameter.
Auto Trait Implementations§
impl Freeze for OtpParam
impl RefUnwindSafe for OtpParam
impl Send for OtpParam
impl Sync for OtpParam
impl Unpin for OtpParam
impl UnwindSafe for OtpParam
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