Type Alias esp32c6::parl_io::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_fifo_rempty_int_ena( &mut self ) -> TX_FIFO_REMPTY_INT_ENA_W<'_, INT_ENA_SPEC, 0>

Bit 0 - Write 1 to enable TX_FIFO_REMPTY_INTR.

source

pub fn rx_fifo_wfull_int_ena( &mut self ) -> RX_FIFO_WFULL_INT_ENA_W<'_, INT_ENA_SPEC, 1>

Bit 1 - Write 1 to enable RX_FIFO_WFULL_INTR.

source

pub fn tx_eof_int_ena(&mut self) -> TX_EOF_INT_ENA_W<'_, INT_ENA_SPEC, 2>

Bit 2 - Write 1 to enable TX_EOF_INTR.

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