Hi, when I read GPIO register descriptions in the data sheet of TM4C129ENCPDT, I am confused on the meaning of bits. E.g. GPIOAFSEL register, 7:0 bits are GPIO alternate function select. I would e.g. select UART0 as GPIO port A, how do I know which bits should be selected? 7:0 bits contain 256 variables, and I was guessing these are configured for pin numbers? I tried to read the data sheet couldn't figure out how to select these 7:0 bits to configure UART0(pin 33, 34) in GPIO?
Regarding GPIO port control register(GPIOPCTL), the description is so confusing again. e.g. Port Mux Control 0: this field controls the configuration for GPIO pin 0. This 'pin 0' is not the 'physical pin 0'. What is the definition/meaning of the GPIO pin 0-7 in this register?
Many thanks for your kind help!