BSPACM
20150113
Board Support Package for ARM Cortex-M Microcontrollers
|
#include </prj/arm/bspacm/device/tm4c/include/bspacm/periph/gpio.h>
Data Fields | |
GPIOCommon_Type * | port |
uint8_t | pin |
uint8_t | pctl |
uint8_t | irqn |
Core structure associating a GPIO port, pin, and port control function.
uint8_t sBSPACMdeviceTM4Cpinmux::irqn |
The port IRQ number (starting from 0 = Reset_Handler). This field is likely only set with pctl is zero.
uint8_t sBSPACMdeviceTM4Cpinmux::pctl |
The port mux control nybble, with 0 denoting the GPIO function and higher values indicating a specific peripheral function. A valid value is in the range 1 through 15, and must be shifted left by 4*pin in order to place it in the correct location in the corresponding GPIOPCTL register.
uint8_t sBSPACMdeviceTM4Cpinmux::pin |
The pin number, ranging from 0 through 7.
GPIOCommon_Type* sBSPACMdeviceTM4Cpinmux::port |
The register pointer for the port to be configured. The specific device is GPIOA_Type or GPIOA_AHB_Type, depending on device line, though the two types are structurally equivalent.