Inter-Integrated Circuit (I2C)
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_I2CMasterControl
is a function pointer located at
ROM_I2CTABLE[18]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
ui32Cmd
command to be issued to the I2C Master module
Description:
This function is used to control the state of the Master module send and receive operations.
The
ui8Cmd
parameter can be one of the following values:
I2C_MASTER_CMD_SINGLE_SEND
I2C_MASTER_CMD_SINGLE_RECEIVE
I2C_MASTER_CMD_BURST_SEND_START
I2C_MASTER_CMD_BURST_SEND_CONT
I2C_MASTER_CMD_BURST_SEND_FINISH
I2C_MASTER_CMD_BURST_SEND_ERROR_STOP
I2C_MASTER_CMD_BURST_RECEIVE_START
I2C_MASTER_CMD_BURST_RECEIVE_CONT
I2C_MASTER_CMD_BURST_RECEIVE_FINISH
I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP
Returns:
None.
12.2.1.4 ROM_I2CMasterDataGet
Receives a byte that has been sent to the I2C Master.
Prototype:
uint32_t
ROM_I2CMasterDataGet(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_I2CMasterDataGet
is a function pointer located at
ROM_I2CTABLE[20]
.
Parameters:
ui32Base
is the base address of the I2C Master module.
Description:
This function reads a byte of data from the I2C Master Data Register.
Returns:
Returns the byte received from by the I2C Master, cast as an uint32_t.
126
April 8, 2013
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...