Type Definition atsam4lc4a_pac::twim0::cmdr::R[][src]

type R = R<u32, CMDR>;

Reader of register CMDR

Implementations

impl R[src]

pub fn read(&self) -> READ_R[src]

Bit 0 - Transfer Direction

pub fn sadr(&self) -> SADR_R[src]

Bits 1:10 - Slave Address

pub fn tenbit(&self) -> TENBIT_R[src]

Bit 11 - Ten Bit Addressing Mode

pub fn repsame(&self) -> REPSAME_R[src]

Bit 12 - Transfer is to same address as previous address

pub fn start(&self) -> START_R[src]

Bit 13 - Send START condition

pub fn stop(&self) -> STOP_R[src]

Bit 14 - Send STOP condition

pub fn valid(&self) -> VALID_R[src]

Bit 15 - CMDR Valid

pub fn nbytes(&self) -> NBYTES_R[src]

Bits 16:23 - Number of data bytes in transfer

pub fn pecen(&self) -> PECEN_R[src]

Bit 24 - Packet Error Checking Enable

pub fn acklast(&self) -> ACKLAST_R[src]

Bit 25 - ACK Last Master RX Byte

pub fn hs(&self) -> HS_R[src]

Bit 26 - HS-mode

pub fn hsmcode(&self) -> HSMCODE_R[src]

Bits 28:30 - HS-mode Master Code