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

Implementation specific CPU configuration options. More...

Detailed Description

Implementation specific CPU configuration options.

Author
Ian Martin ian@l.nosp@m.ocic.nosp@m.ontro.nosp@m.ls.c.nosp@m.om

Definition in file cpu_conf.h.

#include "kernel_defines.h"
#include "cpu_conf_common.h"
#include "cc2538.h"
#include "cc2538_gpio.h"
#include "cc2538_uart.h"
#include "cc2538_gptimer.h"
#include "cc2538_soc_adc.h"
#include "cc2538_ssi.h"
#include "cc2538_sys_ctrl.h"
+ Include dependency graph for cpu_conf.h:

Go to the source code of this file.

ARM Cortex-M specific CPU configuration

#define CPU_DEFAULT_IRQ_PRIO   (1U)
 
#define CPU_IRQ_NUMOF   PERIPH_COUNT_IRQn
 
#define CPU_FLASH_BASE   FLASH_BASE
 
#define CPU_HAS_BITBAND   (1)
 
#define FLASHPAGE_SIZE   (2048U)
 Flash page configuration.
 
#define FLASHPAGE_CC2538_USE_CCA_PAGE   (0)
 
#define FLASHPAGE_NUMOF   ((CC2538_FLASHSIZE / FLASHPAGE_SIZE) -1)
 
#define FLASH_ERASE_STATE   (0x1)
 
#define FLASHPAGE_WRITE_BLOCK_SIZE   (4U)
 
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (4U)
 

Macro Definition Documentation

◆ CPU_DEFAULT_IRQ_PRIO

#define CPU_DEFAULT_IRQ_PRIO   (1U)

Definition at line 40 of file cpu_conf.h.

◆ CPU_FLASH_BASE

#define CPU_FLASH_BASE   FLASH_BASE

Definition at line 42 of file cpu_conf.h.

◆ CPU_HAS_BITBAND

#define CPU_HAS_BITBAND   (1)

Definition at line 43 of file cpu_conf.h.

◆ CPU_IRQ_NUMOF

#define CPU_IRQ_NUMOF   PERIPH_COUNT_IRQn

Definition at line 41 of file cpu_conf.h.

◆ FLASH_ERASE_STATE

#define FLASH_ERASE_STATE   (0x1)

Definition at line 63 of file cpu_conf.h.

◆ FLASHPAGE_CC2538_USE_CCA_PAGE

#define FLASHPAGE_CC2538_USE_CCA_PAGE   (0)

Definition at line 56 of file cpu_conf.h.

◆ FLASHPAGE_NUMOF

#define FLASHPAGE_NUMOF   ((CC2538_FLASHSIZE / FLASHPAGE_SIZE) -1)

Definition at line 61 of file cpu_conf.h.

◆ FLASHPAGE_SIZE

#define FLASHPAGE_SIZE   (2048U)

Flash page configuration.

Definition at line 50 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_ALIGNMENT

#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (4U)

Definition at line 70 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_SIZE

#define FLASHPAGE_WRITE_BLOCK_SIZE   (4U)

Definition at line 68 of file cpu_conf.h.