Type Alias esp32c6::uart0::id::W

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

Register ID writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn id(&mut self) -> ID_W<'_, ID_SPEC>

Bits 0:31 - This register is used to configure the uart_id.

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