Shared CPU specific definitions for the MIPS family. More...
Shared CPU specific definitions for the MIPS family.
Shared CPU specific definitions for the MIPS family.
Definition in file periph_cpu_common.h.
#include "cpu.h"
Include dependency graph for periph_cpu_common.h:Go to the source code of this file.
Data Structures | |
| struct | uart_conf_t |
| UART device configuration. More... | |
Macros | |
| #define | CPUID_LEN (4U) |
| Length of the CPU_ID in bytes. | |
| #define | GPIO_PIN(x, y) (((_PORTB_BASE_ADDRESS & 0xFFFFF000) + (x << 8)) | y) |
| Override GPIO pin selection macro. | |
| #define | PERIPH_TIMER_PROVIDES_SET |
| Prevent shared timer functions from being used. | |
Enumerations | |
| enum | { PORT_A = 0, PORT_B = 1, PORT_C = 2, PORT_D = 3, PORT_E = 4, PORT_F = 5, PORT_G = 6 } |
| Available ports on the PIC32 family. More... | |
| enum | gpio_af_t { GPIO_AF0 = 0, GPIO_AF1, GPIO_AF2, GPIO_AF3, GPIO_AF4, GPIO_AF5, GPIO_AF6, GPIO_AF7, GPIO_AF8, GPIO_AF9, GPIO_AF10, GPIO_AF11, GPIO_AF12, GPIO_AF13, GPIO_AF14, GPIO_AF15, GPIO_AF0 = 0, GPIO_AF1, GPIO_AF2, GPIO_AF3, GPIO_AF4, GPIO_AF5, GPIO_AF6, GPIO_AF7, GPIO_AF8, GPIO_AF9, GPIO_AF10, GPIO_AF11, GPIO_AF12, GPIO_AF13, GPIO_AF14, GPIO_AF15 } |
| Available MUX values for configuring a pin's alternate function. More... | |
| #define | FLASH_XIP (1) |
| We run from flash on PIC32. | |
| anonymous enum |
Available ports on the PIC32 family.
| 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 |
| PORT_G | port G |
Definition at line 66 of file periph_cpu_common.h.
| enum gpio_af_t |
Available MUX values for configuring a pin's alternate function.
Definition at line 85 of file periph_cpu_common.h.