Type Alias d1_pac::uart::mcr::FUNCTION_W

source ·
pub type FUNCTION_W<'a, const O: u8> = FieldWriter<'a, u32, MCR_SPEC, u8, FUNCTION_A, 2, O>;
Expand description

Field function writer - UART Function: Select IrDA or RS485

Aliased Type§

struct FUNCTION_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> FUNCTION_W<'a, O>

source

pub fn uart(self) -> &'a mut W

0

source

pub fn ir_da_sir(self) -> &'a mut W

1

source

pub fn rs485(self) -> &'a mut W

10