periph_cpu_common.h File Reference

Shared CPU specific definitions for the MIPS family. More...

Detailed Description

Shared CPU specific definitions for the MIPS family.

Shared CPU specific definitions for the MIPS family.

Author
Francois Berder franc.nosp@m.ois..nosp@m.berde.nosp@m.r@im.nosp@m.gtec..nosp@m.com

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.
 

Enumeration Type Documentation

◆ anonymous enum

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.

◆ gpio_af_t

enum gpio_af_t

Available MUX values for configuring a pin's alternate function.

Enumerator
GPIO_AF0 

use alternate function 0

GPIO_AF1 

use alternate function 1

GPIO_AF2 

use alternate function 2

GPIO_AF3 

use alternate function 3

GPIO_AF4 

use alternate function 4

GPIO_AF5 

use alternate function 5

GPIO_AF6 

use alternate function 6

GPIO_AF7 

use alternate function 7

GPIO_AF8 

use alternate function 8

GPIO_AF9 

use alternate function 9

GPIO_AF10 

use alternate function 10

GPIO_AF11 

use alternate function 11

GPIO_AF12 

use alternate function 12

GPIO_AF13 

use alternate function 13

GPIO_AF14 

use alternate function 14

GPIO_AF15 

use alternate function 15

GPIO_AF0 

use alternate function 0

GPIO_AF1 

use alternate function 1

GPIO_AF2 

use alternate function 2

GPIO_AF3 

use alternate function 3

GPIO_AF4 

use alternate function 4

GPIO_AF5 

use alternate function 5

GPIO_AF6 

use alternate function 6

GPIO_AF7 

use alternate function 7

GPIO_AF8 

use alternate function 8

GPIO_AF9 

use alternate function 9

GPIO_AF10 

use alternate function 10

GPIO_AF11 

use alternate function 11

GPIO_AF12 

use alternate function 12

GPIO_AF13 

use alternate function 13

GPIO_AF14 

use alternate function 14

GPIO_AF15 

use alternate function 15

Definition at line 85 of file periph_cpu_common.h.