Loading...
Searching...
No Matches
periph_cpu.h File Reference

nRF5340 specific definitions for handling peripherals More...

Detailed Description

nRF5340 specific definitions for handling peripherals

Author
Dylan Laduranty dylan.nosp@m..lad.nosp@m.urant.nosp@m.y@me.nosp@m.sotic.nosp@m..com

Definition in file periph_cpu.h.

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

Go to the source code of this file.

#define PERIPH_CLOCK_1MHZ   MHZ(1)
 Peripheral clocks speed.
 
#define PERIPH_CLOCK_16MHZ   MHZ(16)
 16MHz peripheral clock
 
#define PERIPH_CLOCK_32MHZ   MHZ(32)
 32MHz peripheral clock
 
#define PERIPH_CLOCK_64MHZ   MHZ(64)
 64MHz peripheral clock
 
#define PERIPH_CLOCK   PERIPH_CLOCK_16MHZ
 For driver compatibility.
 

Macro Definition Documentation

◆ PERIPH_CLOCK

#define PERIPH_CLOCK   PERIPH_CLOCK_16MHZ

For driver compatibility.

Definition at line 36 of file periph_cpu.h.

◆ PERIPH_CLOCK_16MHZ

#define PERIPH_CLOCK_16MHZ   MHZ(16)

16MHz peripheral clock

Definition at line 33 of file periph_cpu.h.

◆ PERIPH_CLOCK_1MHZ

#define PERIPH_CLOCK_1MHZ   MHZ(1)

Peripheral clocks speed.

1MHz peripheral clock

Definition at line 32 of file periph_cpu.h.

◆ PERIPH_CLOCK_32MHZ

#define PERIPH_CLOCK_32MHZ   MHZ(32)

32MHz peripheral clock

Definition at line 34 of file periph_cpu.h.

◆ PERIPH_CLOCK_64MHZ

#define PERIPH_CLOCK_64MHZ   MHZ(64)

64MHz peripheral clock

Definition at line 35 of file periph_cpu.h.