Struct esp32c2_hal::pac::system::external_device_encrypt_decrypt_control::R
pub struct R(_);
Expand description
Register EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL
reader
Implementations
impl R
impl R
pub fn enable_spi_manual_encrypt(&self) -> BitReaderRaw<bool>
pub fn enable_spi_manual_encrypt(&self) -> BitReaderRaw<bool>
Bit 0 - Set 1 to enable the SPI manual encrypt.
pub fn enable_download_db_encrypt(&self) -> BitReaderRaw<bool>
pub fn enable_download_db_encrypt(&self) -> BitReaderRaw<bool>
Bit 1 - Set 1 to enable download DB encrypt.
pub fn enable_download_g0cb_decrypt(&self) -> BitReaderRaw<bool>
pub fn enable_download_g0cb_decrypt(&self) -> BitReaderRaw<bool>
Bit 2 - Set 1 to enable download G0CB decrypt
pub fn enable_download_manual_encrypt(&self) -> BitReaderRaw<bool>
pub fn enable_download_manual_encrypt(&self) -> BitReaderRaw<bool>
Bit 3 - Set 1 to enable download manual encrypt
Methods from Deref<Target = R<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>> for R
impl From<R<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>> for R
fn from(reader: R<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>) -> R
fn from(reader: R<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more