Type Alias esp32c6::trace::trigger::R

source ·
pub type R = R<TRIGGER_SPEC>;
Expand description

Register TRIGGER reader

Implementations§

source§

impl R

source

pub fn mem_loop(&self) -> MEM_LOOP_R

Bit 2 - if this reg is 1, trace will loop wrtie trace_mem. If is 0, when mem_current_addr at mem_end_addr, it will stop at the mem_end_addr

source

pub fn restart_ena(&self) -> RESTART_ENA_R

Bit 3 - enable encoder auto-restart, when lost package, the encoder will end, if enable auto-restart, when fifo empty, encoder will restart and send a sync package.