W

Type Alias W 

Source
pub type W = W<IER_SPEC>;
Expand description

Register ier writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn erbfi(&mut self) -> ERBFI_W<'_, IER_SPEC>

Bit 0 - Enable Received Data Available Interrupt

Source

pub fn etbei(&mut self) -> ETBEI_W<'_, IER_SPEC>

Bit 1 - Enable Transmit Holding Register Empty Interrupt

Source

pub fn elsi(&mut self) -> ELSI_W<'_, IER_SPEC>

Bit 2 - Enable Receiver Line Status Interrupt

Source

pub fn edssi(&mut self) -> EDSSI_W<'_, IER_SPEC>

Bit 3 - Enable Modem Status Interrupt

Source

pub fn rs485_int_en(&mut self) -> RS485_INT_EN_W<'_, IER_SPEC>

Bit 4 - RS485 Interrupt Enable

Source

pub fn ptime(&mut self) -> PTIME_W<'_, IER_SPEC>

Bit 7 - Programmable THRE Interrupt Mode Enable

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