periph_cpu.h File Reference

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

Detailed Description

CPU specific definitions for internal peripheral handling.

CPU specific definitions for internal peripheral handling

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file periph_cpu.h.

#include "periph_cpu_common.h"
+ Include dependency graph for periph_cpu.h:

Go to the source code of this file.

Macros

#define DAC_RES_BITS   (12)
 The MCU has a 12 bit DAC.
 
#define DAC_NUMOF   (2)
 The MCU has two DAC outputs.
 
#define CPU_BACKUP_RAM_NOT_RETAINED   (1)
 The Low Power SRAM is not retained during deep sleep.
 

Power mode configuration

#define PM_NUM_MODES   (2)
 

SAML21 GCLK definitions

enum  { SAM0_GCLK_MAIN = 0, SAM0_GCLK_8MHZ = 1, SAM0_GCLK_32KHZ = 2 }
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SAM0_GCLK_MAIN 

Main clock.

SAM0_GCLK_8MHZ 

8MHz clock

SAM0_GCLK_32KHZ 

32 kHz clock

Definition at line 45 of file periph_cpu.h.