Type Alias esp32h2::tee::m6_mode_ctrl::W

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

Register M6_MODE_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn m6_mode(&mut self) -> M6_MODE_W<'_, M6_MODE_CTRL_SPEC>

Bits 0:1 - M6 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