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.

TM4C1290NCPDT: GPIOPinWrite not working as expected

Part Number: TM4C1290NCPDT
I am trying to setup a debug pin for the application. The scope is not triggering a pulse on
the pin write. Is there anything wrong with the code pasted below?
Thanks,
Priya
void Debug_GPIO_Initialise(Bool debugGpioInitialise)
{
    //Set Pins as Output
    if (debugGpioInitialise == TRUE)
    {
        ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOL);
        ROM_GPIOPinTypeGPIOOutput(HW_DEBUG_GPIO_PORT_BASE, HW_DEBUG_GPIO_PIN);
        GPIOPadConfigSet(HW_DEBUG_GPIO_PORT_BASE,HW_DEBUG_GPIO_PIN, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD);
        ROM_GPIOPinWrite(HW_DEBUG_GPIO_PORT_BASE, HW_DEBUG_GPIO_PIN, 0);
    }

}
 ROM_GPIOPinWrite (HW_DEBUG_GPIO_PORT_BASE, HW_DEBUG_GPIO_PIN, HW_DEBUG_GPIO_PIN);
      PRINTHEAD_Delay1us(10);
      ROM_GPIOPinWrite (HW_DEBUG_GPIO_PORT_BASE, HW_DEBUG_GPIO_PIN, 0);