Struct esp32c2_hal::pac::system::external_device_encrypt_decrypt_control::W
pub struct W(_);
Expand description
Register EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL
writer
Implementations
impl W
impl W
pub fn enable_spi_manual_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 0>
pub fn enable_spi_manual_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 0>
Bit 0 - Set 1 to enable the SPI manual encrypt.
pub fn enable_download_db_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 1>
pub fn enable_download_db_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 1>
Bit 1 - Set 1 to enable download DB encrypt.
pub fn enable_download_g0cb_decrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 2>
pub fn enable_download_g0cb_decrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 2>
Bit 2 - Set 1 to enable download G0CB decrypt
pub fn enable_download_manual_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 3>
pub fn enable_download_manual_encrypt(
&mut self
) -> BitWriterRaw<'_, u32, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, bool, BitM, 3>
Bit 3 - Set 1 to enable download manual encrypt
Methods from Deref<Target = W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations
impl From<W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>> for W
impl From<W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>> for W
fn from(writer: W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>) -> W
fn from(writer: W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>) -> W
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