[][src]Type Definition lpc54606_pac::i2c0::mstctl::W

type W = W<u32, MSTCTL>;

Writer for register MSTCTL

Methods

impl W[src]

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

Bit 0 - Master Continue. This bit is write-only.

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

Bit 1 - Master Start control. This bit is write-only.

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

Bit 2 - Master Stop control. This bit is write-only.

pub fn mstdma(&mut self) -> MSTDMA_W[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.