GPIO
Returns:
None.
10.2.1.7 ROM_GPIOIntTypeGet
Gets the interrupt type for a pin.
Prototype:
uint32_t
ROM_GPIOIntTypeGet(uint32_t ui32Port,
uint8_t ui8Pin)
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_GPIOIntTypeGet
is a function pointer located at
ROM_GPIOTABLE[4]
.
Parameters:
ui32Port
is the base address of the GPIO port.
ui8Pin
is the pin number.
Description:
This function gets the interrupt type for a specified pin on the selected GPIO port. The pin
can be configured as a falling edge, rising edge, or both edge detected interrupt, or it can
be configured as a low level or high level detected interrupt. The type of interrupt detection
mechanism is returned as an enumerated data type.
Returns:
Returns one of the enumerated data types described for
10.2.1.8 ROM_GPIOIntTypeSet
Sets the interrupt type for the specified pin(s).
Prototype:
void
ROM_GPIOIntTypeSet(uint32_t ui32Port,
uint8_t ui8Pins,
uint32_t ui32IntType)
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_GPIOIntTypeSet
is a function pointer located at
ROM_GPIOTABLE[3]
.
Parameters:
ui32Port
is the base address of the GPIO port.
ui8Pins
is the bit-packed representation of the pin(s).
ui32IntType
specifies the type of interrupt trigger mechanism.
92
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...