[][src]Type Definition lpc82x_pac::i2c0::mstctl::R

type R = R<u32, MSTCTL>;

Reader of register MSTCTL

Methods

impl R[src]

pub fn mstcontinue(&self) -> MSTCONTINUE_R[src]

Bit 0 - Master Continue.

pub fn mststart(&self) -> MSTSTART_R[src]

Bit 1 - Master Start control.

pub fn mststop(&self) -> MSTSTOP_R[src]

Bit 2 - Master Stop control.

pub fn mstdma(&self) -> MSTDMA_R[src]

Bit 3 - Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write.