pub type W = W<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>;
Expand description

Register EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable_spi_manual_encrypt( &mut self ) -> ENABLE_SPI_MANUAL_ENCRYPT_W<'_, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, 0>

Bit 0 - Set this bit as 1 to enable mspi xts manual encrypt in spi boot mode.

source

pub fn enable_download_db_encrypt( &mut self ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W<'_, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, 1>

Bit 1 - reserved

source

pub fn enable_download_g0cb_decrypt( &mut self ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W<'_, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, 2>

Bit 2 - Set this bit as 1 to enable mspi xts auto decrypt in download boot mode.

source

pub fn enable_download_manual_encrypt( &mut self ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W<'_, EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC, 3>

Bit 3 - Set this bit as 1 to enable mspi xts manual encrypt in download boot mode.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual