libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
gima.h
Go to the documentation of this file.
1
/** @defgroup gima_defines Global Input Multiplexer Array Defines
2
3
@brief <b>Defined Constants and Types for the LPC43xx Global Input Multiplexer
4
Array</b>
5
6
@ingroup LPC43xx_defines
7
8
@version 1.0.0
9
10
@author @htmlonly © @endhtmlonly 2012 Michael Ossmann <mike@ossmann.com>
11
12
@date 10 March 2013
13
14
LGPL License Terms @ref lgpl_license
15
*/
16
/*
17
* This file is part of the libopencm3 project.
18
*
19
* Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
20
*
21
* This library is free software: you can redistribute it and/or modify
22
* it under the terms of the GNU Lesser General Public License as published by
23
* the Free Software Foundation, either version 3 of the License, or
24
* (at your option) any later version.
25
*
26
* This library is distributed in the hope that it will be useful,
27
* but WITHOUT ANY WARRANTY; without even the implied warranty of
28
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
* GNU Lesser General Public License for more details.
30
*
31
* You should have received a copy of the GNU Lesser General Public License
32
* along with this library. If not, see <http://www.gnu.org/licenses/>.
33
*/
34
35
#ifndef LPC43XX_GIMA_H
36
#define LPC43XX_GIMA_H
37
38
/**@{*/
39
40
#include <
libopencm3/cm3/common.h
>
41
#include <
libopencm3/lpc43xx/memorymap.h
>
42
43
/* --- GIMA registers ----------------------------------------------------- */
44
45
/* Timer 0 CAP0_0 capture input multiplexer (GIMA output 0) */
46
#define GIMA_CAP0_0_IN MMIO32(GIMA_BASE + 0x000)
47
48
/* Timer 0 CAP0_1 capture input multiplexer (GIMA output 1) */
49
#define GIMA_CAP0_1_IN MMIO32(GIMA_BASE + 0x004)
50
51
/* Timer 0 CAP0_2 capture input multiplexer (GIMA output 2) */
52
#define GIMA_CAP0_2_IN MMIO32(GIMA_BASE + 0x008)
53
54
/* Timer 0 CAP0_3 capture input multiplexer (GIMA output 3) */
55
#define GIMA_CAP0_3_IN MMIO32(GIMA_BASE + 0x00C)
56
57
/* Timer 1 CAP1_0 capture input multiplexer (GIMA output 4) */
58
#define GIMA_CAP1_0_IN MMIO32(GIMA_BASE + 0x010)
59
60
/* Timer 1 CAP1_1 capture input multiplexer (GIMA output 5) */
61
#define GIMA_CAP1_1_IN MMIO32(GIMA_BASE + 0x014)
62
63
/* Timer 1 CAP1_2 capture input multiplexer (GIMA output 6) */
64
#define GIMA_CAP1_2_IN MMIO32(GIMA_BASE + 0x018)
65
66
/* Timer 1 CAP1_3 capture input multiplexer (GIMA output 7) */
67
#define GIMA_CAP1_3_IN MMIO32(GIMA_BASE + 0x01C)
68
69
/* Timer 2 CAP2_0 capture input multiplexer (GIMA output 8) */
70
#define GIMA_CAP2_0_IN MMIO32(GIMA_BASE + 0x020)
71
72
/* Timer 2 CAP2_1 capture input multiplexer (GIMA output 9) */
73
#define GIMA_CAP2_1_IN MMIO32(GIMA_BASE + 0x024)
74
75
/* Timer 2 CAP2_2 capture input multiplexer (GIMA output 10) */
76
#define GIMA_CAP2_2_IN MMIO32(GIMA_BASE + 0x028)
77
78
/* Timer 2 CAP2_3 capture input multiplexer (GIMA output 11) */
79
#define GIMA_CAP2_3_IN MMIO32(GIMA_BASE + 0x02C)
80
81
/* Timer 3 CAP3_0 capture input multiplexer (GIMA output 12) */
82
#define GIMA_CAP3_0_IN MMIO32(GIMA_BASE + 0x030)
83
84
/* Timer 3 CAP3_1 capture input multiplexer (GIMA output 13) */
85
#define GIMA_CAP3_1_IN MMIO32(GIMA_BASE + 0x034)
86
87
/* Timer 3 CAP3_2 capture input multiplexer (GIMA output 14) */
88
#define GIMA_CAP3_2_IN MMIO32(GIMA_BASE + 0x038)
89
90
/* Timer 3 CAP3_3 capture input multiplexer (GIMA output 15) */
91
#define GIMA_CAP3_3_IN MMIO32(GIMA_BASE + 0x03C)
92
93
/* SCT CTIN_0 capture input multiplexer (GIMA output 16) */
94
#define GIMA_CTIN_0_IN MMIO32(GIMA_BASE + 0x040)
95
96
/* SCT CTIN_1 capture input multiplexer (GIMA output 17) */
97
#define GIMA_CTIN_1_IN MMIO32(GIMA_BASE + 0x044)
98
99
/* SCT CTIN_2 capture input multiplexer (GIMA output 18) */
100
#define GIMA_CTIN_2_IN MMIO32(GIMA_BASE + 0x048)
101
102
/* SCT CTIN_3 capture input multiplexer (GIMA output 19) */
103
#define GIMA_CTIN_3_IN MMIO32(GIMA_BASE + 0x04C)
104
105
/* SCT CTIN_4 capture input multiplexer (GIMA output 20) */
106
#define GIMA_CTIN_4_IN MMIO32(GIMA_BASE + 0x050)
107
108
/* SCT CTIN_5 capture input multiplexer (GIMA output 21) */
109
#define GIMA_CTIN_5_IN MMIO32(GIMA_BASE + 0x054)
110
111
/* SCT CTIN_6 capture input multiplexer (GIMA output 22) */
112
#define GIMA_CTIN_6_IN MMIO32(GIMA_BASE + 0x058)
113
114
/* SCT CTIN_7 capture input multiplexer (GIMA output 23) */
115
#define GIMA_CTIN_7_IN MMIO32(GIMA_BASE + 0x05C)
116
117
/* VADC trigger input multiplexer (GIMA output 24) */
118
#define GIMA_VADC_TRIGGER_IN MMIO32(GIMA_BASE + 0x060)
119
120
/* Event router input 13 multiplexer (GIMA output 25) */
121
#define GIMA_EVENTROUTER_13_IN MMIO32(GIMA_BASE + 0x064)
122
123
/* Event router input 14 multiplexer (GIMA output 26) */
124
#define GIMA_EVENTROUTER_14_IN MMIO32(GIMA_BASE + 0x068)
125
126
/* Event router input 16 multiplexer (GIMA output 27) */
127
#define GIMA_EVENTROUTER_16_IN MMIO32(GIMA_BASE + 0x06C)
128
129
/* ADC start0 input multiplexer (GIMA output 28) */
130
#define GIMA_ADCSTART0_IN MMIO32(GIMA_BASE + 0x070)
131
132
/* ADC start1 input multiplexer (GIMA output 29) */
133
#define GIMA_ADCSTART1_IN MMIO32(GIMA_BASE + 0x074)
134
135
/**@}*/
136
137
#endif
common.h
memorymap.h
include
libopencm3
lpc43xx
gima.h
Generated on Tue Mar 7 2023 16:13:01 for libopencm3 by
1.9.4