CPU specific definitions for internal peripheral handling. More...
CPU specific definitions for internal peripheral handling.
Definition in file periph_cpu.h.
#include "cpu.h"
Include dependency graph for periph_cpu.h:Go to the source code of this file.
Data Structures | |
| struct | timer_conf_t |
| Timer device configuration. More... | |
| struct | spi_conf_t |
| SPI device configuration. More... | |
Macros | |
| #define | SPI_HWCS(x) |
| Override SPI hardware chip select macro. | |
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 | HAVE_GPIO_T |
| Overwrite the default gpio_t type definition. | |
| #define | GPIO_PIN(x, y) |
| #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 } |
| #define | PERIPH_SPI_NEEDS_TRANSFER_BYTE 1 |
| declare needed generic SPI functions | |
| #define | PERIPH_SPI_NEEDS_TRANSFER_REG 1 |
| #define | PERIPH_SPI_NEEDS_TRANSFER_REGS 1 |
| #define | PERIPH_SPI_NEEDS_INIT_CS 1 |
| #define GPIO_PIN | ( | x, | |
| y ) |
Definition at line 32 of file periph_cpu.h.
| #define HAVE_GPIO_DIR_T |
Override values for pin direction configuration.
Definition at line 56 of file periph_cpu.h.
| #define HAVE_GPIO_T |
Overwrite the default gpio_t type definition.
Definition at line 30 of file periph_cpu.h.
| #define PERIPH_SPI_NEEDS_INIT_CS 1 |
Definition at line 149 of file periph_cpu.h.
| #define PERIPH_SPI_NEEDS_TRANSFER_BYTE 1 |
declare needed generic SPI functions
Definition at line 146 of file periph_cpu.h.
| #define PERIPH_SPI_NEEDS_TRANSFER_REG 1 |
Definition at line 147 of file periph_cpu.h.
| #define PERIPH_SPI_NEEDS_TRANSFER_REGS 1 |
Definition at line 148 of file periph_cpu.h.
| #define SPI_HWCS | ( | x | ) |
Override SPI hardware chip select macro.
As of now, we do not support HW CS, so we always set it to a fixed value
Definition at line 121 of file periph_cpu.h.
| anonymous enum |
Available ports on the LM4F120.
| 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 80 of file 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 57 of file periph_cpu.h.