Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
arm7_common.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2008-2009 Freie Universität Berlin
3
* SPDX-FileCopyrightText: 2014 Freie Universität Berlin
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
13
21
22
#include "
bitarithm.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#define PCTIM0 (BIT1)
33
#define PCTIM1 (BIT2)
34
#define PCUART0 (BIT3)
35
#define PCUART1 (BIT4)
36
#define PCPWM1 (BIT6)
37
#define PCI2C0 (BIT7)
38
#define PCSPI (BIT8)
39
#define PCRTC (BIT9)
40
#define PCSSP1 (BIT10)
41
#define PCEMC (BIT11)
42
#define PCAD (BIT12)
43
#define PCAN1 (BIT13)
44
#define PCAN2 (BIT14)
45
#define PCI2C1 (BIT19)
46
#define PCSSP0 (BIT21)
47
#define PCTIM2 (BIT22)
48
#define PCTIM3 (BIT23)
49
#define PCUART2 (BIT24)
50
#define PCUART3 (BIT25)
51
#define PCI2C2 (BIT26)
52
#define PCI2S (BIT27)
53
#define PCSDC (BIT28)
54
#define PCGPDMA (BIT29)
55
#define PCENET (BIT30)
56
#define PCUSB (BIT31)
58
63
#define PM0 (BIT0)
64
#define PM1 (BIT1)
65
#define BODPDM (BIT2)
66
#define BOGD (BIT3)
67
#define BORD (BIT4)
68
#define PM2 (BIT7)
69
70
#define PM_IDLE (PM0)
71
#define PM_SLEEP (PM2|PM0)
72
#define PM_POWERDOWN (PM1)
73
#define PM_DEEP_POWERDOWN (PM2|PM1)
75
80
#define MR0I (BIT0)
81
#define MR0R (BIT1)
82
#define MR0S (BIT2)
83
#define MR1I (BIT3)
84
#define MR1R (BIT4)
85
#define MR1S (BIT5)
86
#define MR2I (BIT6)
87
#define MR2R (BIT7)
88
#define MR2S (BIT8)
89
#define MR3I (BIT9)
90
#define MR3R (BIT10)
91
#define MR3S (BIT11)
93
94
#ifdef __cplusplus
95
}
96
#endif
97
bitarithm.h
Helper functions for bit arithmetic.
Generated on Mon Jun 15 2026 11:38:07 by
1.13.2