Type Alias d1_pac::uart::mcr::FUNCTION_R
source · pub type FUNCTION_R = FieldReader<u8, FUNCTION_A>;
Expand description
Field function
reader - UART Function: Select IrDA or RS485
Aliased Type§
struct FUNCTION_R { /* private fields */ }
Implementations§
source§impl FUNCTION_R
impl FUNCTION_R
sourcepub fn variant(&self) -> FUNCTION_A
pub fn variant(&self) -> FUNCTION_A
Get enumerated values variant
sourcepub fn is_ir_da_sir(&self) -> bool
pub fn is_ir_da_sir(&self) -> bool
Checks if the value of the field is IR_DA_SIR