Type Alias esp32h2::pcr::rsa_pd_ctrl::W

source ·
pub type W = W<RSA_PD_CTRL_SPEC>;
Expand description

Register RSA_PD_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W<'_, RSA_PD_CTRL_SPEC, 0>

Bit 0 - Set this bit to power down rsa internal memory.

source

pub fn rsa_mem_force_pu( &mut self ) -> RSA_MEM_FORCE_PU_W<'_, RSA_PD_CTRL_SPEC, 1>

Bit 1 - Set this bit to force power up rsa internal memory

source

pub fn rsa_mem_force_pd( &mut self ) -> RSA_MEM_FORCE_PD_W<'_, RSA_PD_CTRL_SPEC, 2>

Bit 2 - Set this bit to force power down rsa internal memory.

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