GPIO
Prototype:
void
ROM_GPIOPinTypeI2C(uint32_t ui32Port,
uint8_t ui8Pins)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_GPIOTABLE
is an array of pointers located at
ROM_APITABLE[4]
.
ROM_GPIOPinTypeI2C
is a function pointer located at
ROM_GPIOTABLE[16]
.
Parameters:
ui32Port
is the base address of the GPIO port.
ui8Pins
is the bit-packed representation of the pin(s).
Description:
The I2C pins must be properly configured for the I2C peripheral to function correctly. This
function provides the proper configuration for those pin(s).
The pin(s) are specified using a bit-packed byte, where each bit that is set identifies the pin to
be accessed, and where bit 0 of the byte represents GPIO port pin 0, bit 1 represents GPIO
port pin 1, and so on.
Note:
This cannot be used to turn any pin into an I2C pin; it only configures an I2C pin for proper
operation.
Returns:
None.
10.2.1.20 ROM_GPIOPinTypeI2CSCL
Configures pin(s) for use as SCL by the I2C peripheral.
Prototype:
void
ROM_GPIOPinTypeI2CSCL(uint32_t ui32Port,
uint8_t ui8Pins)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_GPIOTABLE
is an array of pointers located at
ROM_APITABLE[4]
.
ROM_GPIOPinTypeI2CSCL
is a function pointer located at
ROM_GPIOTABLE[39]
.
Parameters:
ui32Port
is the base address of the GPIO port.
ui8Pins
is the bit-packed representation of the pin(s).
Description:
The I2C pins must be properly configured for the I2C peripheral to function correctly. This
function provides the proper configuration for the SCL pin(s).
The pin(s) are specified using a bit-packed byte, where each bit that is set identifies the pin to
be accessed, and where bit 0 of the byte represents GPIO port pin 0, bit 1 represents GPIO
port pin 1, and so on.
100
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...