lm4f120/include/periph_cpu.h File Reference

CPU specific definitions for internal peripheral handling. More...

Detailed Description

#include "periph/dev_enums.h"
#include "cpu_conf.h"
+ Include dependency graph for lm4f120/include/periph_cpu.h:

Go to the source code of this file.

Enumerations

enum  {
  PORT_A = 0, PORT_B = 1, PORT_C = 2, PORT_D = 3,
  PORT_E = 4, PORT_F = 5
}
 Available ports on the LM4F120. More...
 
#define CPUID_LEN   (12U)
 Length of the CPU_ID in octets.
 
#define HAVE_GPIO_T
 Overwrite the default gpio_t type definition.
 
#define GPIO_PIN(x, y)   ((gpio_t)((x<<4) | y))
 
typedef uint32_t gpio_t
 
#define HAVE_GPIO_DIR_T
 Override values for pin direction configuration.
 
enum  gpio_dir_t { GPIO_DIR_IN = GPIO_DIR_MODE_IN, GPIO_DIR_OUT = GPIO_DIR_MODE_OUT }
 

Enumeration Type Documentation

anonymous enum
Enumerator
PORT_A 

port A

PORT_B 

port B

PORT_C 

port C

PORT_D 

port D

PORT_E 

port E

PORT_F 

port F

Definition at line 88 of file lm4f120/include/periph_cpu.h.

enum gpio_dir_t
Enumerator
GPIO_DIR_IN 

configure pin as input

GPIO_DIR_OUT 

configure pin as output

Definition at line 65 of file lm4f120/include/periph_cpu.h.