Type Alias esp32h2::tee::m12_mode_ctrl::W

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

Register M12_MODE_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn m12_mode(&mut self) -> M12_MODE_W<'_, M12_MODE_CTRL_SPEC, 0>

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