mFrame
載入中...
搜尋中...
無符合項目
ROMAPI.h
1
7#ifndef MCXA153_08BAECE2_AFDF_41A1_80A9_4410AC789D5C
8#define MCXA153_08BAECE2_AFDF_41A1_80A9_4410AC789D5C
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../Processor.h"
17#include "./../romapi/BootloaderTree.h"
18#include "./../romapi/Config.h"
19#include "./../romapi/DriverInterface.h"
20#include "./../romapi/PropertyTag.h"
21#include "./../romapi/Status.h"
22
23//----------------------------------------------------------------------------------------
24
25/* ***************************************************************************************
26 * Namespace
27 */
28namespace mcxa153::chip::romapi {
29 class ROMAPI;
30
31 BootloaderTree* const ROMAPI0 =
32 (reinterpret_cast<BootloaderTree*>(mcxa153::chip::Processor::BASE_ROMAPI));
33
34 BootloaderTree* const ROMAPI[] = {ROMAPI0};
35} // namespace mcxa153::chip::romapi
36
37/* ***************************************************************************************
38 * Class/Interface/Struct/Enum
39 */
40
47 /* *************************************************************************************
48 * Variable
49 */
50
51 /* *************************************************************************************
52 * Abstract Method
53 */
54
55 /* *************************************************************************************
56 * Construct Method
57 */
58 protected:
63 virtual ~ROMAPI(void) override = default;
64
65 /* *************************************************************************************
66 * Operator Method
67 */
68
69 /* *************************************************************************************
70 * Override -
71 */
72
73 /* *************************************************************************************
74 * Public Method
75 */
76
77 /* *************************************************************************************
78 * Protected Method
79 */
80
81 /* *************************************************************************************
82 * Private Method
83 */
84
85 /* *************************************************************************************
86 * Static Variable
87 */
88 public:
90 static constexpr uint32 API_ERASE_KEY = 0x6B65666C;
91
92 /* *************************************************************************************
93 * Static Method
94 */
95};
96
97/* ***************************************************************************************
98 * End of file
99 */
100
101#endif /* MCXA153_08BAECE2_AFDF_41A1_80A9_4410AC789D5C */
static constexpr uint32 BASE_ROMAPI
ROM API 基地址 - 內建ROM函數入口 (0x03003FE0)
Definition Processor.h:275
Definition ROMAPI.h:46
virtual ~ROMAPI(void) override=default
Destroy the object.
static constexpr uint32 API_ERASE_KEY
Flash 擦除操作的安全金鑰
Definition ROMAPI.h:90
Definition NonInstantiable.h:29
Definition BootloaderTree.h:23