Revision as of 10:32, 30 October 2018 by Jshankar
- Enabling and configuring GPIO pins
- Configuring interrupts from GPIO pins
#define GPIO_LOCK_UNLOCK_CODE 0x4C4F434B
An important aspect to consider is that tm4clib uses the AHB aperture for accessing the GPIO registers on the TM4C. The AHB must be explicitly enabled with a call to gpio_enable_ahb_aperture() before accessing any GPIO functionality.
Please see the individual GPIO modules for more details. To use the GPIO, the gpio.h header needs to be included: