Hai @tomato
GPIO Toggle
1. Initialize the Switch matrix CLK. (SYSCON->SYSAHBCLKCTRL0 |= (0x01 << 7);)
2. Initialize the GPIO Direction (GPIO->DIR[0] |=(1<<1);)
3. DE initialize the Switch matrix CLK. (SYSCON->SYSAHBCLKCTRL0 &=~ (0x01 << 7);)
3. in While (1)
{
delay(500) // Some delay of 500ms
GPIO->PIN[0] ^=(1<<1);
}
Thank You,
B PAVAN KUMAR