Type Alias esp32h2::tee::m4_mode_ctrl::W

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

Register M4_MODE_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn m4_mode(&mut self) -> M4_MODE_W<'_, M4_MODE_CTRL_SPEC>

Bits 0:1 - M4 security level mode: 2’d3: ree_mode2. 2’d2: ree_mode1. 2’d1: ree_mode0. 2’d0: tee_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