Struct lpc177x_8x::uart1::ier::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn rbrie(&mut self) -> _RBRIEW
[src]
pub fn rbrie(&mut self) -> _RBRIEW
Bit 0 - RBR Interrupt Enable. Enables the Receive Data Available interrupt for UART1. It also controls the Character Receive Time-out interrupt.
pub fn threie(&mut self) -> _THREIEW
[src]
pub fn threie(&mut self) -> _THREIEW
Bit 1 - THRE Interrupt Enable. Enables the THRE interrupt for UART1. The status of this interrupt can be read from LSR[5].
pub fn rxie(&mut self) -> _RXIEW
[src]
pub fn rxie(&mut self) -> _RXIEW
Bit 2 - RX Line Interrupt Enable. Enables the UART1 RX line status interrupts. The status of this interrupt can be read from LSR[4:1].
pub fn msie(&mut self) -> _MSIEW
[src]
pub fn msie(&mut self) -> _MSIEW
Bit 3 - Modem Status Interrupt Enable. Enables the modem interrupt. The status of this interrupt can be read from MSR[3:0].
pub fn ctsie(&mut self) -> _CTSIEW
[src]
pub fn ctsie(&mut self) -> _CTSIEW
Bit 7 - CTS Interrupt Enable. If auto-cts mode is enabled this bit enables/disables the modem status interrupt generation on a CTS1 signal transition. If auto-cts mode is disabled a CTS1 transition will generate an interrupt if Modem Status Interrupt Enable (IER[3]) is set. In normal operation a CTS1 signal transition will generate a Modem Status Interrupt unless the interrupt has been disabled by clearing the IER[3] bit in the IER register. In auto-cts mode a transition on the CTS1 bit will trigger an interrupt only if both the IER[3] and IER[7] bits are set.
pub fn abeoie(&mut self) -> _ABEOIEW
[src]
pub fn abeoie(&mut self) -> _ABEOIEW
Bit 8 - Enables the end of auto-baud interrupt.
pub fn abtoie(&mut self) -> _ABTOIEW
[src]
pub fn abtoie(&mut self) -> _ABTOIEW
Bit 9 - Enables the auto-baud time-out interrupt.