I have a question. I am tracking down a bug, in my USB module and have stumbled over two USB registers that seems to be assigned to the same address.
USB0_EPI[N]_TXCSR_P and USB0_EP0I_CSR[N]_P.
I understand you select which endpoint you are looking at by USB0_INDEX, and USB0_EPI[N]_TXCSR_P holds the control and status transmit endpoint.
But how do I get USB0_EP0I_CSR[N]_P when its placed in the same location? shall I set USB0_INDEX to zero first?