Hello!
I'm using a microcontroller TM4C123GH6PMI on the own design board. I try to configure PA1 as GPIO OUT using next steps:
HWREG(GPIO_PORTA_BASE + GPIO_O_LOCK) = GPIO_LOCK_KEY;
HWREG(GPIO_PORTA_BASE + GPIO_O_CR) |= GPIO_PIN_1;
GPIOPinTypeGPIOOutput(GPIO_PORTA_BASE, GPIO_PIN_1);
But it does not work. I can not set HIGH or LOW voltage on this pin.
Regards,
Petr