Other Parts Discussed in Thread: TM4C129XNCZAD
Is there example code for setting GPIOPCTL PMCx Bit Field Encoding) ? I'm specifically trying to map UART 2 to GPIO pins.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: TM4C129XNCZAD
Is there example code for setting GPIOPCTL PMCx Bit Field Encoding) ? I'm specifically trying to map UART 2 to GPIO pins.
Bravo Amit - appears that poster's past, "comfort level" has deprived him of the (many) benefits provided by your rich API.
Poster may read the MCU manual - "GPIO Section" and then steer to "xxxWare\Programs\Examples\Peripherals\GPIO." Note that this vendor's API is (completely) unhidden - you can review the fine detail w/in each/every function call.
There are many such functions - all "tried/true/tested by thousands" and the "fine/arcane detail" has been (quite nicely) managed for you by skilled & experienced vendor personnel...
The "DRM" method forces users to constantly thumb thru page after page of Register notation - seeking that (exact) bit(s) w/in that (exact) register. Not fun - nor robust nor reliable - and ALWAYS an adventure!
API stands in stark contrast - immensely aids your development - AND "automates" that exact function requirement you listed! Use it - you will like it!