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.

Concerto GPIOAPSEL register

Hi,

I am trying to understand the function of the GPIOAPSEL register.  In particular, how does its function differ from the function of the GPIOAFSEL.  As I understand it, if a particular bit is set in the GPIOAFSEL register, then the corresponding pin is connected one of the peripherals instead of acting as a GPIO, and which peripheral is determined by the corresponding bits in the GPIOPCTL register. If that is indeed the case what does the GPIOAPSEL register do.

To be a little more specific, I am looking at the EthernetPinsSetup function in the enet_lwip example.  Every pin used in the function sets its bit in the GPIOAFSEL register, and also selects its function via the GPIOPCTL  register.  But only some pins set their GPIOAPSEL bit, while others do not.  I can't figure what is different between the ones that do and the ones that don't.

Regards,

Boaz