Type Alias W

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

Register rs485_transmit writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn function(&mut self) -> FUNCTION_W<'_, RS485_TRANSMIT_SPEC>

Bit 0 - RS-485 transceiver mode enable

Source

pub fn polarity(&mut self) -> POLARITY_W<'_, RS485_TRANSMIT_SPEC>

Bit 1 - RS-485 pin polarity of Driver Enable (DE) pin

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