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

Implementation specific CPU configuration options. More...

Detailed Description

Implementation specific CPU configuration options.

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

Definition in file cpu_conf.h.

#include "cpu_conf_common.h"
#include "vendor/nrf51.h"
#include "vendor/nrf51_bitfields.h"
#include "vendor/nrf51822_peripherals.h"
+ Include dependency graph for cpu_conf.h:

Go to the source code of this file.

#define CPU_DEFAULT_IRQ_PRIO   (1U)
 ARM Cortex-M specific CPU configuration.
 
#define CPU_IRQ_NUMOF   (26U)
 
#define CPU_FLASH_BASE   (0x00000000)
 
#define FLASHPAGE_SIZE   (1024U)
 Flash page configuration.
 
#define FLASHPAGE_WRITE_BLOCK_SIZE   (4U)
 
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (4U)
 
#define CONFIG_GNRC_PKTBUF_SIZE   (2048)
 Due to RAM restrictions, we need to limit the default GNRC packet buffer size on these CPUs.
 
#define PWM_GPIOTE_CH   (2U)
 CPU specific PWM configuration.
 
#define PWM_PPI_A   (0U)
 
#define PWM_PPI_B   (1U)
 

Macro Definition Documentation

◆ CONFIG_GNRC_PKTBUF_SIZE

#define CONFIG_GNRC_PKTBUF_SIZE   (2048)

Due to RAM restrictions, we need to limit the default GNRC packet buffer size on these CPUs.

Definition at line 61 of file cpu_conf.h.

◆ CPU_DEFAULT_IRQ_PRIO

#define CPU_DEFAULT_IRQ_PRIO   (1U)

ARM Cortex-M specific CPU configuration.

Definition at line 31 of file cpu_conf.h.

◆ CPU_FLASH_BASE

#define CPU_FLASH_BASE   (0x00000000)

Definition at line 33 of file cpu_conf.h.

◆ CPU_IRQ_NUMOF

#define CPU_IRQ_NUMOF   (26U)

Definition at line 32 of file cpu_conf.h.

◆ FLASHPAGE_SIZE

#define FLASHPAGE_SIZE   (1024U)

Flash page configuration.

Definition at line 40 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_ALIGNMENT

#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (4U)

Definition at line 52 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_SIZE

#define FLASHPAGE_WRITE_BLOCK_SIZE   (4U)

Definition at line 50 of file cpu_conf.h.

◆ PWM_GPIOTE_CH

#define PWM_GPIOTE_CH   (2U)

CPU specific PWM configuration.

Definition at line 69 of file cpu_conf.h.

◆ PWM_PPI_A

#define PWM_PPI_A   (0U)

Definition at line 70 of file cpu_conf.h.

◆ PWM_PPI_B

#define PWM_PPI_B   (1U)

Definition at line 71 of file cpu_conf.h.