Type Alias esp32c3::systimer::comp1_load::W

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

Register COMP1_LOAD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer_comp1_load(&mut self) -> TIMER_COMP1_LOAD_W<'_, COMP1_LOAD_SPEC>

Bit 0 - timer comp1 load value

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