Public Attributes | List of all members
LPC_I2C_T Struct Reference

I2C register block structure. More...

#include <i2c_11xx.h>

Public Attributes

__IO uint32_t ADR0
 
__IO uint32_t ADR1
 
__IO uint32_t ADR2
 
__IO uint32_t ADR3
 
__O uint32_t CONCLR
 
__IO uint32_t CONSET
 
__IO uint32_t DAT
 
__I uint32_t DATA_BUFFER
 
__IO uint32_t MASK [4]
 
__IO uint32_t MMCTRL
 
__IO uint32_t SCLH
 
__IO uint32_t SCLL
 
__I uint32_t STAT
 

Detailed Description

I2C register block structure.

Definition at line 49 of file i2c_11xx.h.

Member Data Documentation

◆ ADR0

__IO uint32_t LPC_I2C_T::ADR0

I2C Slave Address Register 0. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address.

Definition at line 53 of file i2c_11xx.h.

◆ ADR1

__IO uint32_t LPC_I2C_T::ADR1

I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address.

Definition at line 58 of file i2c_11xx.h.

◆ ADR2

__IO uint32_t LPC_I2C_T::ADR2

I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address.

Definition at line 59 of file i2c_11xx.h.

◆ ADR3

__IO uint32_t LPC_I2C_T::ADR3

I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address.

Definition at line 60 of file i2c_11xx.h.

◆ CONCLR

__O uint32_t LPC_I2C_T::CONCLR

I2C Control Clear Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is cleared. Writing a zero has no effect on the corresponding bit in the I2C control register.

Definition at line 56 of file i2c_11xx.h.

◆ CONSET

__IO uint32_t LPC_I2C_T::CONSET

I2C Control Set Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is set. Writing a zero has no effect on the corresponding bit in the I2C control register.

Definition at line 50 of file i2c_11xx.h.

◆ DAT

__IO uint32_t LPC_I2C_T::DAT

I2C Data Register. During master or slave transmit mode, data to be transmitted is written to this register. During master or slave receive mode, data that has been received may be read from this register.

Definition at line 52 of file i2c_11xx.h.

◆ DATA_BUFFER

__I uint32_t LPC_I2C_T::DATA_BUFFER

Data buffer register. The contents of the 8 MSBs of the DAT shift register will be transferred to the DATA_BUFFER automatically after every nine bits (8 bits of data plus ACK or NACK) has been received on the bus.

Definition at line 61 of file i2c_11xx.h.

◆ MASK

__IO uint32_t LPC_I2C_T::MASK[4]

I2C Slave address mask register

Definition at line 62 of file i2c_11xx.h.

◆ MMCTRL

__IO uint32_t LPC_I2C_T::MMCTRL

Monitor mode control register.

Definition at line 57 of file i2c_11xx.h.

◆ SCLH

__IO uint32_t LPC_I2C_T::SCLH

SCH Duty Cycle Register High Half Word. Determines the high time of the I2C clock.

Definition at line 54 of file i2c_11xx.h.

◆ SCLL

__IO uint32_t LPC_I2C_T::SCLL

SCL Duty Cycle Register Low Half Word. Determines the low time of the I2C clock. SCLL and SCLH together determine the clock frequency generated by an I2C master and certain times used in slave mode.

Definition at line 55 of file i2c_11xx.h.

◆ STAT

__I uint32_t LPC_I2C_T::STAT

I2C Status Register. During I2C operation, this register provides detailed status codes that allow software to determine the next action needed.

Definition at line 51 of file i2c_11xx.h.


The documentation for this struct was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04