AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: 8: 9: 13: 14: #ifndef _AG903_EBI_REGMAP_H_ 15: #define _AG903_EBI_REGMAP_H_ 16: 17: 18: #include "AG903_regmap.h" 19: 20: #ifndef __I 21: 22: #define __I volatile const 23: #endif 24: #ifndef __O 25: 26: #define __O volatile 27: #endif 28: #ifndef __IO 29: 30: #define __IO volatile 31: #endif 32: 33: 34: typedef struct { 35: 36: union { 37: __I uint32_t Version; 38: }; 39: 40: __I uint32_t RESERVED1[11]; 41: 42: union { 43: __IO uint32_t Control; 44: 45: struct { 46: __IO uint32_t mgsel : 8; 47: __IO uint32_t gtc_en : 8; 48: uint32_t : 8; 49: __IO uint32_t arb_mode : 1; 50: __IO uint32_t intturn_en : 1; 51: uint32_t : 2; 52: __IO uint32_t m0phs_en : 1; 53: } Control_bits; 54: }; 55: 56: __I uint32_t RESERVED2[3]; 57: 58: union { 59: __IO uint32_t Grant_Unit; 60: 61: struct { 62: __IO uint32_t gwnuit : 8; 63: } Grant_Unit_bits; 64: }; 65: 66: union { 67: __IO uint32_t Grant_Size1; 68: 69: struct { 70: __IO uint32_t m0gw : 8; 71: __IO uint32_t m1gw : 8; 72: __IO uint32_t m2gw : 8; 73: __IO uint32_t m3gw : 8; 74: } Grant_Size1_bits; 75: }; 76: 77: union { 78: __IO uint32_t Grant_Size2; 79: 80: struct { 81: __IO uint32_t m4gw : 8; 82: __IO uint32_t m5gw : 8; 83: __IO uint32_t m6gw : 8; 84: __IO uint32_t m7gw : 8; 85: } Grant_Size2_bits; 86: }; 87: 88: union { 89: __IO uint32_t Sync_Mode; 90: 91: struct { 92: __IO uint32_t Sync_Req : 8; 93: } Sync_Mode_bits; 94: }; 95: 96: 97: }AG903_EBI_Type; 98: 99: #define AG903_EBI ((volatile AG903_EBI_Type *) AG903_EBI_BASE) 100: 101: 102: #define AG903_EBI_Version_Version_number_POS 0 103: #define AG903_EBI_Version_Version_number_MSK (0xffffffffUL << AG903_EBI_Version_Version_number_POS) 104: 105: #define AG903_EBI_Control_mgsel_POS 0 106: #define AG903_EBI_Control_mgsel_MSK (0xffUL << AG903_EBI_Control_mgsel_POS) 107: #define AG903_EBI_Control_gtc_en_POS 8 108: #define AG903_EBI_Control_gtc_en_MSK (0xffUL << AG903_EBI_Control_gtc_en_POS) 109: #define AG903_EBI_Control_arb_mode_POS 24 110: #define AG903_EBI_Control_arb_mode_MSK (0x1UL << AG903_EBI_Control_arb_mode_POS) 111: #define AG903_EBI_Control_intturn_en_POS 25 112: #define AG903_EBI_Control_intturn_en_MSK (0x1UL << AG903_EBI_Control_intturn_en_POS) 113: #define AG903_EBI_Control_m0phs_en_POS 28 114: #define AG903_EBI_Control_m0phs_en_MSK (0x1UL << AG903_EBI_Control_m0phs_en_POS) 115: 116: #define AG903_EBI_Grant_Unit_gwnuit_POS 0 117: #define AG903_EBI_Grant_Unit_gwnuit_MSK (0xffUL << AG903_EBI_Grant_Unit_gwnuit_POS) 118: 119: #define AG903_EBI_Grant_Size1_m0gw_POS 0 120: #define AG903_EBI_Grant_Size1_m0gw_MSK (0xffUL << AG903_EBI_Grant_Size1_m0gw_POS) 121: #define AG903_EBI_Grant_Size1_m1gw_POS 8 122: #define AG903_EBI_Grant_Size1_m1gw_MSK (0xffUL << AG903_EBI_Grant_Size1_m1gw_POS) 123: #define AG903_EBI_Grant_Size1_m2gw_POS 16 124: #define AG903_EBI_Grant_Size1_m2gw_MSK (0xffUL << AG903_EBI_Grant_Size1_m2gw_POS) 125: #define AG903_EBI_Grant_Size1_m3gw_POS 24 126: #define AG903_EBI_Grant_Size1_m3gw_MSK (0xffUL << AG903_EBI_Grant_Size1_m3gw_POS) 127: 128: #define AG903_EBI_Grant_Size2_m4gw_POS 0 129: #define AG903_EBI_Grant_Size2_m4gw_MSK (0xffUL << AG903_EBI_Grant_Size2_m4gw_POS) 130: #define AG903_EBI_Grant_Size2_m5gw_POS 8 131: #define AG903_EBI_Grant_Size2_m5gw_MSK (0xffUL << AG903_EBI_Grant_Size2_m5gw_POS) 132: #define AG903_EBI_Grant_Size2_m6gw_POS 16 133: #define AG903_EBI_Grant_Size2_m6gw_MSK (0xffUL << AG903_EBI_Grant_Size2_m6gw_POS) 134: #define AG903_EBI_Grant_Size2_m7gw_POS 24 135: #define AG903_EBI_Grant_Size2_m7gw_MSK (0xffUL << AG903_EBI_Grant_Size2_m7gw_POS) 136: 137: #define AG903_EBI_Sync_Mode_Sync_Req_POS 0 138: #define AG903_EBI_Sync_Mode_Sync_Req_MSK (0xffUL << AG903_EBI_Sync_Mode_Sync_Req_POS) 139: 140: #endif 141:
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.