ARM Architecture provides various GPIO Configurations. To perform any operation with GPIOs the following four register configurations are provided.
IODIR, IOSET, IOCLR, IOPIN
The usual instruction format are similar as follows for LPC2129.
IODIRx |= (1<<LED1PIN)|(1<<LED2PIN); // define LED-Pins as outputs
IOSETx = (1<<LED1PIN)|(1<<LED2PIN); // set Bits = LEDs off (active low)
IODIRx &= ~((1<<BUT1PIN)|(1<<BUT2PIN));// define Button-Pins as inputsWhat are the instruction set available in TivaWare for the similar tasks in Tiva Platofrm?