Type Alias esp32h2::io_mux::modem_diag_en::W

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

Register MODEM_DIAG_EN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn modem_diag_en(&mut self) -> MODEM_DIAG_EN_W<'_, MODEM_DIAG_EN_SPEC>

Bits 0:31 - bit i to enable modem_diag[i] into gpio matrix. 1:enable modem_diag[i] into gpio matrix. 0:enable other signals into gpio matrix

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