mFrame
載入中...
搜尋中...
無符合項目
glikey/Register.h
1
7#ifndef CHIP_3A280A37_8944_43D3_B3AC_09ACDDEA8459
8#define CHIP_3A280A37_8944_43D3_B3AC_09ACDDEA8459
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "mframe.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace chip::glikey {
23 struct Register;
24} // namespace chip::glikey
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
29
225 union {
233 __IO uint32 ctrl0;
234
242 struct {
250 __IO uint32 write_index : 8;
251
257 __I uint32 reserved0 : 8;
258
266 __IO uint32 wr_en_0 : 2;
267
279 __IO uint32 sft_rst : 1;
280
286 __I uint32 reserved1 : 13;
288 };
289
290 union {
298 __IO uint32 ctrl1;
299
307 struct {
316 __IO uint32 read_index : 8;
317
323 __I uint32 reserved0 : 8;
324
330 __IO uint32 wr_en_1 : 2;
331
343 __IO uint32 sfr_lock : 4;
344
350 __I uint32 reserved1 : 10;
352 };
353
354 union {
360 __IO uint32 intr_ctrl;
361
367 struct {
374 __IO uint32 int_en : 1;
375
385 __IO uint32 int_clr : 1;
386
399 __IO uint32 int_set : 1;
400
406 __I uint32 reserved0 : 29;
408 };
409
410 union {
416 __I uint32 status;
417
418 struct {
430 __I uint32 int_status : 1;
431
441 __I uint32 lock_status : 1;
442
471 __I uint32 error_status : 3;
472
478 __I uint32 reserved0 : 14;
479
511 __I uint32 fsm_state : 13;
512 } status_bit;
513 };
514
515 uint8 reserved[236];
516
517 union {
523 __I uint32 version;
524
525 struct {
531 __I uint32 reserved3 : 4;
532
538 __I uint32 reserved7 : 4;
539
545 __I uint32 reserved11 : 4;
546
552 __I uint32 reserved15 : 4;
553
567 __I uint32 milestone : 2;
568
576 __I uint32 fsm_config : 1;
577
583 __I uint32 index_config : 8;
584
590 __I uint32 reserved31 : 5;
591 } version_bit;
592 };
593};
594
595/* ***************************************************************************************
596 * End of file
597 */
598
599#endif /* CHIP_3A280A37_8944_43D3_B3AC_09ACDDEA8459 */
Definition GLIKEY.h:25
GLIKEY.
Definition glikey/Register.h:224
__I uint32 reserved0
RESERVED15[8-15] <RESV>
Definition glikey/Register.h:257
__IO uint32 int_en
INT_EN[0] <RW>
Definition glikey/Register.h:374
__IO uint32 wr_en_1
WR_EN_1[16-17] <RW>
Definition glikey/Register.h:330
__IO uint32 ctrl0
CTRL_0[0h] <RW>
Definition glikey/Register.h:233
__I uint32 milestone
MILESTONE[16-17] <RO>
Definition glikey/Register.h:567
__IO uint32 ctrl1
CTRL1[0x04] <RW>
Definition glikey/Register.h:298
__I uint32 index_config
INDEX_CONFIG[19-26] <RO>
Definition glikey/Register.h:583
__I uint32 reserved11
Reserved3[8-11] <RESV>
Definition glikey/Register.h:545
__I uint32 error_status
ERROR_STATUS[2-4] <RO>
Definition glikey/Register.h:471
__I uint32 reserved3
Reserved3[0-3] <RESV>
Definition glikey/Register.h:531
__I uint32 version
VERSION[0xFFC] <RO>
Definition glikey/Register.h:523
__I uint32 reserved31
Reserved31[27-31] <RESV>
Definition glikey/Register.h:590
struct chip::glikey::Register::@6::@14 intr_ctrl_bit
INTR_CTRL[0x08] <RW>
struct chip::glikey::Register::@4::@13 ctrl1_bit
CTRL1[0x04] <RW>
__I uint32 lock_status
LOCK_STATUS[1] <RO>
Definition glikey/Register.h:441
__I uint32 reserved1
RESERVED31[19-31] <RESV>
Definition glikey/Register.h:286
__IO uint32 sft_rst
SFT_RST[18] <RW>
Definition glikey/Register.h:279
__IO uint32 wr_en_0
WR_EN_0[16-17] <RW>
Definition glikey/Register.h:266
__IO uint32 read_index
READ_INDEX[0-7] <RW>
Definition glikey/Register.h:316
__I uint32 fsm_config
FSM_CONFIG[18] <RO>
Definition glikey/Register.h:576
struct chip::glikey::Register::@2::@12 ctrl0_bit
CTRL_0[0h] <RW>
__I uint32 fsm_state
FSM_STATE[19-31] <RO>
Definition glikey/Register.h:511
__IO uint32 int_clr
INT_CLR[1] <RW>
Definition glikey/Register.h:385
__I uint32 reserved15
Reserved3[12-15] <RESV>
Definition glikey/Register.h:552
__IO uint32 write_index
WRITE_INDEX[0-7] <RW>
Definition glikey/Register.h:250
__IO uint32 sfr_lock
SFR_LOCK[18-21] <RW>
Definition glikey/Register.h:343
__I uint32 reserved7
Reserved7[4-7] <RESV>
Definition glikey/Register.h:538
__I uint32 status
STATUS[0x0C] <RO>
Definition glikey/Register.h:416
__I uint32 int_status
INT_STATUS[0] <RO>
Definition glikey/Register.h:430
__IO uint32 int_set
INT_SET[1] <RW>
Definition glikey/Register.h:399
__IO uint32 intr_ctrl
INTR_CTRL[0x08] <RW>
Definition glikey/Register.h:360