EasyManuals Logo
Home>Texas Instruments>Microcontrollers>Tiva TM4C123GH6PM

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #101 background imageLoading...
Page #101 background image
GPIO
Note:
This cannot be used to turn any pin into an I2C SCL pin; it only configures an I2C SCL pin for
proper operation.
Returns:
None.
10.2.1.21 ROM_GPIOPinTypePWM
Configures pin(s) for use by the PWM peripheral.
Prototype:
void
ROM_GPIOPinTypePWM(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_GPIOPinTypePWM is a function pointer located at ROM_GPIOTABLE[17].
Parameters:
ui32Port is the base address of the GPIO port.
ui8Pins is the bit-packed representation of the pin(s).
Description:
The PWM pins must be properly configured for the PWM peripheral to function correctly. This
function provides a typical configuration for those pin(s); other configurations may work as well
depending upon the board setup (for example, using the on-chip pull-ups).
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 a PWM pin; it only configures a PWM pin for proper
operation.
Returns:
None.
10.2.1.22 ROM_GPIOPinTypeQEI
Configures pin(s) for use by the QEI peripheral.
Prototype:
void
ROM_GPIOPinTypeQEI(uint32_t ui32Port,
uint8_t ui8Pins)
April 8, 2013 101

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals