Inter-Integrated Circuit (I2C)
Prototype:
void
ROM_I2CMasterEnable(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_I2CMasterEnable
is a function pointer located at
ROM_I2CTABLE[3]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
Description:
This will enable operation of the I2C Master block.
Returns:
None.
12.2.1.8 ROM_I2CMasterErr
Gets the error status of the I2C Master module.
Prototype:
uint32_t
ROM_I2CMasterErr(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_I2CMasterErr
is a function pointer located at
ROM_I2CTABLE[19]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
Description:
This function is used to obtain the error status of the Master module send and receive opera-
tions.
Returns:
Returns
the
error
status,
as
one
of
I2C_MASTER_ERR_NONE
,
I2C_MASTER_ERR_ADDR_ACK
,
I2C_MASTER_ERR_DATA_ACK
,
or
I2C_MASTER_ERR_ARB_LOST
.
12.2.1.9 ROM_I2CMasterInitExpClk
Initializes the I2C Master block.
Prototype:
void
ROM_I2CMasterInitExpClk(uint32_t ui32Base,
uint32_t ui32I2CClk,
bool bFast)
128
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...