Struct zinc_hal_lpc11xx::ioregs::UART_rs485ctrl [] [src]

pub struct UART_rs485ctrl {
    // some fields omitted
}

Register RS485CTRL: RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes.

Methods

impl UART_rs485ctrl

fn get(&self) -> UART_rs485ctrl_Get

Fetch the value of the RS485CTRL register.

fn nmmen(&self) -> UART_rs485ctrl_nmmen

Get value of NMMEN field.

fn rxdis(&self) -> UART_rs485ctrl_rxdis

Get value of RXDIS field.

fn aaden(&self) -> UART_rs485ctrl_aaden

Get value of AADEN field.

fn sel(&self) -> UART_rs485ctrl_sel

Get value of SEL field.

fn dctrl(&self) -> UART_rs485ctrl_dctrl

Get value of DCTRL field.

fn oinv(&self) -> UART_rs485ctrl_oinv

Get value of OINV field.

fn ignoring_state(&self) -> UART_rs485ctrl_Update

Create new updater that ignores current value of the RS485CTRL register.

fn set_nmmen<'a>(&'a mut self, new_value: UART_rs485ctrl_nmmen) -> UART_rs485ctrl_Update<'a>

Set value of NMMEN field.

fn set_rxdis<'a>(&'a mut self, new_value: UART_rs485ctrl_rxdis) -> UART_rs485ctrl_Update<'a>

Set value of RXDIS field.

fn set_aaden<'a>(&'a mut self, new_value: UART_rs485ctrl_aaden) -> UART_rs485ctrl_Update<'a>

Set value of AADEN field.

fn set_sel<'a>(&'a mut self, new_value: UART_rs485ctrl_sel) -> UART_rs485ctrl_Update<'a>

Set value of SEL field.

fn set_dctrl<'a>(&'a mut self, new_value: UART_rs485ctrl_dctrl) -> UART_rs485ctrl_Update<'a>

Set value of DCTRL field.

fn set_oinv<'a>(&'a mut self, new_value: UART_rs485ctrl_oinv) -> UART_rs485ctrl_Update<'a>

Set value of OINV field.

Trait Implementations

impl Copy for UART_rs485ctrl

Derived Implementations

impl Clone for UART_rs485ctrl

fn clone(&self) -> UART_rs485ctrl

fn clone_from(&mut self, source: &Self)