Actions

EmSys

Difference between revisions of "Tm4clib-gpio"

From EdWiki

m
m
Line 7: Line 7:
 
*[[EmSys:tm4clib_GPIO_Interrupt_control | GPIO Interrupt control]]
 
*[[EmSys:tm4clib_GPIO_Interrupt_control | GPIO Interrupt control]]
 
:Configuring interrupts from GPIO pins  
 
:Configuring interrupts from GPIO pins  
 +
----
 
* [[EmSys:Tm4clib-gpio-functions | GPIO Functions]]
 
* [[EmSys:Tm4clib-gpio-functions | GPIO Functions]]
 
* [[EmSys:Tm4clib-gpio-defines | GPIO Defines]]
 
* [[EmSys:Tm4clib-gpio-defines | GPIO Defines]]
 +
* [[EmSys:tm4clib-GPIO-Register-Base-Addresses | GPIO register base addresses]]<br />
 +
* [[EmSys:tm4clib-GPIO-Pin-Identifiers | GPIO pin identifiers]]
  
 
== Macros ==
 
== Macros ==

Revision as of 11:53, 30 October 2018

GPIO

Modules

Enabling and configuring GPIO pins
Configuring interrupts from GPIO pins

Macros

GPIO_LOCK_UNLOCK_CODE

#define GPIO_LOCK_UNLOCK_CODE   0x4C4F434B

Attention
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:

#include <gpio.h>