Inter-Integrated Circuit (I2C)
12.2.1.15 ROM_I2CMasterIntEnableEx
Enables individual I2C Master interrupt sources.
Prototype:
void
ROM_I2CMasterIntEnableEx(uint32_t ui32Base,
uint32_t ui32IntFlags)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_I2CTABLE
is an array of pointers located at
ROM_APITABLE[3]
.
ROM_I2CMasterIntEnableEx
is a function pointer located at
ROM_I2CTABLE[29]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
ui32IntFlags
is the bit mask of the interrupt sources to be enabled.
Description:
Enables the indicated I2C Master interrupt sources. Only the sources that are enabled can be
reflected to the processor interrupt; disabled sources have no effect on the processor.
The
ui32IntFlags
parameter is the logical OR of any of the following:
I2C_MASTER_INT_TIMEOUT
- Clock Timeout interrupt
I2C_MASTER_INT_DATA
- Data interrupt
Returns:
None.
12.2.1.16 ROM_I2CMasterIntStatus
Gets the current I2C Master interrupt status.
Prototype:
bool
ROM_I2CMasterIntStatus(uint32_t ui32Base,
bool bMasked)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_I2CTABLE
is an array of pointers located at
ROM_APITABLE[3]
.
ROM_I2CMasterIntStatus
is a function pointer located at
ROM_I2CTABLE[11]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
bMasked
is false if the raw interrupt status is requested and true if the masked interrupt status
is requested.
Description:
This returns the interrupt status for the I2C Master module. Either the raw interrupt status or
the status of interrupts that are allowed to reflect to the processor can be returned.
132
April 8, 2013
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...