pub type W = W<TRIGGER_SPEC>;
Expand description
Register TRIGGER
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn on(&mut self) -> ON_W<'_, TRIGGER_SPEC>
pub fn on(&mut self) -> ON_W<'_, TRIGGER_SPEC>
Bit 0 - 0] set 1 start trace.
sourcepub fn off(&mut self) -> OFF_W<'_, TRIGGER_SPEC>
pub fn off(&mut self) -> OFF_W<'_, TRIGGER_SPEC>
Bit 1 - set 1 stop trace.
sourcepub fn mem_loop(&mut self) -> MEM_LOOP_W<'_, TRIGGER_SPEC>
pub fn mem_loop(&mut self) -> MEM_LOOP_W<'_, TRIGGER_SPEC>
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
sourcepub fn restart_ena(&mut self) -> RESTART_ENA_W<'_, TRIGGER_SPEC>
pub fn restart_ena(&mut self) -> RESTART_ENA_W<'_, TRIGGER_SPEC>
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.