Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
cpu_conf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015-2017 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef CPU_CONF_H
21
#define CPU_CONF_H
22
23
#include "cpu_conf_common.h"
24
25
#include "em_device.h"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
35
#define CPU_DEFAULT_IRQ_PRIO (1U)
36
#define CPU_IRQ_NUMOF (EXT_IRQ_COUNT + 1)
37
#define CPU_FLASH_BASE (FLASH_BASE)
44
#define FLASHPAGE_SIZE (FLASH_PAGE_SIZE)
45
#define FLASHPAGE_NUMOF (FLASH_SIZE / FLASH_PAGE_SIZE)
46
/* The minimum block size which can be written is 4B. However, the erase
47
* block is always FLASHPAGE_SIZE.
48
*/
49
#define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
50
/* Writing should be always 4 bytes aligned */
51
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
58
#ifdef BITBAND_RAM_BASE
59
#define CPU_HAS_BITBAND 1
60
#endif
63
#ifdef __cplusplus
64
}
65
#endif
66
67
#endif
/* CPU_CONF_H */
Generated on Wed Mar 26 2025 08:27:17 by
1.12.0