Type Definition atsam4ls4b_pac::twim0::ncmdr::W[][src]

type W = W<u32, NCMDR>;

Writer for register NCMDR

Implementations

impl W[src]

pub fn read(&mut self) -> READ_W<'_>[src]

Bit 0 - Transfer Direction

pub fn sadr(&mut self) -> SADR_W<'_>[src]

Bits 1:10 - Slave Address

pub fn tenbit(&mut self) -> TENBIT_W<'_>[src]

Bit 11 - Ten Bit Addressing Mode

pub fn repsame(&mut self) -> REPSAME_W<'_>[src]

Bit 12 - Transfer is to same address as previous address

pub fn start(&mut self) -> START_W<'_>[src]

Bit 13 - Send START condition

pub fn stop(&mut self) -> STOP_W<'_>[src]

Bit 14 - Send STOP condition

pub fn valid(&mut self) -> VALID_W<'_>[src]

Bit 15 - CMDR Valid

pub fn nbytes(&mut self) -> NBYTES_W<'_>[src]

Bits 16:23 - Number of data bytes in transfer

pub fn pecen(&mut self) -> PECEN_W<'_>[src]

Bit 24 - Packet Error Checking Enable

pub fn acklast(&mut self) -> ACKLAST_W<'_>[src]

Bit 25 - ACK Last Master RX Byte

pub fn hs(&mut self) -> HS_W<'_>[src]

Bit 26 - HS-mode

pub fn hsmcode(&mut self) -> HSMCODE_W<'_>[src]

Bits 28:30 - HS-mode Master Code