Type Alias esp32h2::uhci0::ack_num::W

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

Register ACK_NUM writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ack_num(&mut self) -> ACK_NUM_W<'_, ACK_NUM_SPEC, 0>

Bits 0:2 - a

source

pub fn load(&mut self) -> LOAD_W<'_, ACK_NUM_SPEC, 3>

Bit 3 - a

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