Module lpc55_pac::i2c0::slvctl[][src]

Slave control register.

Structs

AUTOACK_R

Field AUTOACK reader - Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.

AUTOACK_W

Field AUTOACK writer - Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.

AUTOMATCHREAD_R

Field AUTOMATCHREAD reader - When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.

AUTOMATCHREAD_W

Field AUTOMATCHREAD writer - When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.

R

Register SLVCTL reader

SLVCONTINUE_R

Field SLVCONTINUE reader - Slave Continue.

SLVCONTINUE_W

Field SLVCONTINUE writer - Slave Continue.

SLVCTL_SPEC

Slave control register.

SLVDMA_R

Field SLVDMA reader - Slave DMA enable.

SLVDMA_W

Field SLVDMA writer - Slave DMA enable.

SLVNACK_R

Field SLVNACK reader - Slave NACK.

SLVNACK_W

Field SLVNACK writer - Slave NACK.

W

Register SLVCTL writer

Enums

AUTOACK_A

Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.

AUTOMATCHREAD_A

When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.

SLVCONTINUE_A

Slave Continue.

SLVDMA_A

Slave DMA enable.

SLVNACK_A

Slave NACK.