Type Alias esp32h2::systimer::target2_hi::W

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

Register TARGET2_HI writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer_target2_hi(&mut self) -> TIMER_TARGET2_HI_W<'_, TARGET2_HI_SPEC, 0>

Bits 0:19 - timer taget2 high 20 bits

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