I have GPIO63 connected to a FET to control external hardware. I am having trouble getting GPio63 do act as an IO. The dollowing code is not working for me.
EALLOW;
GpioCtrlRegs.GPBMUX2.bit.GPIO63 = 0;// GPIO
GpioCtrlRegs.GPBDIR.bit.GPIO63 = 1; //config port terminal as output
EDIS;
GpioDataRegs.GPBSET.bit.GPIO63 = 1;
Is there anything else I need to do?