esp32h2::mem_monitor::log_setting

Type Alias R

Source
pub type R = R<LOG_SETTING_SPEC>;
Expand description

Register LOG_SETTING reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn log_ena(&self) -> LOG_ENA_R

Bits 0:2 - enable bus log. BIT0: hp-cpu, BIT1: lp-cpu, BIT2: DMA.823 don’t support lp-cpu

Source

pub fn log_mode(&self) -> LOG_MODE_R

Bits 3:6 - This field must be onehot. 4’b0001 : WR monitor, 4’b0010: WORD monitor, 4’b0100: HALFWORD monitor, 4’b1000: BYTE monitor.

Source

pub fn log_mem_loop_enable(&self) -> LOG_MEM_LOOP_ENABLE_R

Bit 7 - Set 1 enable mem_loop, it will loop write at the range of MEM_START and MEM_END