Type Alias esp32h2::trace::resync_prolonged::W

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

Register RESYNC_PROLONGED writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn resync_prolonged( &mut self ) -> RESYNC_PROLONGED_W<'_, RESYNC_PROLONGED_SPEC, 0>

Bits 0:23 - count number, when count to this value, send a sync package

source

pub fn resync_mode(&mut self) -> RESYNC_MODE_W<'_, RESYNC_PROLONGED_SPEC, 24>

Bit 24 - resyc mode sel: 0: default, cycle count 1: package num count

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