Type Alias esp32h2::systimer::comp2_load::W

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

Register COMP2_LOAD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer_comp2_load(&mut self) -> TIMER_COMP2_LOAD_W<'_, COMP2_LOAD_SPEC, 0>

Bit 0 - timer comp2 sync enable signal

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