Type Alias atsame51g::sercom0::usart_ext::ctrlc::W

source ·
pub type W = W<CTRLC_SPEC>;
Expand description

Register CTRLC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gtime(&mut self) -> GTIME_W<'_, CTRLC_SPEC, 0>

Bits 0:2 - Guard Time

source

pub fn brklen(&mut self) -> BRKLEN_W<'_, CTRLC_SPEC, 8>

Bits 8:9 - LIN Master Break Length

source

pub fn hdrdly(&mut self) -> HDRDLY_W<'_, CTRLC_SPEC, 10>

Bits 10:11 - LIN Master Header Delay

source

pub fn inack(&mut self) -> INACK_W<'_, CTRLC_SPEC, 16>

Bit 16 - Inhibit Not Acknowledge

source

pub fn dsnack(&mut self) -> DSNACK_W<'_, CTRLC_SPEC, 17>

Bit 17 - Disable Successive NACK

source

pub fn maxiter(&mut self) -> MAXITER_W<'_, CTRLC_SPEC, 20>

Bits 20:22 - Maximum Iterations

source

pub fn data32b(&mut self) -> DATA32B_W<'_, CTRLC_SPEC, 24>

Bits 24:25 - Data 32 Bit

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