ezr32wg/include/periph_cpu.h File Reference

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

Detailed Description

#include "cpu.h"
+ Include dependency graph for ezr32wg/include/periph_cpu.h:

Go to the source code of this file.

Data Structures

struct  timer_conf_t
 Timer configuration data. More...
 
struct  uart_conf_t
 UART device configuration. More...
 

Macros

#define CPUID_ADDR   (&DEVINFO->UNIQUEL)
 Starting offset of CPU_ID.
 
#define CPUID_LEN   (8U)
 Length of the CPU_ID in octets.
 
#define GPIO_UNDEF   (0xffffffff)
 Definition of a fitting UNDEF value.
 
#define TIMER_UNDEF   (0xffffffff)
 Override the timer undefined value.
 
#define HAVE_TIMER_T
 Override the timer type.
 
typedef uint32_t tim_t
 
#define HAVE_GPIO_T
 Define a custom type for GPIO pins.
 
typedef uint32_t gpio_t
 
#define GPIO_PIN(x, y)   ((x << 4) | y)
 Mandatory function for defining a GPIO pins.
 
enum  {
  PA = 0, PB = 1, PC = 2, PD = 3,
  PE = 4, PF = 5
}
 Available ports on the SAMD21. More...
 

Enumeration Type Documentation

anonymous enum
Enumerator
PA 

port A

PB 

port B

PC 

port C

PD 

port D

PE 

port E

PF 

port F

Definition at line 86 of file ezr32wg/include/periph_cpu.h.