EE445M RTOS
Taken at the University of Texas Spring 2015
i2c.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define I2C_INT_MASTER   0x00000001
 
#define I2C_INT_SLAVE   0x00000002
 
#define I2C_MASTER_CMD_SINGLE_SEND   0x00000007
 
#define I2C_MASTER_CMD_SINGLE_RECEIVE   0x00000007
 
#define I2C_MASTER_CMD_BURST_SEND_START   0x00000003
 
#define I2C_MASTER_CMD_BURST_SEND_CONT   0x00000001
 
#define I2C_MASTER_CMD_BURST_SEND_FINISH   0x00000005
 
#define I2C_MASTER_CMD_BURST_SEND_STOP   0x00000004
 
#define I2C_MASTER_CMD_BURST_SEND_ERROR_STOP   0x00000004
 
#define I2C_MASTER_CMD_BURST_RECEIVE_START   0x0000000b
 
#define I2C_MASTER_CMD_BURST_RECEIVE_CONT   0x00000009
 
#define I2C_MASTER_CMD_BURST_RECEIVE_FINISH   0x00000005
 
#define I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP   0x00000004
 
#define I2C_MASTER_CMD_QUICK_COMMAND   0x00000027
 
#define I2C_MASTER_CMD_HS_MASTER_CODE_SEND   0x00000013
 
#define I2C_MASTER_CMD_FIFO_SINGLE_SEND   0x00000046
 
#define I2C_MASTER_CMD_FIFO_SINGLE_RECEIVE   0x00000046
 
#define I2C_MASTER_CMD_FIFO_BURST_SEND_START   0x00000042
 
#define I2C_MASTER_CMD_FIFO_BURST_SEND_CONT   0x00000040
 
#define I2C_MASTER_CMD_FIFO_BURST_SEND_FINISH   0x00000044
 
#define I2C_MASTER_CMD_FIFO_BURST_SEND_ERROR_STOP   0x00000004
 
#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_START   0x0000004a
 
#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_CONT   0x00000048
 
#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_FINISH   0x00000044
 
#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_ERROR_STOP   0x00000004
 
#define I2C_MASTER_GLITCH_FILTER_DISABLED   0
 
#define I2C_MASTER_GLITCH_FILTER_1   0x00010000
 
#define I2C_MASTER_GLITCH_FILTER_2   0x00020000
 
#define I2C_MASTER_GLITCH_FILTER_3   0x00030000
 
#define I2C_MASTER_GLITCH_FILTER_4   0x00040000
 
#define I2C_MASTER_GLITCH_FILTER_8   0x00050000
 
#define I2C_MASTER_GLITCH_FILTER_16   0x00060000
 
#define I2C_MASTER_GLITCH_FILTER_32   0x00070000
 
#define I2C_MASTER_ERR_NONE   0
 
#define I2C_MASTER_ERR_ADDR_ACK   0x00000004
 
#define I2C_MASTER_ERR_DATA_ACK   0x00000008
 
#define I2C_MASTER_ERR_ARB_LOST   0x00000010
 
#define I2C_MASTER_ERR_CLK_TOUT   0x00000080
 
#define I2C_SLAVE_ACT_NONE   0
 
#define I2C_SLAVE_ACT_RREQ   0x00000001
 
#define I2C_SLAVE_ACT_TREQ   0x00000002
 
#define I2C_SLAVE_ACT_RREQ_FBR   0x00000005
 
#define I2C_SLAVE_ACT_OWN2SEL   0x00000008
 
#define I2C_SLAVE_ACT_QCMD   0x00000010
 
#define I2C_SLAVE_ACT_QCMD_DATA   0x00000020
 
#define I2C_MASTER_MAX_RETRIES   1000
 
#define I2C_MASTER_INT_RX_FIFO_FULL   0x00000800
 
#define I2C_MASTER_INT_TX_FIFO_EMPTY   0x00000400
 
#define I2C_MASTER_INT_RX_FIFO_REQ   0x00000200
 
#define I2C_MASTER_INT_TX_FIFO_REQ   0x00000100
 
#define I2C_MASTER_INT_ARB_LOST   0x00000080
 
#define I2C_MASTER_INT_STOP   0x00000040
 
#define I2C_MASTER_INT_START   0x00000020
 
#define I2C_MASTER_INT_NACK   0x00000010
 
#define I2C_MASTER_INT_TX_DMA_DONE   0x00000008
 
#define I2C_MASTER_INT_RX_DMA_DONE   0x00000004
 
#define I2C_MASTER_INT_TIMEOUT   0x00000002
 
#define I2C_MASTER_INT_DATA   0x00000001
 
#define I2C_SLAVE_INT_RX_FIFO_FULL   0x00000100
 
#define I2C_SLAVE_INT_TX_FIFO_EMPTY   0x00000080
 
#define I2C_SLAVE_INT_RX_FIFO_REQ   0x00000040
 
#define I2C_SLAVE_INT_TX_FIFO_REQ   0x00000020
 
#define I2C_SLAVE_INT_TX_DMA_DONE   0x00000010
 
#define I2C_SLAVE_INT_RX_DMA_DONE   0x00000008
 
#define I2C_SLAVE_INT_STOP   0x00000004
 
#define I2C_SLAVE_INT_START   0x00000002
 
#define I2C_SLAVE_INT_DATA   0x00000001
 
#define I2C_SLAVE_TX_FIFO_ENABLE   0x00000002
 
#define I2C_SLAVE_RX_FIFO_ENABLE   0x00000004
 
#define I2C_FIFO_CFG_TX_MASTER   0x00000000
 
#define I2C_FIFO_CFG_TX_SLAVE   0x00008000
 
#define I2C_FIFO_CFG_RX_MASTER   0x00000000
 
#define I2C_FIFO_CFG_RX_SLAVE   0x80000000
 
#define I2C_FIFO_CFG_TX_MASTER_DMA   0x00002000
 
#define I2C_FIFO_CFG_TX_SLAVE_DMA   0x0000a000
 
#define I2C_FIFO_CFG_RX_MASTER_DMA   0x20000000
 
#define I2C_FIFO_CFG_RX_SLAVE_DMA   0xa0000000
 
#define I2C_FIFO_CFG_TX_NO_TRIG   0x00000000
 
#define I2C_FIFO_CFG_TX_TRIG_1   0x00000001
 
#define I2C_FIFO_CFG_TX_TRIG_2   0x00000002
 
#define I2C_FIFO_CFG_TX_TRIG_3   0x00000003
 
#define I2C_FIFO_CFG_TX_TRIG_4   0x00000004
 
#define I2C_FIFO_CFG_TX_TRIG_5   0x00000005
 
#define I2C_FIFO_CFG_TX_TRIG_6   0x00000006
 
#define I2C_FIFO_CFG_TX_TRIG_7   0x00000007
 
#define I2C_FIFO_CFG_TX_TRIG_8   0x00000008
 
#define I2C_FIFO_CFG_RX_NO_TRIG   0x00000000
 
#define I2C_FIFO_CFG_RX_TRIG_1   0x00010000
 
#define I2C_FIFO_CFG_RX_TRIG_2   0x00020000
 
#define I2C_FIFO_CFG_RX_TRIG_3   0x00030000
 
#define I2C_FIFO_CFG_RX_TRIG_4   0x00040000
 
#define I2C_FIFO_CFG_RX_TRIG_5   0x00050000
 
#define I2C_FIFO_CFG_RX_TRIG_6   0x00060000
 
#define I2C_FIFO_CFG_RX_TRIG_7   0x00070000
 
#define I2C_FIFO_CFG_RX_TRIG_8   0x00080000
 
#define I2C_FIFO_RX_BELOW_TRIG_LEVEL   0x00040000
 
#define I2C_FIFO_RX_FULL   0x00020000
 
#define I2C_FIFO_RX_EMPTY   0x00010000
 
#define I2C_FIFO_TX_BELOW_TRIG_LEVEL   0x00000004
 
#define I2C_FIFO_TX_FULL   0x00000002
 
#define I2C_FIFO_TX_EMPTY   0x00000001
 

Functions

void I2CIntRegister (uint32_t ui32Base, void(pfnHandler)(void))
 
void I2CIntUnregister (uint32_t ui32Base)
 
void I2CTxFIFOConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void I2CTxFIFOFlush (uint32_t ui32Base)
 
void I2CRxFIFOConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void I2CRxFIFOFlush (uint32_t ui32Base)
 
uint32_t I2CFIFOStatus (uint32_t ui32Base)
 
void I2CFIFODataPut (uint32_t ui32Base, uint8_t ui8Data)
 
uint32_t I2CFIFODataPutNonBlocking (uint32_t ui32Base, uint8_t ui8Data)
 
uint32_t I2CFIFODataGet (uint32_t ui32Base)
 
uint32_t I2CFIFODataGetNonBlocking (uint32_t ui32Base, uint8_t *pui8Data)
 
void I2CMasterBurstLengthSet (uint32_t ui32Base, uint8_t ui8Length)
 
uint32_t I2CMasterBurstCountGet (uint32_t ui32Base)
 
void I2CMasterGlitchFilterConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void I2CSlaveFIFOEnable (uint32_t ui32Base, uint32_t ui32Config)
 
void I2CSlaveFIFODisable (uint32_t ui32Base)
 
bool I2CMasterBusBusy (uint32_t ui32Base)
 
bool I2CMasterBusy (uint32_t ui32Base)
 
void I2CMasterControl (uint32_t ui32Base, uint32_t ui32Cmd)
 
uint32_t I2CMasterDataGet (uint32_t ui32Base)
 
void I2CMasterDataPut (uint32_t ui32Base, uint8_t ui8Data)
 
void I2CMasterDisable (uint32_t ui32Base)
 
void I2CMasterEnable (uint32_t ui32Base)
 
uint32_t I2CMasterErr (uint32_t ui32Base)
 
void I2CMasterInitExpClk (uint32_t ui32Base, uint32_t ui32I2CClk, bool bFast)
 
void I2CMasterIntClear (uint32_t ui32Base)
 
void I2CMasterIntDisable (uint32_t ui32Base)
 
void I2CMasterIntEnable (uint32_t ui32Base)
 
bool I2CMasterIntStatus (uint32_t ui32Base, bool bMasked)
 
void I2CMasterIntEnableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void I2CMasterIntDisableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t I2CMasterIntStatusEx (uint32_t ui32Base, bool bMasked)
 
void I2CMasterIntClearEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void I2CMasterTimeoutSet (uint32_t ui32Base, uint32_t ui32Value)
 
void I2CSlaveACKOverride (uint32_t ui32Base, bool bEnable)
 
void I2CSlaveACKValueSet (uint32_t ui32Base, bool bACK)
 
uint32_t I2CMasterLineStateGet (uint32_t ui32Base)
 
void I2CMasterSlaveAddrSet (uint32_t ui32Base, uint8_t ui8SlaveAddr, bool bReceive)
 
uint32_t I2CSlaveDataGet (uint32_t ui32Base)
 
void I2CSlaveDataPut (uint32_t ui32Base, uint8_t ui8Data)
 
void I2CSlaveDisable (uint32_t ui32Base)
 
void I2CSlaveEnable (uint32_t ui32Base)
 
void I2CSlaveInit (uint32_t ui32Base, uint8_t ui8SlaveAddr)
 
void I2CSlaveAddressSet (uint32_t ui32Base, uint8_t ui8AddrNum, uint8_t ui8SlaveAddr)
 
void I2CSlaveIntClear (uint32_t ui32Base)
 
void I2CSlaveIntDisable (uint32_t ui32Base)
 
void I2CSlaveIntEnable (uint32_t ui32Base)
 
void I2CSlaveIntClearEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void I2CSlaveIntDisableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void I2CSlaveIntEnableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
bool I2CSlaveIntStatus (uint32_t ui32Base, bool bMasked)
 
uint32_t I2CSlaveIntStatusEx (uint32_t ui32Base, bool bMasked)
 
uint32_t I2CSlaveStatus (uint32_t ui32Base)
 

Macro Definition Documentation

#define I2C_FIFO_CFG_RX_MASTER   0x00000000

Definition at line 236 of file i2c.h.

#define I2C_FIFO_CFG_RX_MASTER_DMA   0x20000000

Definition at line 242 of file i2c.h.

#define I2C_FIFO_CFG_RX_NO_TRIG   0x00000000

Definition at line 255 of file i2c.h.

#define I2C_FIFO_CFG_RX_SLAVE   0x80000000

Definition at line 237 of file i2c.h.

#define I2C_FIFO_CFG_RX_SLAVE_DMA   0xa0000000

Definition at line 244 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_1   0x00010000

Definition at line 256 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_2   0x00020000

Definition at line 257 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_3   0x00030000

Definition at line 258 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_4   0x00040000

Definition at line 259 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_5   0x00050000

Definition at line 260 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_6   0x00060000

Definition at line 261 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_7   0x00070000

Definition at line 262 of file i2c.h.

#define I2C_FIFO_CFG_RX_TRIG_8   0x00080000

Definition at line 263 of file i2c.h.

#define I2C_FIFO_CFG_TX_MASTER   0x00000000

Definition at line 234 of file i2c.h.

#define I2C_FIFO_CFG_TX_MASTER_DMA   0x00002000

Definition at line 238 of file i2c.h.

#define I2C_FIFO_CFG_TX_NO_TRIG   0x00000000

Definition at line 246 of file i2c.h.

#define I2C_FIFO_CFG_TX_SLAVE   0x00008000

Definition at line 235 of file i2c.h.

#define I2C_FIFO_CFG_TX_SLAVE_DMA   0x0000a000

Definition at line 240 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_1   0x00000001

Definition at line 247 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_2   0x00000002

Definition at line 248 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_3   0x00000003

Definition at line 249 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_4   0x00000004

Definition at line 250 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_5   0x00000005

Definition at line 251 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_6   0x00000006

Definition at line 252 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_7   0x00000007

Definition at line 253 of file i2c.h.

#define I2C_FIFO_CFG_TX_TRIG_8   0x00000008

Definition at line 254 of file i2c.h.

#define I2C_FIFO_RX_BELOW_TRIG_LEVEL   0x00040000

Definition at line 270 of file i2c.h.

#define I2C_FIFO_RX_EMPTY   0x00010000

Definition at line 273 of file i2c.h.

#define I2C_FIFO_RX_FULL   0x00020000

Definition at line 272 of file i2c.h.

#define I2C_FIFO_TX_BELOW_TRIG_LEVEL   0x00000004

Definition at line 274 of file i2c.h.

#define I2C_FIFO_TX_EMPTY   0x00000001

Definition at line 277 of file i2c.h.

#define I2C_FIFO_TX_FULL   0x00000002

Definition at line 276 of file i2c.h.

#define I2C_INT_MASTER   0x00000001

Definition at line 65 of file i2c.h.

#define I2C_INT_SLAVE   0x00000002

Definition at line 66 of file i2c.h.

#define I2C_MASTER_CMD_BURST_RECEIVE_CONT   0x00000009

Definition at line 89 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP   0x00000004

Definition at line 93 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_RECEIVE_FINISH   0x00000005

Definition at line 91 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_RECEIVE_START   0x0000000b

Definition at line 87 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_SEND_CONT   0x00000001

Definition at line 79 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_SEND_ERROR_STOP   0x00000004

Definition at line 85 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_SEND_FINISH   0x00000005

Definition at line 81 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_SEND_START   0x00000003

Definition at line 77 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_BURST_SEND_STOP   0x00000004

Definition at line 83 of file i2c.h.

#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_CONT   0x00000048

Definition at line 113 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_ERROR_STOP   0x00000004

Definition at line 117 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_FINISH   0x00000044

Definition at line 115 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_RECEIVE_START   0x0000004a

Definition at line 111 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_SEND_CONT   0x00000040

Definition at line 105 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_SEND_ERROR_STOP   0x00000004

Definition at line 109 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_SEND_FINISH   0x00000044

Definition at line 107 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_BURST_SEND_START   0x00000042

Definition at line 103 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_SINGLE_RECEIVE   0x00000046

Definition at line 101 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_FIFO_SINGLE_SEND   0x00000046

Definition at line 99 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_HS_MASTER_CODE_SEND   0x00000013

Definition at line 97 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_QUICK_COMMAND   0x00000027

Definition at line 95 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_SINGLE_RECEIVE   0x00000007

Definition at line 75 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_CMD_SINGLE_SEND   0x00000007

Definition at line 73 of file i2c.h.

Referenced by I2CMasterControl().

#define I2C_MASTER_ERR_ADDR_ACK   0x00000004

Definition at line 148 of file i2c.h.

#define I2C_MASTER_ERR_ARB_LOST   0x00000010

Definition at line 150 of file i2c.h.

#define I2C_MASTER_ERR_CLK_TOUT   0x00000080

Definition at line 151 of file i2c.h.

#define I2C_MASTER_ERR_DATA_ACK   0x00000008

Definition at line 149 of file i2c.h.

#define I2C_MASTER_ERR_NONE   0

Definition at line 147 of file i2c.h.

Referenced by I2CMasterErr().

#define I2C_MASTER_GLITCH_FILTER_1   0x00010000

Definition at line 127 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_16   0x00060000

Definition at line 137 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_2   0x00020000

Definition at line 129 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_3   0x00030000

Definition at line 131 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_32   0x00070000

Definition at line 139 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_4   0x00040000

Definition at line 133 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_8   0x00050000

Definition at line 135 of file i2c.h.

#define I2C_MASTER_GLITCH_FILTER_DISABLED   0

Definition at line 125 of file i2c.h.

#define I2C_MASTER_INT_ARB_LOST   0x00000080

Definition at line 186 of file i2c.h.

#define I2C_MASTER_INT_DATA   0x00000001

Definition at line 196 of file i2c.h.

#define I2C_MASTER_INT_NACK   0x00000010

Definition at line 190 of file i2c.h.

#define I2C_MASTER_INT_RX_DMA_DONE   0x00000004

Definition at line 193 of file i2c.h.

#define I2C_MASTER_INT_RX_FIFO_FULL   0x00000800

Definition at line 178 of file i2c.h.

#define I2C_MASTER_INT_RX_FIFO_REQ   0x00000200

Definition at line 182 of file i2c.h.

#define I2C_MASTER_INT_START   0x00000020

Definition at line 189 of file i2c.h.

#define I2C_MASTER_INT_STOP   0x00000040

Definition at line 188 of file i2c.h.

#define I2C_MASTER_INT_TIMEOUT   0x00000002

Definition at line 195 of file i2c.h.

#define I2C_MASTER_INT_TX_DMA_DONE   0x00000008

Definition at line 191 of file i2c.h.

#define I2C_MASTER_INT_TX_FIFO_EMPTY   0x00000400

Definition at line 180 of file i2c.h.

#define I2C_MASTER_INT_TX_FIFO_REQ   0x00000100

Definition at line 184 of file i2c.h.

#define I2C_MASTER_MAX_RETRIES   1000

Definition at line 171 of file i2c.h.

#define I2C_SLAVE_ACT_NONE   0

Definition at line 158 of file i2c.h.

#define I2C_SLAVE_ACT_OWN2SEL   0x00000008

Definition at line 162 of file i2c.h.

#define I2C_SLAVE_ACT_QCMD   0x00000010

Definition at line 163 of file i2c.h.

#define I2C_SLAVE_ACT_QCMD_DATA   0x00000020

Definition at line 164 of file i2c.h.

#define I2C_SLAVE_ACT_RREQ   0x00000001

Definition at line 159 of file i2c.h.

#define I2C_SLAVE_ACT_RREQ_FBR   0x00000005

Definition at line 161 of file i2c.h.

#define I2C_SLAVE_ACT_TREQ   0x00000002

Definition at line 160 of file i2c.h.

#define I2C_SLAVE_INT_DATA   0x00000001

Definition at line 217 of file i2c.h.

Referenced by I2CSlaveIntDisable(), and I2CSlaveIntEnable().

#define I2C_SLAVE_INT_RX_DMA_DONE   0x00000008

Definition at line 213 of file i2c.h.

#define I2C_SLAVE_INT_RX_FIFO_FULL   0x00000100

Definition at line 203 of file i2c.h.

#define I2C_SLAVE_INT_RX_FIFO_REQ   0x00000040

Definition at line 207 of file i2c.h.

#define I2C_SLAVE_INT_START   0x00000002

Definition at line 216 of file i2c.h.

#define I2C_SLAVE_INT_STOP   0x00000004

Definition at line 215 of file i2c.h.

#define I2C_SLAVE_INT_TX_DMA_DONE   0x00000010

Definition at line 211 of file i2c.h.

#define I2C_SLAVE_INT_TX_FIFO_EMPTY   0x00000080

Definition at line 205 of file i2c.h.

#define I2C_SLAVE_INT_TX_FIFO_REQ   0x00000020

Definition at line 209 of file i2c.h.

#define I2C_SLAVE_RX_FIFO_ENABLE   0x00000004

Definition at line 226 of file i2c.h.

#define I2C_SLAVE_TX_FIFO_ENABLE   0x00000002

Definition at line 224 of file i2c.h.

Function Documentation

void I2CIntRegister ( uint32_t  ui32Base,
void(pfnHandler)(void)   
)