Inter-Integrated Circuit (I2C)
Prototype:
bool
ROM_I2CMasterBusBusy(uint32_t ui32Base)
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_I2CMasterBusBusy is a function pointer located at ROM_I2CTABLE[17].
Parameters:
ui32Base is the base address of the I2C Master module.
Description:
This function returns an indication of whether or not the I2C bus is busy. This function can be
used in a multi-master environment to determine if another master is currently using the bus.
Returns:
Returns true if the I2C bus is busy; otherwise, returns false.
12.2.1.2 ROM_I2CMasterBusy
Indicates whether or not the I2C Master is busy.
Prototype:
bool
ROM_I2CMasterBusy(uint32_t ui32Base)
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_I2CMasterBusy is a function pointer located at ROM_I2CTABLE[16].
Parameters:
ui32Base is the base address of the I2C Master module.
Description:
This function returns an indication of whether or not the I2C Master is busy transmitting or
receiving data.
Returns:
Returns true if the I2C Master is busy; otherwise, returns false.
12.2.1.3 ROM_I2CMasterControl
Controls the state of the I2C Master module.
Prototype:
void
ROM_I2CMasterControl(uint32_t ui32Base,
uint32_t ui32Cmd)
April 8, 2013 125