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

Default clock configuration for cc2538 based boards. More...

Detailed Description

#include <stdint.h>
#include "cpu.h"
#include "periph_cpu.h"
+ Include dependency graph for cfg_clk_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Clock system configuration

#define SYS_CTRL_OSC32K_USE_XTAL   (1)
 
#define SYS_CTRL_OSC_USE_XTAL   (1)
 
#define CLOCK_OSC   (RCOSC16M_FREQ)
 
#define CLOCK_OSC32K   (RCOSC32K_FREQ) /* XCOSC frequency */
 
#define CLOCK_CORECLOCK   (CLOCK_OSC)
 
#define CLOCK_IO   (CLOCK_OSC / 2)
 

Macro Definition Documentation

◆ CLOCK_CORECLOCK

#define CLOCK_CORECLOCK   (CLOCK_OSC)

Definition at line 70 of file cfg_clk_default.h.

◆ CLOCK_IO

#define CLOCK_IO   (CLOCK_OSC / 2)

Definition at line 74 of file cfg_clk_default.h.

◆ CLOCK_OSC

#define CLOCK_OSC   (RCOSC16M_FREQ)

Definition at line 59 of file cfg_clk_default.h.

◆ CLOCK_OSC32K

#define CLOCK_OSC32K   (RCOSC32K_FREQ) /* XCOSC frequency */

Definition at line 65 of file cfg_clk_default.h.

◆ SYS_CTRL_OSC32K_USE_XTAL

#define SYS_CTRL_OSC32K_USE_XTAL   (1)

Definition at line 46 of file cfg_clk_default.h.

◆ SYS_CTRL_OSC_USE_XTAL

#define SYS_CTRL_OSC_USE_XTAL   (1)

Definition at line 53 of file cfg_clk_default.h.