libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
eventrouter.h
Go to the documentation of this file.
1
/** @defgroup eventrouter_defines Event Router Defines
2
3
@brief <b>Defined Constants and Types for the LPC43xx Event Router</b>
4
5
@ingroup LPC43xx_defines
6
7
@version 1.0.0
8
9
@author @htmlonly © @endhtmlonly 2012 Michael Ossmann <mike@ossmann.com>
10
11
@date 10 March 2013
12
13
LGPL License Terms @ref lgpl_license
14
*/
15
/*
16
* This file is part of the libopencm3 project.
17
*
18
* Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
19
*
20
* This library is free software: you can redistribute it and/or modify
21
* it under the terms of the GNU Lesser General Public License as published by
22
* the Free Software Foundation, either version 3 of the License, or
23
* (at your option) any later version.
24
*
25
* This library is distributed in the hope that it will be useful,
26
* but WITHOUT ANY WARRANTY; without even the implied warranty of
27
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
* GNU Lesser General Public License for more details.
29
*
30
* You should have received a copy of the GNU Lesser General Public License
31
* along with this library. If not, see <http://www.gnu.org/licenses/>.
32
*/
33
34
#ifndef LPC43XX_EVENTROUTER_H
35
#define LPC43XX_EVENTROUTER_H
36
37
/**@{*/
38
39
#include <
libopencm3/cm3/common.h
>
40
#include <
libopencm3/lpc43xx/memorymap.h
>
41
42
/* --- Event Router registers ---------------------------------------------- */
43
44
/* Level configuration register */
45
#define EVENTROUTER_HILO MMIO32(EVENTROUTER_BASE + 0x000)
46
47
/* Edge configuration */
48
#define EVENTROUTER_EDGE MMIO32(EVENTROUTER_BASE + 0x004)
49
50
/* Clear event enable register */
51
#define EVENTROUTER_CLR_EN MMIO32(EVENTROUTER_BASE + 0xFD8)
52
53
/* Set event enable register */
54
#define EVENTROUTER_SET_EN MMIO32(EVENTROUTER_BASE + 0xFDC)
55
56
/* Event Status register */
57
#define EVENTROUTER_STATUS MMIO32(EVENTROUTER_BASE + 0xFE0)
58
59
/* Event Enable register */
60
#define EVENTROUTER_ENABLE MMIO32(EVENTROUTER_BASE + 0xFE4)
61
62
/* Clear event status register */
63
#define EVENTROUTER_CLR_STAT MMIO32(EVENTROUTER_BASE + 0xFE8)
64
65
/* Set event status register */
66
#define EVENTROUTER_SET_STAT MMIO32(EVENTROUTER_BASE + 0xFEC)
67
68
/**@}*/
69
70
#endif
common.h
memorymap.h
include
libopencm3
lpc43xx
eventrouter.h
Generated on Tue Mar 7 2023 16:13:01 for libopencm3 by
1.9.4