mFrame
載入中...
搜尋中...
無符合項目
SelectName.h
1
7#ifndef MCXA153_6FC81D2E_17CD_439B_97EE_C2F1A9A41CE5
8#define MCXA153_6FC81D2E_17CD_439B_97EE_C2F1A9A41CE5
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace mcxa153::chip::clock {
23 enum struct SelectName : unsigned int;
24
31 constexpr unsigned int operator+(SelectName e) {
32 return static_cast<unsigned int>(e);
33 }
34} // namespace mcxa153::chip::clock
35
36/* ***************************************************************************************
37 * Class/Interface/Struct/Enum
38 */
39
46enum struct mcxa153::chip::clock::SelectName : unsigned int {
47 I3C0_FCLK = (0x0A0U),
48 CTIMER0 = (0x0A8U),
49 CTIMER1 = (0x0B0U),
50 CTIMER2 = (0x0B8U),
51 LPI2C0 = (0x0C8U),
52 LPSPI0 = (0x0D0U),
53 LPSPI1 = (0x0D8U),
54 LPUART0 = (0x0E0U),
55 LPUART1 = (0x0E8U),
56 LPUART2 = (0x0F0U),
57 USB0 = (0x0F8U),
58 LPTMR0 = (0x100U),
59 OSTIMER0 = (0x108U),
60 ADC0 = (0x110U),
61 CMP0_RR = (0x120U),
62 CMP1_RR = (0x130U),
63 TRACE = (0x138U),
64 CLKOUT = (0x140U),
65 SYSTICK = (0x148U),
66 SCGSCS = (0x200U),
67 MAX = (0x200U)
68};
69
70/* ***************************************************************************************
71 * End of file
72 */
73
74#endif /* MCXA153_6FC81D2E_17CD_439B_97EE_C2F1A9A41CE5 */
時鐘源附加識別碼枚舉
Definition AttachID.h:33
SelectName
MCXA153 晶片的時鐘選擇枚舉 此枚舉定義了所有可用於各個外設的時鐘選擇
Definition SelectName.h:46
constexpr unsigned int operator+(AttachID e)
將AttachID轉換為無符號整數
Definition AttachID.h:42