Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
cpu_conf.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2021 Otto-von-Guericke-Universität Magdeburg
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include <stdint.h>
19
20
#include "
macros/units.h
"
21
#include "cpu_conf_common.h"
22
#include "RP2040.h"
23
24
/* register field definitions (*_LSB, *_BITS, *_VALUE_*) from the Pico SDK */
25
#include "hardware/platform_defs.h"
26
#include "hardware/regs/adc.h"
27
#include "hardware/regs/clocks.h"
28
#include "hardware/regs/io_bank0.h"
29
#include "hardware/regs/pads_bank0.h"
30
#include "hardware/regs/pads_qspi.h"
31
#include "hardware/regs/pio.h"
32
#include "hardware/regs/pll.h"
33
#include "hardware/regs/pwm.h"
34
#include "hardware/regs/resets.h"
35
#include "hardware/regs/rosc.h"
36
#include "hardware/regs/spi.h"
37
#include "hardware/regs/timer.h"
38
#include "hardware/regs/uart.h"
39
#include "hardware/regs/watchdog.h"
40
#include "hardware/regs/xosc.h"
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
50
#define CPU_DEFAULT_IRQ_PRIO (1U)
51
#define CPU_FLASH_BASE ROM_START_ADDR
52
#define CPU_IRQ_NUMOF (32U)
54
55
#ifdef __cplusplus
56
}
57
#endif
58
units.h
Unit helper macros.
Generated on Fri Oct 30 2026 11:09:05 by
1.13.2