mFrame
載入中...
搜尋中...
無符合項目
Processor.h
1
7#ifndef MCXA153_3C73C03F_387F_48B6_9AC6_72661FF75B52
8#define MCXA153_3C73C03F_387F_48B6_9AC6_72661FF75B52
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Define
21 */
22
23/* ***************************************************************************************
24 * Namespace
25 */
26namespace mcxa153::chip {
27 class Processor;
28} // namespace mcxa153::chip
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
147 /* *************************************************************************************
148 * Variable
149 */
150
151 /* *************************************************************************************
152 * Abstract Method
153 */
154
155 /* *************************************************************************************
156 * Construct Method
157 */
158 protected:
172 virtual ~Processor(void) override = default;
173
174 /* *************************************************************************************
175 * Operator Method
176 */
177
178 /* *************************************************************************************
179 * Override Method
180 */
181
182 /* *************************************************************************************
183 * Public Method
184 */
185
186 /* *************************************************************************************
187 * Protected Method
188 */
189
190 /* *************************************************************************************
191 * Private Method
192 */
193
194 /* *************************************************************************************
195 * Static Variable - General Purpose I/O & Port Configuration
196 */
197 public:
199 static constexpr uint32 BASE_GPIO0 = 0x40102000U;
201 static constexpr uint32 BASE_GPIO1 = 0x40103000U;
203 static constexpr uint32 BASE_GPIO2 = 0x40104000U;
205 static constexpr uint32 BASE_GPIO3 = 0x40105000U;
206
208 static constexpr uint32 BASE_PORT0 = 0x400BC000U;
210 static constexpr uint32 BASE_PORT1 = 0x400BD000U;
212 static constexpr uint32 BASE_PORT2 = 0x400BE000U;
214 static constexpr uint32 BASE_PORT3 = 0x400BF000U;
215
216 /* *************************************************************************************
217 * Static Variable - System Control & Security Management
218 */
219 public:
221 static constexpr uint32 BASE_SYSCON = 0x40091000U;
223 static constexpr uint32 BASE_GLIKEY0 = 0x40091D00U;
225 static constexpr uint32 BASE_MBC0 = 0x4008E000U;
227 static constexpr uint32 BASE_MRCC0 = 0x40091000u;
229 static constexpr uint32 BASE_SCG0 = 0x4008F000U;
231 static constexpr uint32 BASE_VBAT0 = 0x40093000U;
233 static constexpr uint32 BASE_SPC0 = 0x40090000U;
235 static constexpr uint32 BASE_FMU0 = 0x40095000U;
236
237 /* *************************************************************************************
238 * Static Variable - Communication Interfaces
239 */
240 public:
242 static constexpr uint32 BASE_LPUART0 = 0x4009F000U;
244 static constexpr uint32 BASE_LPUART1 = 0x400A0000U;
246 static constexpr uint32 BASE_LPUART2 = 0x400A1000U;
247
249 static constexpr uint32 BASE_LPI2C0 = 0x4009A000U;
251 static constexpr uint32 BASE_LPSPI0 = 0x4009C000U;
253 static constexpr uint32 BASE_LPSPI1 = 0x4009D000U;
254
255 /* *************************************************************************************
256 * Static Variable - Timers & Analog Peripherals
257 */
258 public:
260 static constexpr uint32 BASE_CTIMER0 = 0x40004000U;
262 static constexpr uint32 BASE_CTIMER1 = 0x40005000U;
264 static constexpr uint32 BASE_CTIMER2 = 0x40006000U;
266 static constexpr uint32 BASE_OSTIMER0 = 0x400AD000U;
268 static constexpr uint32 BASE_LPADC0 = 0x400AF000U;
269
270 /* *************************************************************************************
271 * Static Method
272 */
273 public:
339 static void systemInit(void);
340};
341
342/* ***************************************************************************************
343 * End of file
344 */
345
346#endif /* MCXA153_3C73C03F_387F_48B6_9AC6_72661FF75B52 */
MCXA153 處理器核心管理類別
Definition Processor.h:146
static constexpr uint32 BASE_LPSPI0
LPSPI0 基地址 - 低功耗SPI介面0 (0x4009C000)
Definition Processor.h:251
static constexpr uint32 BASE_GPIO0
GPIO0 控制器基地址 - 通用輸入輸出埠0 (0x40102000)
Definition Processor.h:199
static constexpr uint32 BASE_LPADC0
LPADC0 基地址 - 低功耗類比數位轉換器0 (0x400AF000)
Definition Processor.h:268
static constexpr uint32 BASE_LPUART1
LPUART1 基地址 - 低功耗通用非同步收發器1 (0x400A0000)
Definition Processor.h:244
static constexpr uint32 BASE_SYSCON
SYSCON 基地址 - 系統配置控制器 (0x40091000)
Definition Processor.h:221
static constexpr uint32 BASE_OSTIMER0
OSTIMER0 基地址 - 作業系統定時器0 (0x400AD000)
Definition Processor.h:266
static constexpr uint32 BASE_CTIMER0
CTIMER0 基地址 - 通用定時器0 (0x40004000)
Definition Processor.h:260
static constexpr uint32 BASE_FMU0
FMU0 基地址 - Flash記憶體單元0 (0x40095000)
Definition Processor.h:235
static constexpr uint32 BASE_LPSPI1
LPSPI1 基地址 - 低功耗SPI介面1 (0x4009D000)
Definition Processor.h:253
static constexpr uint32 BASE_LPI2C0
LPI2C0 基地址 - 低功耗I2C介面0 (0x4009A000)
Definition Processor.h:249
static constexpr uint32 BASE_SCG0
SCG0 基地址 - 系統時脈產生器0 (0x4008F000)
Definition Processor.h:229
static constexpr uint32 BASE_GPIO1
GPIO1 控制器基地址 - 通用輸入輸出埠1 (0x40103000)
Definition Processor.h:201
static constexpr uint32 BASE_PORT3
PORT3 配置基地址 - 引腳複用與電氣特性配置3 (0x400BF000)
Definition Processor.h:214
static constexpr uint32 BASE_PORT2
PORT2 配置基地址 - 引腳複用與電氣特性配置2 (0x400BE000)
Definition Processor.h:212
static constexpr uint32 BASE_GPIO2
GPIO2 控制器基地址 - 通用輸入輸出埠2 (0x40104000)
Definition Processor.h:203
static constexpr uint32 BASE_CTIMER2
CTIMER2 基地址 - 通用定時器2 (0x40006000)
Definition Processor.h:264
static constexpr uint32 BASE_LPUART0
LPUART0 基地址 - 低功耗通用非同步收發器0 (0x4009F000)
Definition Processor.h:242
static constexpr uint32 BASE_PORT1
PORT1 配置基地址 - 引腳複用與電氣特性配置1 (0x400BD000)
Definition Processor.h:210
static constexpr uint32 BASE_SPC0
SPC0 基地址 - 系統電源控制器0 (0x40090000)
Definition Processor.h:233
static constexpr uint32 BASE_MRCC0
MRCC0 基地址 - 模組復位與時脈控制0 (0x40091000)
Definition Processor.h:227
static constexpr uint32 BASE_VBAT0
VBAT0 基地址 - 電池供電域控制器0 (0x40093000)
Definition Processor.h:231
static constexpr uint32 BASE_CTIMER1
CTIMER1 基地址 - 通用定時器1 (0x40005000)
Definition Processor.h:262
static constexpr uint32 BASE_MBC0
MBC0 基地址 - 記憶體邊界檢查器0 (TrustZone) (0x4008E000)
Definition Processor.h:225
static constexpr uint32 BASE_LPUART2
LPUART2 基地址 - 低功耗通用非同步收發器2 (0x400A1000)
Definition Processor.h:246
static constexpr uint32 BASE_PORT0
PORT0 配置基地址 - 引腳複用與電氣特性配置0 (0x400BC000)
Definition Processor.h:208
static constexpr uint32 BASE_GPIO3
GPIO3 控制器基地址 - 通用輸入輸出埠3 (0x40105000)
Definition Processor.h:205
static void systemInit(void)
系統初始化函數
static constexpr uint32 BASE_GLIKEY0
GLIKEY0 基地址 - 全域金鑰管理器0 (0x40091D00)
Definition Processor.h:223
virtual ~Processor(void) override=default
解構 Processor 物件
Definition NonInstantiable.h:29
Definition AttachID.h:33