pub struct Ocotp { /* private fields */ }Expand description
LPC-Next0 OTP controller
Implementations§
Source§impl Ocotp
impl Ocotp
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn otp_write_data(self) -> Reg<OtpWriteData, R>
pub const fn otp_write_data(self) -> Reg<OtpWriteData, R>
OTP programming data register
Sourcepub const fn otp_read_ctrl(self) -> Reg<OtpReadCtrl, RW>
pub const fn otp_read_ctrl(self) -> Reg<OtpReadCtrl, RW>
OTP read start register
Sourcepub const fn otp_read_data(self) -> Reg<OtpReadData, R>
pub const fn otp_read_data(self) -> Reg<OtpReadData, R>
OTP read data register
Sourcepub const fn otp_clk_div(self) -> Reg<OtpClkDiv, RW>
pub const fn otp_clk_div(self) -> Reg<OtpClkDiv, RW>
OTP clock divider register
Sourcepub const fn otp_crc_addr(self) -> Reg<OtpCrcAddr, RW>
pub const fn otp_crc_addr(self) -> Reg<OtpCrcAddr, RW>
CRC address range register
Sourcepub const fn otp_crc_value(self) -> Reg<OtpCrcValue, RW>
pub const fn otp_crc_value(self) -> Reg<OtpCrcValue, RW>
CRC result register
Sourcepub const fn otp_status(self) -> Reg<OtpStatus, RW>
pub const fn otp_status(self) -> Reg<OtpStatus, RW>
Status register
Sourcepub const fn otp_version(self) -> Reg<OtpVersion, R>
pub const fn otp_version(self) -> Reg<OtpVersion, R>
VERSION ID register
Trait Implementations§
impl Copy for Ocotp
impl Eq for Ocotp
impl Send for Ocotp
impl StructuralPartialEq for Ocotp
impl Sync for Ocotp
Auto Trait Implementations§
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