Inter-Integrated Circuit (I2C)
12.2.1.5 ROM_I2CMasterDataPut
Transmits a byte from the I2C Master.
Prototype:
void
ROM_I2CMasterDataPut(uint32_t ui32Base,
uint8_t ui8Data)
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_I2CMasterDataPut is a function pointer located at ROM_I2CTABLE[0].
Parameters:
ui32Base is the base address of the I2C Master module.
ui8Data data to be transmitted from the I2C Master
Description:
This function will place the supplied data into I2C Master Data Register.
Returns:
None.
12.2.1.6 ROM_I2CMasterDisable
Disables the I2C master block.
Prototype:
void
ROM_I2CMasterDisable(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_I2CMasterDisable is a function pointer located at ROM_I2CTABLE[5].
Parameters:
ui32Base is the base address of the I2C Master module.
Description:
This will disable operation of the I2C master block.
Returns:
None.
12.2.1.7 ROM_I2CMasterEnable
Enables the I2C Master block.
April 8, 2013 127