Type Alias esp32h2::uart0::hwfc_conf::W

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

Register HWFC_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_, HWFC_CONF_SPEC, 0>

Bits 0:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works.

source

pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W<'_, HWFC_CONF_SPEC, 8>

Bit 8 - This is the flow enable bit for UART receiver.

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