diff --git a/utralib/cramium/core.svd b/utralib/cramium/core.svd index c519edbe1..44c1fcc0c 100644 --- a/utralib/cramium/core.svd +++ b/utralib/cramium/core.svd @@ -3,7 +3,7 @@ litex SOC - + 8 32 diff --git a/utralib/cramium/daric.svd b/utralib/cramium/daric.svd index 44cd806cb..85355551c 100644 --- a/utralib/cramium/daric.svd +++ b/utralib/cramium/daric.svd @@ -452,6 +452,7 @@ REG_CG + 0x0000 0x00 32 @@ -467,6 +468,7 @@ REG_CFG_EVT + 0x0004 0x00 32 @@ -503,6 +505,7 @@ REG_RST + 0x0008 0x00 32 @@ -530,6 +533,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -545,6 +549,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -560,6 +565,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -589,6 +595,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -604,6 +611,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -619,6 +627,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -648,6 +657,7 @@ REG_STATUS + 0x0020 0x00 32 @@ -663,6 +673,7 @@ REG_UART_SETUP + 0x0024 0x00 32 @@ -727,6 +738,7 @@ REG_ERROR + 0x0028 0x00 32 @@ -749,6 +761,7 @@ REG_IRQ_EN + 0x002c 0x00 32 @@ -771,6 +784,7 @@ REG_VALID + 0x0030 0x00 32 @@ -786,6 +800,7 @@ REG_DATA + 0x0034 0x00 32 @@ -813,6 +828,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -828,6 +844,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -843,6 +860,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -872,6 +890,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -887,6 +906,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -902,6 +922,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -931,6 +952,7 @@ REG_STATUS + 0x0020 0x00 32 @@ -946,6 +968,7 @@ REG_UART_SETUP + 0x0024 0x00 32 @@ -1010,6 +1033,7 @@ REG_ERROR + 0x0028 0x00 32 @@ -1032,6 +1056,7 @@ REG_IRQ_EN + 0x002c 0x00 32 @@ -1054,6 +1079,7 @@ REG_VALID + 0x0030 0x00 32 @@ -1069,6 +1095,7 @@ REG_DATA + 0x0034 0x00 32 @@ -1096,6 +1123,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -1111,6 +1139,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -1126,6 +1155,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -1155,6 +1185,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -1170,6 +1201,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -1185,6 +1217,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -1214,6 +1247,7 @@ REG_STATUS + 0x0020 0x00 32 @@ -1229,6 +1263,7 @@ REG_UART_SETUP + 0x0024 0x00 32 @@ -1293,6 +1328,7 @@ REG_ERROR + 0x0028 0x00 32 @@ -1315,6 +1351,7 @@ REG_IRQ_EN + 0x002c 0x00 32 @@ -1337,6 +1374,7 @@ REG_VALID + 0x0030 0x00 32 @@ -1352,6 +1390,7 @@ REG_DATA + 0x0034 0x00 32 @@ -1379,6 +1418,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -1394,6 +1434,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -1409,6 +1450,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -1438,6 +1480,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -1453,6 +1496,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -1468,6 +1512,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -1497,6 +1542,7 @@ REG_STATUS + 0x0020 0x00 32 @@ -1512,6 +1558,7 @@ REG_UART_SETUP + 0x0024 0x00 32 @@ -1576,6 +1623,7 @@ REG_ERROR + 0x0028 0x00 32 @@ -1598,6 +1646,7 @@ REG_IRQ_EN + 0x002c 0x00 32 @@ -1620,6 +1669,7 @@ REG_VALID + 0x0030 0x00 32 @@ -1635,6 +1685,7 @@ REG_DATA + 0x0034 0x00 32 @@ -1662,6 +1713,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -1677,6 +1729,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -1692,6 +1745,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -1728,6 +1782,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -1743,6 +1798,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -1758,6 +1814,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -1794,6 +1851,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -1809,6 +1867,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -1824,6 +1883,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -1853,6 +1913,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -1880,6 +1941,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -1895,6 +1957,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -1910,6 +1973,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -1946,6 +2010,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -1961,6 +2026,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -1976,6 +2042,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -2012,6 +2079,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -2027,6 +2095,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -2042,6 +2111,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -2071,6 +2141,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -2098,6 +2169,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -2113,6 +2185,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -2128,6 +2201,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -2164,6 +2238,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -2179,6 +2254,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -2194,6 +2270,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -2230,6 +2307,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -2245,6 +2323,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -2260,6 +2339,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -2289,6 +2369,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -2316,6 +2397,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -2331,6 +2413,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -2346,6 +2429,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -2382,6 +2466,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -2397,6 +2482,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -2412,6 +2498,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -2448,6 +2535,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -2463,6 +2551,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -2478,6 +2567,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -2507,6 +2597,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -2534,6 +2625,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -2549,6 +2641,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -2564,6 +2657,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -2593,6 +2687,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -2608,6 +2703,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -2623,6 +2719,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -2652,6 +2749,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -2667,6 +2765,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -2682,6 +2781,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -2711,6 +2811,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -2733,6 +2834,7 @@ REG_SETUP + 0x0034 0x00 32 @@ -2748,6 +2850,7 @@ REG_ACK + 0x0038 0x00 32 @@ -2775,6 +2878,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -2790,6 +2894,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -2805,6 +2910,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -2834,6 +2940,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -2849,6 +2956,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -2864,6 +2972,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -2893,6 +3002,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -2908,6 +3018,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -2923,6 +3034,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -2952,6 +3064,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -2974,6 +3087,7 @@ REG_SETUP + 0x0034 0x00 32 @@ -2989,6 +3103,7 @@ REG_ACK + 0x0038 0x00 32 @@ -3016,6 +3131,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -3031,6 +3147,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -3046,6 +3163,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -3075,6 +3193,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -3090,6 +3209,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -3105,6 +3225,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -3134,6 +3255,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -3149,6 +3271,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -3164,6 +3287,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -3193,6 +3317,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -3215,6 +3340,7 @@ REG_SETUP + 0x0034 0x00 32 @@ -3230,6 +3356,7 @@ REG_ACK + 0x0038 0x00 32 @@ -3257,6 +3384,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -3272,6 +3400,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -3287,6 +3416,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -3316,6 +3446,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -3331,6 +3462,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -3346,6 +3478,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -3375,6 +3508,7 @@ REG_CMD_SADDR + 0x0020 0x00 32 @@ -3390,6 +3524,7 @@ REG_CMD_SIZE + 0x0024 0x00 32 @@ -3405,6 +3540,7 @@ REG_CMD_CFG + 0x0028 0x00 32 @@ -3434,6 +3570,7 @@ REG_STATUS + 0x0030 0x00 32 @@ -3456,6 +3593,7 @@ REG_SETUP + 0x0034 0x00 32 @@ -3471,6 +3609,7 @@ REG_ACK + 0x0038 0x00 32 @@ -3498,6 +3637,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -3513,6 +3653,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -3528,6 +3669,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -3557,6 +3699,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -3572,6 +3715,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -3587,6 +3731,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -3616,6 +3761,7 @@ REG_CMD_OP + 0x0020 0x00 32 @@ -3634,10 +3780,18 @@ 8 + + r_cmd_stopopt + 17 + [17:16] + 16 + + REG_DATA_SETUP + 0x0028 0x00 32 @@ -3681,6 +3835,7 @@ REG_START + 0x002c 0x00 32 @@ -3696,6 +3851,7 @@ REG_RSP0 + 0x0030 0x00 32 @@ -3711,6 +3867,7 @@ REG_RSP1 + 0x0034 0x00 32 @@ -3726,6 +3883,7 @@ REG_RSP2 + 0x0038 0x00 32 @@ -3741,6 +3899,7 @@ REG_RSP3 + 0x003c 0x00 32 @@ -3756,6 +3915,7 @@ REG_CLK_DIV + 0x0040 0x00 32 @@ -3778,6 +3938,7 @@ REG_STATUS + 0x0044 0x00 32 @@ -3812,6 +3973,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -3827,6 +3989,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -3842,6 +4005,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -3878,6 +4042,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -3893,6 +4058,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -3908,6 +4074,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -3944,6 +4111,7 @@ REG_I2S_CLKCFG_SETUP + 0x0020 0x00 32 @@ -4022,6 +4190,7 @@ REG_I2S_SLV_SETUP + 0x0024 0x00 32 @@ -4065,6 +4234,7 @@ REG_I2S_MST_SETUP + 0x0028 0x00 32 @@ -4108,6 +4278,7 @@ REG_I2S_PDM_SETUP + 0x002c 0x00 32 @@ -4156,6 +4327,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -4171,6 +4343,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -4186,6 +4359,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -4222,6 +4396,7 @@ REG_CAM_CFG_GLOB + 0x0020 0x00 32 @@ -4244,6 +4419,7 @@ REG_CAM_CFG_LL + 0x0024 0x00 32 @@ -4259,6 +4435,7 @@ REG_CAM_CFG_UR + 0x0028 0x00 32 @@ -4274,6 +4451,7 @@ REG_CAM_CFG_SIZE + 0x002c 0x00 32 @@ -4289,6 +4467,7 @@ REG_CAM_CFG_FILTER + 0x0030 0x00 32 @@ -4304,6 +4483,7 @@ REG_CAM_VSYNC_POLARITY + 0x0034 0x00 32 @@ -4338,6 +4518,8 @@ REG_TX_CH0_ADD + 0x0000 0x00 32 @@ -4353,6 +4535,8 @@ REG_TX_CH0_CFG + 0x0004 0x00 32 @@ -4375,6 +4559,8 @@ REG_TX_CH0_LEN0 + 0x0008 0x00 32 @@ -4390,6 +4576,8 @@ REG_TX_CH0_LEN1 + 0x000c 0x00 32 @@ -4405,6 +4593,8 @@ REG_TX_CH0_LEN2 + 0x0010 0x00 32 @@ -4420,6 +4610,8 @@ REG_TX_CH1_ADD + 0x0014 0x00 32 @@ -4435,6 +4627,8 @@ REG_TX_CH1_CFG + 0x0018 0x00 32 @@ -4457,6 +4651,8 @@ REG_TX_CH1_LEN0 + 0x001c 0x00 32 @@ -4472,6 +4668,8 @@ REG_TX_CH1_LEN1 + 0x0020 0x00 32 @@ -4487,6 +4685,8 @@ REG_TX_CH1_LEN2 + 0x0024 0x00 32 @@ -4502,6 +4702,8 @@ REG_RX_CH_ADD + 0x0028 0x00 32 @@ -4517,6 +4719,8 @@ REG_RX_CH_CFG + 0x002c 0x00 32 @@ -4539,6 +4743,8 @@ REG_RX_CH_LEN0 + 0x0030 0x00 32 @@ -4554,6 +4760,8 @@ REG_RX_CH_LEN1 + 0x0034 0x00 32 @@ -4569,6 +4777,8 @@ REG_RX_CH_LEN2 + 0x0038 0x00 32 @@ -4584,6 +4794,8 @@ REG_AU_CFG + 0x003c 0x00 32 @@ -4620,6 +4832,8 @@ REG_AU_REG0 + 0x0040 0x00 32 @@ -4635,6 +4849,8 @@ REG_AU_REG1 + 0x0044 0x00 32 @@ -4650,6 +4866,8 @@ REG_BINCU_TH + 0x0048 0x00 32 @@ -4665,6 +4883,8 @@ REG_BINCU_CNT + 0x004c 0x00 32 @@ -4687,6 +4907,8 @@ REG_BINCU_SETUP + 0x0050 0x00 32 @@ -4702,6 +4924,8 @@ REG_BINCU_VAL + 0x0054 0x00 32 @@ -4717,6 +4941,8 @@ REG_FILT + 0x0058 0x00 32 @@ -4732,6 +4958,8 @@ REG_STATUS + 0x0060 0x00 32 @@ -4759,6 +4987,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -4774,6 +5003,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -4789,6 +5019,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -4804,6 +5035,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -4819,6 +5051,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -4834,6 +5067,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -4849,6 +5083,7 @@ REG_STATUS + 0x0020 0x00 32 @@ -4864,6 +5099,7 @@ REG_SCIF_SETUP + 0x0024 0x00 32 @@ -4935,6 +5171,7 @@ REG_ERROR + 0x0028 0x00 32 @@ -4957,6 +5194,7 @@ REG_IRQ_EN + 0x002c 0x00 32 @@ -4979,6 +5217,7 @@ REG_VALID + 0x0030 0x00 32 @@ -4994,6 +5233,7 @@ REG_DATA + 0x0034 0x00 32 @@ -5009,6 +5249,7 @@ REG_SCIF_ETU + 0x0038 0x00 32 @@ -5036,6 +5277,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -5051,6 +5293,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -5066,6 +5309,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -5095,6 +5339,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -5110,6 +5355,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -5125,6 +5371,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -5154,6 +5401,7 @@ REG_SPIS_SETUP + 0x0020 0x00 32 @@ -5176,6 +5424,7 @@ REG_SEOT_CNT + 0x0024 0x00 32 @@ -5191,6 +5440,7 @@ REG_SPIS_IRQ_EN + 0x0028 0x00 32 @@ -5206,6 +5456,7 @@ REG_SPIS_RXCNT + 0x002c 0x00 32 @@ -5221,6 +5472,7 @@ REG_SPIS_TXCNT + 0x0030 0x00 32 @@ -5236,6 +5488,7 @@ REG_SPIS_DMCNT + 0x0034 0x00 32 @@ -5263,6 +5516,7 @@ REG_RX_SADDR + 0x0000 0x00 32 @@ -5278,6 +5532,7 @@ REG_RX_SIZE + 0x0004 0x00 32 @@ -5293,6 +5548,7 @@ REG_RX_CFG + 0x0008 0x00 32 @@ -5322,6 +5578,7 @@ REG_TX_SADDR + 0x0010 0x00 32 @@ -5337,6 +5594,7 @@ REG_TX_SIZE + 0x0014 0x00 32 @@ -5352,6 +5610,7 @@ REG_TX_CFG + 0x0018 0x00 32 @@ -5381,6 +5640,7 @@ REG_SPIS_SETUP + 0x0020 0x00 32 @@ -5403,6 +5663,7 @@ REG_SEOT_CNT + 0x0024 0x00 32 @@ -5418,6 +5679,7 @@ REG_SPIS_IRQ_EN + 0x0028 0x00 32 @@ -5433,6 +5695,7 @@ REG_SPIS_RXCNT + 0x002c 0x00 32 @@ -5448,6 +5711,7 @@ REG_SPIS_TXCNT + 0x0030 0x00 32 @@ -5463,6 +5727,7 @@ REG_SPIS_DMCNT + 0x0034 0x00 32 @@ -5502,6 +5767,7 @@ SFR_CRFUNC + 0x0000 0x00 32 @@ -5517,6 +5783,7 @@ SFR_AR + 0x0004 0x00 32 @@ -5532,6 +5799,7 @@ SFR_SRMFSM + 0x0008 0x00 32 @@ -5547,6 +5815,7 @@ SFR_FR + 0x000c 0x00 32 @@ -5587,6 +5856,7 @@ bit position to clear the flag]]> SFR_OPT + 0x0010 0x00 32 @@ -5616,6 +5886,7 @@ bit position to clear the flag]]> SFR_OPT1 + 0x0014 0x00 32 @@ -5631,21 +5902,55 @@ bit position to clear the flag]]> SFR_OPTLTX + 0x0018 0x00 32 sfr_optltx - 3 - [3:0] + 5 + [5:0] 0 + + SFR_MASKSEED + + 0x0020 + 0x00 + 32 + + + sfr_maskseed + 31 + [31:0] + 0 + + + + + + SFR_MASKSEEDAR + + 0x0024 + 0x00 + 32 + + + sfr_maskseedar + 31 + [31:0] + 0 + + + + SFR_SEGPTR_PTRID_IV + 0x0030 0x00 32 @@ -5661,6 +5966,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AKEY + 0x0034 0x00 32 @@ -5676,6 +5982,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AIB + 0x0038 0x00 32 @@ -5691,6 +5998,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AOB + 0x003c 0x00 32 @@ -5718,6 +6026,7 @@ bit position to clear the flag]]> SFR_CRFUNC + 0x0000 0x00 32 @@ -5733,6 +6042,7 @@ bit position to clear the flag]]> SFR_AR + 0x0004 0x00 32 @@ -5748,6 +6058,7 @@ bit position to clear the flag]]> SFR_SRMFSM + 0x0008 0x00 32 @@ -5763,6 +6074,7 @@ bit position to clear the flag]]> SFR_FR + 0x000c 0x00 32 @@ -5819,6 +6131,7 @@ bit position to clear the flag]]> SFR_OPT1 + 0x0010 0x00 32 @@ -5834,6 +6147,7 @@ bit position to clear the flag]]> SFR_OPT2 + 0x0014 0x00 32 @@ -5863,6 +6177,7 @@ bit position to clear the flag]]> SFR_OPT3 + 0x0018 0x00 32 @@ -5878,6 +6193,7 @@ bit position to clear the flag]]> SFR_BLKT0 + 0x001c 0x00 32 @@ -5893,6 +6209,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_LKEY + 0x0020 0x00 32 @@ -5908,6 +6225,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_KEY + 0x0024 0x00 32 @@ -5923,6 +6241,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_SCRT + 0x002c 0x00 32 @@ -5938,6 +6257,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_MSG + 0x0030 0x00 32 @@ -5953,6 +6273,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_HOUT + 0x0034 0x00 32 @@ -5968,6 +6289,7 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_HOUT2 + 0x003c 0x00 32 @@ -5995,6 +6317,7 @@ bit position to clear the flag]]> SFR_CRFUNC + 0x0000 0x00 32 @@ -6017,6 +6340,7 @@ bit position to clear the flag]]> SFR_AR + 0x0004 0x00 32 @@ -6032,6 +6356,7 @@ bit position to clear the flag]]> SFR_SRMFSM + 0x0008 0x00 32 @@ -6054,6 +6379,7 @@ bit position to clear the flag]]> SFR_FR + 0x000c 0x00 32 @@ -6102,6 +6428,7 @@ bit position to clear the flag]]> SFR_OPTNW + 0x0010 0x00 32 @@ -6117,6 +6444,7 @@ bit position to clear the flag]]> SFR_OPTEW + 0x0014 0x00 32 @@ -6132,6 +6460,7 @@ bit position to clear the flag]]> SFR_OPTRW + 0x0018 0x00 32 @@ -6147,6 +6476,7 @@ bit position to clear the flag]]> SFR_OPTLTX + 0x001c 0x00 32 @@ -6162,6 +6492,7 @@ bit position to clear the flag]]> SFR_OPTMASK + 0x0020 0x00 32 @@ -6177,6 +6508,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PCON + 0x0030 0x00 32 @@ -6192,6 +6524,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PIB0 + 0x0034 0x00 32 @@ -6207,6 +6540,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PIB1 + 0x0038 0x00 32 @@ -6222,6 +6556,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PKB + 0x003c 0x00 32 @@ -6237,6 +6572,7 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_POB + 0x0040 0x00 32 @@ -6264,6 +6600,7 @@ bit position to clear the flag]]> SFR_SCHSTART_AR + 0x0000 0x00 32 @@ -6279,6 +6616,7 @@ bit position to clear the flag]]> SFR_XCH_FUNC + 0x0010 0x00 32 @@ -6294,6 +6632,7 @@ bit position to clear the flag]]> SFR_XCH_OPT + 0x0014 0x00 32 @@ -6309,6 +6648,7 @@ bit position to clear the flag]]> SFR_XCH_AXSTART + 0x0018 0x00 32 @@ -6324,6 +6664,7 @@ bit position to clear the flag]]> SFR_XCH_SEGID + 0x001c 0x00 32 @@ -6339,6 +6680,7 @@ bit position to clear the flag]]> SFR_XCH_SEGSTART + 0x0020 0x00 32 @@ -6354,6 +6696,7 @@ bit position to clear the flag]]> SFR_XCH_TRANSIZE + 0x0024 0x00 32 @@ -6369,6 +6712,7 @@ bit position to clear the flag]]> SFR_SCH_FUNC + 0x0030 0x00 32 @@ -6384,6 +6728,7 @@ bit position to clear the flag]]> SFR_SCH_OPT + 0x0034 0x00 32 @@ -6399,6 +6744,7 @@ bit position to clear the flag]]> SFR_SCH_AXSTART + 0x0038 0x00 32 @@ -6414,6 +6760,7 @@ bit position to clear the flag]]> SFR_SCH_SEGID + 0x003c 0x00 32 @@ -6429,6 +6776,7 @@ bit position to clear the flag]]> SFR_SCH_SEGSTART + 0x0040 0x00 32 @@ -6444,6 +6792,7 @@ bit position to clear the flag]]> SFR_SCH_TRANSIZE + 0x0044 0x00 32 @@ -6459,6 +6808,7 @@ bit position to clear the flag]]> SFR_ICH_OPT + 0x0050 0x00 32 @@ -6474,6 +6824,7 @@ bit position to clear the flag]]> SFR_ICH_SEGID + 0x0054 0x00 32 @@ -6489,6 +6840,7 @@ bit position to clear the flag]]> SFR_ICH_RPSTART + 0x0058 0x00 32 @@ -6504,6 +6856,7 @@ bit position to clear the flag]]> SFR_ICH_WPSTART + 0x005c 0x00 32 @@ -6519,6 +6872,7 @@ bit position to clear the flag]]> SFR_ICH_TRANSIZE + 0x0060 0x00 32 @@ -6546,6 +6900,7 @@ bit position to clear the flag]]> SFR_SCEMODE + 0x0000 0x00 32 @@ -6561,6 +6916,7 @@ bit position to clear the flag]]> SFR_SUBEN + 0x0004 0x00 32 @@ -6576,6 +6932,7 @@ bit position to clear the flag]]> SFR_AHBS + 0x0008 0x00 32 @@ -6591,6 +6948,7 @@ bit position to clear the flag]]> SFR_SRBUSY + 0x0010 0x00 32 @@ -6606,6 +6964,7 @@ bit position to clear the flag]]> SFR_FRDONE + 0x0014 0x00 32 @@ -6622,6 +6981,7 @@ bit position to clear the flag]]> SFR_FRERR + 0x0018 0x00 32 @@ -6638,6 +6998,7 @@ position to clear the flag]]> SFR_ARCLR + 0x001c 0x00 32 @@ -6653,6 +7014,7 @@ position to clear the flag]]> SFR_FRACERR + 0x0020 0x00 32 @@ -6669,6 +7031,7 @@ bit position to clear the flag]]> SFR_TICKCNT + 0x0024 0x00 32 @@ -6684,6 +7047,7 @@ bit position to clear the flag]]> SFR_FFEN + 0x0030 0x00 32 @@ -6699,6 +7063,7 @@ bit position to clear the flag]]> SFR_FFCLR + 0x0034 0x00 32 @@ -6714,6 +7079,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF0 + 0x0040 0x00 32 @@ -6729,6 +7095,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF1 + 0x0044 0x00 32 @@ -6744,6 +7111,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF2 + 0x0048 0x00 32 @@ -6759,6 +7127,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF3 + 0x004c 0x00 32 @@ -6774,6 +7143,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF4 + 0x0050 0x00 32 @@ -6789,6 +7159,7 @@ bit position to clear the flag]]> SFR_FFCNT_SR_FF5 + 0x0054 0x00 32 @@ -6804,6 +7175,7 @@ bit position to clear the flag]]> SFR_TS + 0x00fc 0x00 32 @@ -6831,6 +7203,7 @@ bit position to clear the flag]]> SFR_CRSRC + 0x0000 0x00 32 @@ -6846,6 +7219,7 @@ bit position to clear the flag]]> SFR_CRANA + 0x0004 0x00 32 @@ -6861,6 +7235,7 @@ bit position to clear the flag]]> SFR_PP + 0x0008 0x00 32 @@ -6876,6 +7251,7 @@ bit position to clear the flag]]> SFR_OPT + 0x000c 0x00 32 @@ -6891,6 +7267,7 @@ bit position to clear the flag]]> SFR_SR + 0x0010 0x00 32 @@ -6906,6 +7283,7 @@ bit position to clear the flag]]> SFR_AR_GEN + 0x0014 0x00 32 @@ -6921,6 +7299,7 @@ bit position to clear the flag]]> SFR_FR + 0x0018 0x00 32 @@ -6935,8 +7314,73 @@ position to clear the flag]]> + + SFR_DRPSZ + + 0x0020 + 0x00 + 32 + + + sfr_drpsz + 31 + [31:0] + 0 + + + + + + SFR_DRGEN + + 0x0024 + 0x00 + 32 + + + sfr_drgen + 31 + [31:0] + 0 + + + + + + SFR_DRRESEED + + 0x0028 + 0x00 + 32 + + + sfr_drreseed + 31 + [31:0] + 0 + + + + + + SFR_BUF + + 0x0030 + 0x00 + 32 + + + sfr_buf + 31 + [31:0] + 0 + + + + SFR_CHAIN_RNGCHAINEN0 + 0x0040 0x00 32 @@ -6952,6 +7396,7 @@ position to clear the flag]]> SFR_CHAIN_RNGCHAINEN1 + 0x0044 0x00 32 @@ -6991,6 +7436,7 @@ position to clear the flag]]> SFR_TXD + 0x0000 0x00 32 @@ -7006,6 +7452,7 @@ position to clear the flag]]> SFR_CR + 0x0004 0x00 32 @@ -7021,6 +7468,7 @@ position to clear the flag]]> SFR_SR + 0x0008 0x00 32 @@ -7036,6 +7484,7 @@ position to clear the flag]]> SFR_ETUC + 0x000c 0x00 32 @@ -7087,6 +7536,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL0 + 0x0000 0x00 32 @@ -7102,6 +7552,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL1 + 0x0004 0x00 32 @@ -7117,6 +7568,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL2 + 0x0008 0x00 32 @@ -7132,6 +7584,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL3 + 0x000c 0x00 32 @@ -7147,6 +7600,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL4 + 0x0010 0x00 32 @@ -7162,6 +7616,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL5 + 0x0014 0x00 32 @@ -7177,6 +7632,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL6 + 0x0018 0x00 32 @@ -7192,6 +7648,7 @@ position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL7 + 0x001c 0x00 32 @@ -7207,6 +7664,7 @@ position to clear the flag]]> SFR_CM7EVEN + 0x0020 0x00 32 @@ -7222,6 +7680,7 @@ position to clear the flag]]> SFR_CM7EVFR + 0x0024 0x00 32 @@ -7238,6 +7697,7 @@ position to clear the flag]]> SFR_TMREVSEL + 0x0030 0x00 32 @@ -7253,6 +7713,7 @@ position to clear the flag]]> SFR_PWMEVSEL + 0x0034 0x00 32 @@ -7268,6 +7729,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN0 + 0x0040 0x00 32 @@ -7283,6 +7745,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN1 + 0x0044 0x00 32 @@ -7298,6 +7761,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN2 + 0x0048 0x00 32 @@ -7313,6 +7777,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN3 + 0x004c 0x00 32 @@ -7328,6 +7793,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN4 + 0x0050 0x00 32 @@ -7343,6 +7809,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN5 + 0x0054 0x00 32 @@ -7358,6 +7825,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN6 + 0x0058 0x00 32 @@ -7373,6 +7841,7 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN7 + 0x005c 0x00 32 @@ -7388,6 +7857,7 @@ position to clear the flag]]> SFR_IFEVERRFR + 0x0060 0x00 32 @@ -7404,6 +7874,7 @@ bit position to clear the flag]]> SFR_CM7ERRFR + 0x0080 0x00 32 @@ -7432,6 +7903,7 @@ position to clear the flag]]> SFR_CGUSEC + 0x0000 0x00 32 @@ -7447,6 +7919,7 @@ position to clear the flag]]> SFR_CGULP + 0x0004 0x00 32 @@ -7460,8 +7933,41 @@ position to clear the flag]]> + + SFR_SEED + + 0x0008 + 0x00 + 32 + + + sfr_seed + 31 + [31:0] + 0 + + + + + + SFR_SEEDAR + + 0x000c + 0x00 + 32 + + + sfr_seedar + 31 + [31:0] + 0 + + + + SFR_CGUSEL0 + 0x0010 0x00 32 @@ -7477,6 +7983,7 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_0 + 0x0014 0x00 32 @@ -7492,6 +7999,7 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_1 + 0x0018 0x00 32 @@ -7507,6 +8015,7 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_2 + 0x001c 0x00 32 @@ -7522,6 +8031,7 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_3 + 0x0020 0x00 32 @@ -7537,6 +8047,7 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_4 + 0x0024 0x00 32 @@ -7552,6 +8063,7 @@ position to clear the flag]]> SFR_CGUFDAO + 0x0028 0x00 32 @@ -7567,6 +8079,7 @@ position to clear the flag]]> SFR_CGUSET + 0x002c 0x00 32 @@ -7582,6 +8095,7 @@ position to clear the flag]]> SFR_CGUSEL1 + 0x0030 0x00 32 @@ -7597,6 +8111,7 @@ position to clear the flag]]> SFR_CGUFDPKE + 0x0034 0x00 32 @@ -7612,6 +8127,7 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ0 + 0x0040 0x00 32 @@ -7627,6 +8143,7 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ1 + 0x0044 0x00 32 @@ -7642,6 +8159,7 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ2 + 0x0048 0x00 32 @@ -7657,6 +8175,7 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ3 + 0x004c 0x00 32 @@ -7672,6 +8191,7 @@ position to clear the flag]]> SFR_CGUFSVLD + 0x0050 0x00 32 @@ -7687,6 +8207,7 @@ position to clear the flag]]> SFR_CGUFSCR + 0x0054 0x00 32 @@ -7702,6 +8223,7 @@ position to clear the flag]]> SFR_ACLKGR + 0x0060 0x00 32 @@ -7717,6 +8239,7 @@ position to clear the flag]]> SFR_HCLKGR + 0x0064 0x00 32 @@ -7732,6 +8255,7 @@ position to clear the flag]]> SFR_ICLKGR + 0x0068 0x00 32 @@ -7747,6 +8271,7 @@ position to clear the flag]]> SFR_PCLKGR + 0x006c 0x00 32 @@ -7762,6 +8287,7 @@ position to clear the flag]]> SFR_RCURST0 + 0x0080 0x00 32 @@ -7777,6 +8303,7 @@ position to clear the flag]]> SFR_RCURST1 + 0x0084 0x00 32 @@ -7792,6 +8319,7 @@ position to clear the flag]]> SFR_RCUSRCFR + 0x0088 0x00 32 @@ -7808,6 +8336,7 @@ respective bit position to clear the flag]]> SFR_IPCARIPFLOW + 0x0090 0x00 32 @@ -7823,6 +8352,7 @@ respective bit position to clear the flag]]> SFR_IPCEN + 0x0094 0x00 32 @@ -7838,6 +8368,7 @@ respective bit position to clear the flag]]> SFR_IPCLPEN + 0x0098 0x00 32 @@ -7853,6 +8384,7 @@ respective bit position to clear the flag]]> SFR_IPCOSC + 0x009c 0x00 32 @@ -7862,12 +8394,13 @@ respective bit position to clear the flag]]> 6 [6:0] 0 - + SFR_IPCPLLMN + 0x00a0 0x00 32 @@ -7883,6 +8416,7 @@ respective bit position to clear the flag]]> SFR_IPCPLLF + 0x00a4 0x00 32 @@ -7898,6 +8432,7 @@ respective bit position to clear the flag]]> SFR_IPCPLLQ + 0x00a8 0x00 32 @@ -7913,6 +8448,7 @@ respective bit position to clear the flag]]> SFR_IPCCR + 0x00ac 0x00 32 @@ -7952,6 +8488,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL0 + 0x0000 0x00 32 @@ -7967,6 +8504,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL1 + 0x0004 0x00 32 @@ -7982,6 +8520,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL2 + 0x0008 0x00 32 @@ -7997,6 +8536,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL3 + 0x000c 0x00 32 @@ -8012,6 +8552,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL4 + 0x0010 0x00 32 @@ -8027,6 +8568,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL5 + 0x0014 0x00 32 @@ -8042,6 +8584,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL6 + 0x0018 0x00 32 @@ -8057,6 +8600,7 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL7 + 0x001c 0x00 32 @@ -8070,8 +8614,73 @@ respective bit position to clear the flag]]> + + SFR_AFSEL_CRAFSEL8 + + 0x0020 + 0x00 + 32 + + + crafsel8 + 15 + [15:0] + 0 + + + + + + SFR_AFSEL_CRAFSEL9 + + 0x0024 + 0x00 + 32 + + + crafsel9 + 15 + [15:0] + 0 + + + + + + SFR_AFSEL_CRAFSEL10 + + 0x0028 + 0x00 + 32 + + + crafsel10 + 15 + [15:0] + 0 + + + + + + SFR_AFSEL_CRAFSEL11 + + 0x002c + 0x00 + 32 + + + crafsel11 + 15 + [15:0] + 0 + + + + SFR_INTCR_CRINT0 + 0x0100 0x00 32 @@ -8087,6 +8696,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT1 + 0x0104 0x00 32 @@ -8102,6 +8712,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT2 + 0x0108 0x00 32 @@ -8117,6 +8728,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT3 + 0x010c 0x00 32 @@ -8132,6 +8744,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT4 + 0x0110 0x00 32 @@ -8147,6 +8760,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT5 + 0x0114 0x00 32 @@ -8162,6 +8776,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT6 + 0x0118 0x00 32 @@ -8177,6 +8792,7 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT7 + 0x011c 0x00 32 @@ -8192,6 +8808,7 @@ respective bit position to clear the flag]]> SFR_INTFR + 0x0120 0x00 32 @@ -8208,6 +8825,7 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO0 + 0x0130 0x00 32 @@ -8223,6 +8841,7 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO1 + 0x0134 0x00 32 @@ -8238,6 +8857,7 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO2 + 0x0138 0x00 32 @@ -8253,6 +8873,7 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO3 + 0x013c 0x00 32 @@ -8267,10 +8888,43 @@ position to clear the flag]]> - SFR_GPIOOE_CRGOE0 + SFR_GPIOOUT_CRGO4 + 0x0140 0x00 32 + + + crgo4 + 15 + [15:0] + 0 + + + + + + SFR_GPIOOUT_CRGO5 + + 0x0144 + 0x00 + 32 + + + crgo5 + 15 + [15:0] + 0 + + + + + + SFR_GPIOOE_CRGOE0 + + 0x0148 + 0x00 + 32 crgoe0 @@ -8283,7 +8937,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE1 - 0x0144 + + 0x014c 0x00 32 @@ -8298,7 +8953,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE2 - 0x0148 + + 0x0150 0x00 32 @@ -8313,7 +8969,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE3 - 0x014c + + 0x0154 0x00 32 @@ -8326,9 +8983,42 @@ position to clear the flag]]> + + SFR_GPIOOE_CRGOE4 + + 0x0158 + 0x00 + 32 + + + crgoe4 + 15 + [15:0] + 0 + + + + + + SFR_GPIOOE_CRGOE5 + + 0x015c + 0x00 + 32 + + + crgoe5 + 15 + [15:0] + 0 + + + + SFR_GPIOPU_CRGPU0 - 0x0150 + + 0x0160 0x00 32 @@ -8343,7 +9033,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU1 - 0x0154 + + 0x0164 0x00 32 @@ -8358,7 +9049,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU2 - 0x0158 + + 0x0168 0x00 32 @@ -8373,7 +9065,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU3 - 0x015c + + 0x016c 0x00 32 @@ -8386,9 +9079,42 @@ position to clear the flag]]> + + SFR_GPIOPU_CRGPU4 + + 0x0170 + 0x00 + 32 + + + crgpu4 + 15 + [15:0] + 0 + + + + + + SFR_GPIOPU_CRGPU5 + + 0x0174 + 0x00 + 32 + + + crgpu5 + 15 + [15:0] + 0 + + + + SFR_GPIOIN_SRGI0 - 0x0160 + + 0x0178 0x00 32 @@ -8403,7 +9129,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI1 - 0x0164 + + 0x017c 0x00 32 @@ -8418,7 +9145,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI2 - 0x0168 + + 0x0180 0x00 32 @@ -8433,7 +9161,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI3 - 0x016c + + 0x0184 0x00 32 @@ -8446,8 +9175,41 @@ position to clear the flag]]> + + SFR_GPIOIN_SRGI4 + + 0x0188 + 0x00 + 32 + + + srgi4 + 15 + [15:0] + 0 + + + + + + SFR_GPIOIN_SRGI5 + + 0x018c + 0x00 + 32 + + + srgi5 + 15 + [15:0] + 0 + + + + SFR_PIOSEL + 0x0200 0x00 32 @@ -8463,6 +9225,7 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL0 + 0x0230 0x00 32 @@ -8478,6 +9241,7 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL1 + 0x0234 0x00 32 @@ -8493,6 +9257,7 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL2 + 0x0238 0x00 32 @@ -8508,6 +9273,7 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL3 + 0x023c 0x00 32 @@ -8522,10 +9288,43 @@ position to clear the flag]]> - SFR_CFG_SLEW_CR_CFG_SLEWSLOW0 + SFR_CFG_SCHM_CR_CFG_SCHMSEL4 + 0x0240 0x00 32 + + + cr_cfg_schmsel4 + 15 + [15:0] + 0 + + + + + + SFR_CFG_SCHM_CR_CFG_SCHMSEL5 + + 0x0244 + 0x00 + 32 + + + cr_cfg_schmsel5 + 15 + [15:0] + 0 + + + + + + SFR_CFG_SLEW_CR_CFG_SLEWSLOW0 + + 0x0248 + 0x00 + 32 cr_cfg_slewslow0 @@ -8538,7 +9337,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW1 - 0x0244 + + 0x024c 0x00 32 @@ -8553,7 +9353,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW2 - 0x0248 + + 0x0250 0x00 32 @@ -8568,7 +9369,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW3 - 0x024c + + 0x0254 0x00 32 @@ -8581,9 +9383,42 @@ position to clear the flag]]> + + SFR_CFG_SLEW_CR_CFG_SLEWSLOW4 + + 0x0258 + 0x00 + 32 + + + cr_cfg_slewslow4 + 15 + [15:0] + 0 + + + + + + SFR_CFG_SLEW_CR_CFG_SLEWSLOW5 + + 0x025c + 0x00 + 32 + + + cr_cfg_slewslow5 + 15 + [15:0] + 0 + + + + SFR_CFG_DRVSEL_CR_CFG_DRVSEL0 - 0x0250 + + 0x0260 0x00 32 @@ -8598,7 +9433,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL1 - 0x0254 + + 0x0264 0x00 32 @@ -8613,7 +9449,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL2 - 0x0258 + + 0x0268 0x00 32 @@ -8628,7 +9465,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL3 - 0x025c + + 0x026c 0x00 32 @@ -8641,10 +9479,42 @@ position to clear the flag]]> + + SFR_CFG_DRVSEL_CR_CFG_DRVSEL4 + + 0x0270 + 0x00 + 32 + + + cr_cfg_drvsel4 + 31 + [31:0] + 0 + + + + + + SFR_CFG_DRVSEL_CR_CFG_DRVSEL5 + + 0x0274 + 0x00 + 32 + + + cr_cfg_drvsel5 + 31 + [31:0] + 0 + + + + 0 - 0x260 + 0x278 registers @@ -8667,6 +9537,7 @@ position to clear the flag]]> SFR_IO + 0x0000 0x00 32 @@ -8682,6 +9553,7 @@ position to clear the flag]]> SFR_AR + 0x0004 0x00 32 @@ -8697,6 +9569,7 @@ position to clear the flag]]> CR_OCR + 0x0010 0x00 32 @@ -8712,6 +9585,7 @@ position to clear the flag]]> CR_RDFFTHRES + 0x0014 0x00 32 @@ -8727,6 +9601,7 @@ position to clear the flag]]> CR_REV + 0x0018 0x00 32 @@ -8749,6 +9624,7 @@ position to clear the flag]]> CR_BACSA + 0x001c 0x00 32 @@ -8764,6 +9640,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC0 + 0x0020 0x00 32 @@ -8779,6 +9656,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC1 + 0x0024 0x00 32 @@ -8794,6 +9672,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC2 + 0x0028 0x00 32 @@ -8809,6 +9688,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC3 + 0x002c 0x00 32 @@ -8824,6 +9704,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC4 + 0x0030 0x00 32 @@ -8839,6 +9720,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC5 + 0x0034 0x00 32 @@ -8854,6 +9736,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC6 + 0x0038 0x00 32 @@ -8869,6 +9752,7 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC7 + 0x003c 0x00 32 @@ -8884,6 +9768,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR0 + 0x0040 0x00 32 @@ -8899,6 +9784,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR1 + 0x0044 0x00 32 @@ -8914,6 +9800,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR2 + 0x0048 0x00 32 @@ -8929,6 +9816,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR3 + 0x004c 0x00 32 @@ -8944,6 +9832,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR4 + 0x0050 0x00 32 @@ -8959,6 +9848,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR5 + 0x0054 0x00 32 @@ -8974,6 +9864,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR6 + 0x0058 0x00 32 @@ -8989,6 +9880,7 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR7 + 0x005c 0x00 32 @@ -9004,6 +9896,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE0 + 0x0060 0x00 32 @@ -9019,6 +9912,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE1 + 0x0064 0x00 32 @@ -9034,6 +9928,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE2 + 0x0068 0x00 32 @@ -9049,6 +9944,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE3 + 0x006c 0x00 32 @@ -9064,6 +9960,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE4 + 0x0070 0x00 32 @@ -9079,6 +9976,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE5 + 0x0074 0x00 32 @@ -9094,6 +9992,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE6 + 0x0078 0x00 32 @@ -9109,6 +10008,7 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE7 + 0x007c 0x00 32 @@ -9124,6 +10024,7 @@ position to clear the flag]]> CR_WRITE_PROTECT + 0x0080 0x00 32 @@ -9139,6 +10040,7 @@ position to clear the flag]]> CR_REG_DSR + 0x0084 0x00 32 @@ -9154,6 +10056,7 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID0 + 0x0088 0x00 32 @@ -9169,6 +10072,7 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID1 + 0x008c 0x00 32 @@ -9184,6 +10088,7 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID2 + 0x0090 0x00 32 @@ -9199,6 +10104,7 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID3 + 0x0094 0x00 32 @@ -9214,6 +10120,7 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD0 + 0x0098 0x00 32 @@ -9229,6 +10136,7 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD1 + 0x009c 0x00 32 @@ -9244,6 +10152,7 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD2 + 0x00a0 0x00 32 @@ -9259,6 +10168,7 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD3 + 0x00a4 0x00 32 @@ -9274,6 +10184,7 @@ position to clear the flag]]> CR_REG_SCR_CFG_REG_SCR0 + 0x00a8 0x00 32 @@ -9289,6 +10200,7 @@ position to clear the flag]]> CR_REG_SCR_CFG_REG_SCR1 + 0x00ac 0x00 32 @@ -9304,6 +10216,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS0 + 0x00b0 0x00 32 @@ -9319,6 +10232,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS1 + 0x00b4 0x00 32 @@ -9334,6 +10248,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS2 + 0x00b8 0x00 32 @@ -9349,6 +10264,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS3 + 0x00bc 0x00 32 @@ -9364,6 +10280,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS4 + 0x00c0 0x00 32 @@ -9379,6 +10296,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS5 + 0x00c4 0x00 32 @@ -9394,6 +10312,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS6 + 0x00c8 0x00 32 @@ -9409,6 +10328,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS7 + 0x00cc 0x00 32 @@ -9424,6 +10344,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS8 + 0x00d0 0x00 32 @@ -9439,6 +10360,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS9 + 0x00d4 0x00 32 @@ -9454,6 +10376,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS10 + 0x00d8 0x00 32 @@ -9469,6 +10392,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS11 + 0x00dc 0x00 32 @@ -9484,6 +10408,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS12 + 0x00e0 0x00 32 @@ -9499,6 +10424,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS13 + 0x00e4 0x00 32 @@ -9514,6 +10440,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS14 + 0x00e8 0x00 32 @@ -9529,6 +10456,7 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS15 + 0x00ec 0x00 32 @@ -9544,6 +10472,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC0 + 0x0100 0x00 32 @@ -9559,6 +10488,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC1 + 0x0104 0x00 32 @@ -9574,6 +10504,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC2 + 0x0108 0x00 32 @@ -9589,6 +10520,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC3 + 0x010c 0x00 32 @@ -9604,6 +10536,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC4 + 0x0110 0x00 32 @@ -9619,6 +10552,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC5 + 0x0114 0x00 32 @@ -9634,6 +10568,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC6 + 0x0118 0x00 32 @@ -9649,6 +10584,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC7 + 0x011c 0x00 32 @@ -9664,6 +10600,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC8 + 0x0120 0x00 32 @@ -9679,6 +10616,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC9 + 0x0124 0x00 32 @@ -9694,6 +10632,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC10 + 0x0128 0x00 32 @@ -9709,6 +10648,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC11 + 0x012c 0x00 32 @@ -9724,6 +10664,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC12 + 0x0130 0x00 32 @@ -9739,6 +10680,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC13 + 0x0134 0x00 32 @@ -9754,6 +10696,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC14 + 0x0138 0x00 32 @@ -9769,6 +10712,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC15 + 0x013c 0x00 32 @@ -9784,6 +10728,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC16 + 0x0140 0x00 32 @@ -9799,6 +10744,7 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC17 + 0x0144 0x00 32 @@ -9814,6 +10760,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE0 + 0x0148 0x00 32 @@ -9829,6 +10776,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE1 + 0x014c 0x00 32 @@ -9844,6 +10792,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE2 + 0x0150 0x00 32 @@ -9859,6 +10808,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE3 + 0x0154 0x00 32 @@ -9874,6 +10824,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE4 + 0x0158 0x00 32 @@ -9889,6 +10840,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE5 + 0x015c 0x00 32 @@ -9904,6 +10856,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE6 + 0x0160 0x00 32 @@ -9919,6 +10872,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE0 + 0x0168 0x00 32 @@ -9934,6 +10888,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE1 + 0x016c 0x00 32 @@ -9949,6 +10904,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE2 + 0x0170 0x00 32 @@ -9964,6 +10920,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE3 + 0x0174 0x00 32 @@ -9979,6 +10936,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE4 + 0x0178 0x00 32 @@ -9994,6 +10952,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE5 + 0x017c 0x00 32 @@ -10009,6 +10968,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE6 + 0x0180 0x00 32 @@ -10024,6 +10984,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO0 + 0x0188 0x00 32 @@ -10039,6 +11000,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO1 + 0x018c 0x00 32 @@ -10054,6 +11016,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO2 + 0x0190 0x00 32 @@ -10069,6 +11032,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO3 + 0x0194 0x00 32 @@ -10084,6 +11048,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO4 + 0x0198 0x00 32 @@ -10099,6 +11064,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO5 + 0x019c 0x00 32 @@ -10114,6 +11080,7 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO6 + 0x01a0 0x00 32 @@ -10129,6 +11096,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE0 + 0x01a8 0x00 32 @@ -10144,6 +11112,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE1 + 0x01ac 0x00 32 @@ -10159,6 +11128,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE2 + 0x01b0 0x00 32 @@ -10174,6 +11144,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE3 + 0x01b4 0x00 32 @@ -10189,6 +11160,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE4 + 0x01b8 0x00 32 @@ -10204,6 +11176,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE5 + 0x01bc 0x00 32 @@ -10219,6 +11192,7 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE6 + 0x01c0 0x00 32 @@ -10234,6 +11208,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO0 + 0x01c8 0x00 32 @@ -10249,6 +11224,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO1 + 0x01cc 0x00 32 @@ -10264,6 +11240,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO2 + 0x01d0 0x00 32 @@ -10279,6 +11256,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO3 + 0x01d4 0x00 32 @@ -10294,6 +11272,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO4 + 0x01d8 0x00 32 @@ -10309,6 +11288,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO5 + 0x01dc 0x00 32 @@ -10324,6 +11304,7 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO6 + 0x01e0 0x00 32 @@ -10339,6 +11320,7 @@ position to clear the flag]]> CR_REG_UHS_1_SUPPORT + 0x01f0 0x00 32 @@ -10380,6 +11362,8 @@ position to clear the flag]]> SFR_CTRL + 0x0000 0x00 32 @@ -10409,6 +11393,8 @@ position to clear the flag]]> SFR_FSTAT + 0x0004 0x00 32 @@ -10473,6 +11459,8 @@ position to clear the flag]]> SFR_FDEBUG + 0x0008 0x00 32 @@ -10537,6 +11525,8 @@ position to clear the flag]]> SFR_FLEVEL + 0x000c 0x00 32 @@ -10657,6 +11647,8 @@ position to clear the flag]]> SFR_TXF0 + 0x0010 0x00 32 @@ -10672,6 +11664,8 @@ position to clear the flag]]> SFR_TXF1 + 0x0014 0x00 32 @@ -10687,6 +11681,8 @@ position to clear the flag]]> SFR_TXF2 + 0x0018 0x00 32 @@ -10702,6 +11698,8 @@ position to clear the flag]]> SFR_TXF3 + 0x001c 0x00 32 @@ -10717,6 +11715,8 @@ position to clear the flag]]> SFR_RXF0 + 0x0020 0x00 32 @@ -10732,6 +11732,8 @@ position to clear the flag]]> SFR_RXF1 + 0x0024 0x00 32 @@ -10747,6 +11749,8 @@ position to clear the flag]]> SFR_RXF2 + 0x0028 0x00 32 @@ -10762,6 +11766,8 @@ position to clear the flag]]> SFR_RXF3 + 0x002c 0x00 32 @@ -10777,6 +11783,8 @@ position to clear the flag]]> SFR_IRQ + 0x0030 0x00 32 @@ -10792,6 +11800,8 @@ position to clear the flag]]> SFR_IRQ_FORCE + 0x0034 0x00 32 @@ -10807,6 +11817,8 @@ position to clear the flag]]> SFR_SYNC_BYPASS + 0x0038 0x00 32 @@ -10822,6 +11834,8 @@ position to clear the flag]]> SFR_DBG_PADOUT + 0x003c 0x00 32 @@ -10837,6 +11851,8 @@ position to clear the flag]]> SFR_DBG_PADOE + 0x0040 0x00 32 @@ -10852,6 +11868,8 @@ position to clear the flag]]> SFR_DBG_CFGINFO + 0x0044 0x00 32 @@ -10881,6 +11899,8 @@ position to clear the flag]]> SFR_INSTR_MEM0 + 0x0048 0x00 32 @@ -10896,6 +11916,8 @@ position to clear the flag]]> SFR_INSTR_MEM1 + 0x004c 0x00 32 @@ -10911,6 +11933,8 @@ position to clear the flag]]> SFR_INSTR_MEM2 + 0x0050 0x00 32 @@ -10926,6 +11950,8 @@ position to clear the flag]]> SFR_INSTR_MEM3 + 0x0054 0x00 32 @@ -10941,6 +11967,8 @@ position to clear the flag]]> SFR_INSTR_MEM4 + 0x0058 0x00 32 @@ -10956,6 +11984,8 @@ position to clear the flag]]> SFR_INSTR_MEM5 + 0x005c 0x00 32 @@ -10971,6 +12001,8 @@ position to clear the flag]]> SFR_INSTR_MEM6 + 0x0060 0x00 32 @@ -10986,6 +12018,8 @@ position to clear the flag]]> SFR_INSTR_MEM7 + 0x0064 0x00 32 @@ -11001,6 +12035,8 @@ position to clear the flag]]> SFR_INSTR_MEM8 + 0x0068 0x00 32 @@ -11016,6 +12052,8 @@ position to clear the flag]]> SFR_INSTR_MEM9 + 0x006c 0x00 32 @@ -11031,6 +12069,8 @@ position to clear the flag]]> SFR_INSTR_MEM10 + 0x0070 0x00 32 @@ -11046,6 +12086,8 @@ position to clear the flag]]> SFR_INSTR_MEM11 + 0x0074 0x00 32 @@ -11061,6 +12103,8 @@ position to clear the flag]]> SFR_INSTR_MEM12 + 0x0078 0x00 32 @@ -11076,6 +12120,8 @@ position to clear the flag]]> SFR_INSTR_MEM13 + 0x007c 0x00 32 @@ -11091,6 +12137,8 @@ position to clear the flag]]> SFR_INSTR_MEM14 + 0x0080 0x00 32 @@ -11106,6 +12154,8 @@ position to clear the flag]]> SFR_INSTR_MEM15 + 0x0084 0x00 32 @@ -11121,6 +12171,8 @@ position to clear the flag]]> SFR_INSTR_MEM16 + 0x0088 0x00 32 @@ -11136,6 +12188,8 @@ position to clear the flag]]> SFR_INSTR_MEM17 + 0x008c 0x00 32 @@ -11151,6 +12205,8 @@ position to clear the flag]]> SFR_INSTR_MEM18 + 0x0090 0x00 32 @@ -11166,6 +12222,8 @@ position to clear the flag]]> SFR_INSTR_MEM19 + 0x0094 0x00 32 @@ -11181,6 +12239,8 @@ position to clear the flag]]> SFR_INSTR_MEM20 + 0x0098 0x00 32 @@ -11196,6 +12256,8 @@ position to clear the flag]]> SFR_INSTR_MEM21 + 0x009c 0x00 32 @@ -11211,6 +12273,8 @@ position to clear the flag]]> SFR_INSTR_MEM22 + 0x00a0 0x00 32 @@ -11226,6 +12290,8 @@ position to clear the flag]]> SFR_INSTR_MEM23 + 0x00a4 0x00 32 @@ -11241,6 +12307,8 @@ position to clear the flag]]> SFR_INSTR_MEM24 + 0x00a8 0x00 32 @@ -11256,6 +12324,8 @@ position to clear the flag]]> SFR_INSTR_MEM25 + 0x00ac 0x00 32 @@ -11271,6 +12341,8 @@ position to clear the flag]]> SFR_INSTR_MEM26 + 0x00b0 0x00 32 @@ -11286,6 +12358,8 @@ position to clear the flag]]> SFR_INSTR_MEM27 + 0x00b4 0x00 32 @@ -11301,6 +12375,8 @@ position to clear the flag]]> SFR_INSTR_MEM28 + 0x00b8 0x00 32 @@ -11316,6 +12392,8 @@ position to clear the flag]]> SFR_INSTR_MEM29 + 0x00bc 0x00 32 @@ -11331,6 +12409,8 @@ position to clear the flag]]> SFR_INSTR_MEM30 + 0x00c0 0x00 32 @@ -11346,6 +12426,8 @@ position to clear the flag]]> SFR_INSTR_MEM31 + 0x00c4 0x00 32 @@ -11361,6 +12443,8 @@ position to clear the flag]]> SFR_SM0_CLKDIV + 0x00c8 0x00 32 @@ -11390,6 +12474,8 @@ position to clear the flag]]> SFR_SM0_EXECCTRL + 0x00cc 0x00 32 @@ -11482,6 +12568,8 @@ position to clear the flag]]> SFR_SM0_SHIFTCTRL + 0x00d0 0x00 32 @@ -11553,6 +12641,8 @@ position to clear the flag]]> SFR_SM0_ADDR + 0x00d4 0x00 32 @@ -11568,6 +12658,8 @@ position to clear the flag]]> SFR_SM0_INSTR + 0x00d8 0x00 32 @@ -11583,6 +12675,8 @@ position to clear the flag]]> SFR_SM0_PINCTRL + 0x00dc 0x00 32 @@ -11640,6 +12734,8 @@ position to clear the flag]]> SFR_SM1_CLKDIV + 0x00e0 0x00 32 @@ -11669,6 +12765,8 @@ position to clear the flag]]> SFR_SM1_EXECCTRL + 0x00e4 0x00 32 @@ -11761,6 +12859,8 @@ position to clear the flag]]> SFR_SM1_SHIFTCTRL + 0x00e8 0x00 32 @@ -11832,6 +12932,8 @@ position to clear the flag]]> SFR_SM1_ADDR + 0x00ec 0x00 32 @@ -11847,6 +12949,8 @@ position to clear the flag]]> SFR_SM1_INSTR + 0x00f0 0x00 32 @@ -11862,6 +12966,8 @@ position to clear the flag]]> SFR_SM1_PINCTRL + 0x00f4 0x00 32 @@ -11919,6 +13025,8 @@ position to clear the flag]]> SFR_SM2_CLKDIV + 0x00f8 0x00 32 @@ -11948,6 +13056,8 @@ position to clear the flag]]> SFR_SM2_EXECCTRL + 0x00fc 0x00 32 @@ -12040,6 +13150,8 @@ position to clear the flag]]> SFR_SM2_SHIFTCTRL + 0x0100 0x00 32 @@ -12111,6 +13223,8 @@ position to clear the flag]]> SFR_SM2_ADDR + 0x0104 0x00 32 @@ -12126,6 +13240,8 @@ position to clear the flag]]> SFR_SM2_INSTR + 0x0108 0x00 32 @@ -12141,6 +13257,8 @@ position to clear the flag]]> SFR_SM2_PINCTRL + 0x010c 0x00 32 @@ -12198,6 +13316,8 @@ position to clear the flag]]> SFR_SM3_CLKDIV + 0x0110 0x00 32 @@ -12227,6 +13347,8 @@ position to clear the flag]]> SFR_SM3_EXECCTRL + 0x0114 0x00 32 @@ -12319,6 +13441,8 @@ position to clear the flag]]> SFR_SM3_SHIFTCTRL + 0x0118 0x00 32 @@ -12390,6 +13514,8 @@ position to clear the flag]]> SFR_SM3_ADDR + 0x011c 0x00 32 @@ -12405,6 +13531,8 @@ position to clear the flag]]> SFR_SM3_INSTR + 0x0120 0x00 32 @@ -12420,6 +13548,8 @@ position to clear the flag]]> SFR_SM3_PINCTRL + 0x0124 0x00 32 @@ -12477,6 +13607,8 @@ position to clear the flag]]> SFR_INTR + 0x0128 0x00 32 @@ -12506,6 +13638,8 @@ position to clear the flag]]> SFR_IRQ0_INTE + 0x012c 0x00 32 @@ -12535,6 +13669,8 @@ position to clear the flag]]> SFR_IRQ0_INTF + 0x0130 0x00 32 @@ -12564,6 +13700,8 @@ position to clear the flag]]> SFR_IRQ0_INTS + 0x0134 0x00 32 @@ -12593,6 +13731,8 @@ position to clear the flag]]> SFR_IRQ1_INTE + 0x0138 0x00 32 @@ -12622,6 +13762,8 @@ position to clear the flag]]> SFR_IRQ1_INTF + 0x013c 0x00 32 @@ -12651,6 +13793,8 @@ position to clear the flag]]> SFR_IRQ1_INTS + 0x0140 0x00 32 @@ -12680,6 +13824,8 @@ position to clear the flag]]> SFR_IO_OE_INV + 0x0180 0x00 32 @@ -12695,6 +13841,8 @@ position to clear the flag]]> SFR_IO_O_INV + 0x0184 0x00 32 @@ -12710,6 +13858,8 @@ position to clear the flag]]> SFR_IO_I_INV + 0x0188 0x00 32 @@ -12725,6 +13875,8 @@ position to clear the flag]]> SFR_FIFO_MARGIN + 0x018c 0x00 32 @@ -12789,6 +13941,8 @@ position to clear the flag]]> SFR_ZERO0 + 0x0190 0x00 32 @@ -12804,6 +13958,8 @@ position to clear the flag]]> SFR_ZERO1 + 0x0194 0x00 32 @@ -12819,6 +13975,8 @@ position to clear the flag]]> SFR_ZERO2 + 0x0198 0x00 32 @@ -12834,6 +13992,8 @@ position to clear the flag]]> SFR_ZERO3 + 0x019c 0x00 32 @@ -12861,6 +14021,7 @@ position to clear the flag]]> SFR_CACHE + 0x0000 0x00 32 @@ -12876,6 +14037,7 @@ position to clear the flag]]> SFR_ITCM + 0x0004 0x00 32 @@ -12891,6 +14053,7 @@ position to clear the flag]]> SFR_DTCM + 0x0008 0x00 32 @@ -12906,6 +14069,7 @@ position to clear the flag]]> SFR_SRAM0 + 0x000c 0x00 32 @@ -12921,6 +14085,7 @@ position to clear the flag]]> SFR_SRAM1 + 0x0010 0x00 32 @@ -12936,6 +14101,7 @@ position to clear the flag]]> SFR_VEXRAM + 0x0014 0x00 32 @@ -12949,10 +14115,27 @@ position to clear the flag]]> + + SFR_SRAMERR + + 0x0020 + 0x00 + 32 + + + srambankerr + 3 + [3:0] + 0 + + + + 0 - 0x18 + 0x24 registers @@ -12963,6 +14146,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL0 + 0x0000 0x00 32 @@ -12978,6 +14162,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL1 + 0x0004 0x00 32 @@ -12993,6 +14178,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL2 + 0x0008 0x00 32 @@ -13008,6 +14194,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL3 + 0x000c 0x00 32 @@ -13023,6 +14210,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL4 + 0x0010 0x00 32 @@ -13038,6 +14226,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL5 + 0x0014 0x00 32 @@ -13053,6 +14242,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL6 + 0x0018 0x00 32 @@ -13068,6 +14258,7 @@ position to clear the flag]]> SFR_EVSEL_CR_EVSEL7 + 0x001c 0x00 32 @@ -13083,6 +14274,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ0 + 0x0020 0x00 32 @@ -13098,6 +14290,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ1 + 0x0024 0x00 32 @@ -13113,6 +14306,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ2 + 0x0028 0x00 32 @@ -13128,6 +14322,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ3 + 0x002c 0x00 32 @@ -13143,6 +14338,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ4 + 0x0030 0x00 32 @@ -13158,6 +14354,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ5 + 0x0034 0x00 32 @@ -13173,6 +14370,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ6 + 0x0038 0x00 32 @@ -13188,6 +14386,7 @@ position to clear the flag]]> SFR_CR_CR_MDMAREQ7 + 0x003c 0x00 32 @@ -13203,6 +14402,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ0 + 0x0040 0x00 32 @@ -13218,6 +14418,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ1 + 0x0044 0x00 32 @@ -13233,6 +14434,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ2 + 0x0048 0x00 32 @@ -13248,6 +14450,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ3 + 0x004c 0x00 32 @@ -13263,6 +14466,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ4 + 0x0050 0x00 32 @@ -13278,6 +14482,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ5 + 0x0054 0x00 32 @@ -13293,6 +14498,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ6 + 0x0058 0x00 32 @@ -13308,6 +14514,7 @@ position to clear the flag]]> SFR_SR_SR_MDMAREQ7 + 0x005c 0x00 32 @@ -13335,6 +14542,7 @@ position to clear the flag]]> SFR_IO + 0x0000 0x00 32 @@ -13350,6 +14558,7 @@ position to clear the flag]]> SFR_AR + 0x0004 0x00 32 @@ -13365,6 +14574,7 @@ position to clear the flag]]> SFR_IODRV + 0x0008 0x00 32 @@ -13380,6 +14590,7 @@ position to clear the flag]]> CR_XIP_ADDRMODE + 0x0010 0x00 32 @@ -13395,6 +14606,7 @@ position to clear the flag]]> CR_XIP_OPCODE + 0x0014 0x00 32 @@ -13410,6 +14622,7 @@ position to clear the flag]]> CR_XIP_WIDTH + 0x0018 0x00 32 @@ -13425,6 +14638,7 @@ position to clear the flag]]> CR_XIP_SSEL + 0x001c 0x00 32 @@ -13440,6 +14654,7 @@ position to clear the flag]]> CR_XIP_DUMCYC + 0x0020 0x00 32 @@ -13455,6 +14670,7 @@ position to clear the flag]]> CR_XIP_CFG + 0x0024 0x00 32 @@ -13470,6 +14686,7 @@ position to clear the flag]]> CR_AESKEY_AESKEYIN0 + 0x0040 0x00 32 @@ -13485,6 +14702,7 @@ position to clear the flag]]> CR_AESKEY_AESKEYIN1 + 0x0044 0x00 32 @@ -13500,6 +14718,7 @@ position to clear the flag]]> CR_AESKEY_AESKEYIN2 + 0x0048 0x00 32 @@ -13515,6 +14734,7 @@ position to clear the flag]]> CR_AESKEY_AESKEYIN3 + 0x004c 0x00 32 @@ -13530,6 +14750,7 @@ position to clear the flag]]> CR_AESENA + 0x0050 0x00 32 @@ -13557,6 +14778,8 @@ position to clear the flag]]> SFR_WDATA + 0x0000 0x00 32 @@ -13572,6 +14795,8 @@ position to clear the flag]]> SFR_RDATA + 0x0004 0x00 32 @@ -13587,6 +14812,8 @@ position to clear the flag]]> SFR_STATUS + 0x0008 0x00 32 @@ -13637,6 +14864,8 @@ position to clear the flag]]> SFR_ABORT + 0x0018 0x00 32 @@ -13652,6 +14881,8 @@ position to clear the flag]]> SFR_DONE + 0x001c 0x00 32 @@ -13679,6 +14910,7 @@ position to clear the flag]]> SFR_GCMASK + 0x0000 0x00 32 @@ -13694,6 +14926,7 @@ position to clear the flag]]> SFR_GCSR + 0x0004 0x00 32 @@ -13709,6 +14942,7 @@ position to clear the flag]]> SFR_GCRST + 0x0008 0x00 32 @@ -13724,6 +14958,7 @@ position to clear the flag]]> SFR_GCTEST + 0x000c 0x00 32 @@ -13744,466 +14979,6 @@ position to clear the flag]]> registers - - MESH - 0x40052000 - MESH - - - SFR_MLDRV_CR_MLDRV0 - 0x0000 - 0x00 - 32 - - - cr_mldrv0 - 31 - [31:0] - 0 - - - - - - SFR_MLIE_CR_MLIE0 - 0x0004 - 0x00 - 32 - - - cr_mlie0 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR0 - 0x0008 - 0x00 - 32 - - - sr_mlsr0 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR1 - 0x000c - 0x00 - 32 - - - sr_mlsr1 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR2 - 0x0010 - 0x00 - 32 - - - sr_mlsr2 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR3 - 0x0014 - 0x00 - 32 - - - sr_mlsr3 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR4 - 0x0018 - 0x00 - 32 - - - sr_mlsr4 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR5 - 0x001c - 0x00 - 32 - - - sr_mlsr5 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR6 - 0x0020 - 0x00 - 32 - - - sr_mlsr6 - 31 - [31:0] - 0 - - - - - - SFR_MLSR_SR_MLSR7 - 0x0024 - 0x00 - 32 - - - sr_mlsr7 - 31 - [31:0] - 0 - - - - - - - 0 - 0x28 - registers - - - - SENSORC - 0x40053000 - SENSORC - - - SFR_VDMASK0 - 0x0000 - 0x00 - 32 - - - cr_vdmask0 - 7 - [7:0] - 0 - - - - - - SFR_VDMASK1 - 0x0004 - 0x00 - 32 - - - cr_vdmask1 - 7 - [7:0] - 0 - - - - - - SFR_VDSR - 0x0008 - 0x00 - 32 - - - vdflag - 7 - [7:0] - 0 - - - - - - SFR_VDFR - 0x000c - 0x00 - 32 - - - vdflag - 7 - [7:0] - 0 - - - - - - SFR_LDMASK - 0x0010 - 0x00 - 32 - - - cr_ldmask - 3 - [3:0] - 0 - - - - - - SFR_LDSR - 0x0014 - 0x00 - 32 - - - sr_ldsr - 3 - [3:0] - 0 - - - - - - SFR_LDCFG - 0x0018 - 0x00 - 32 - - - sfr_ldcfg - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG0 - 0x0020 - 0x00 - 32 - - - cr_vdcfg0 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG1 - 0x0024 - 0x00 - 32 - - - cr_vdcfg1 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG2 - 0x0028 - 0x00 - 32 - - - cr_vdcfg2 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG3 - 0x002c - 0x00 - 32 - - - cr_vdcfg3 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG4 - 0x0030 - 0x00 - 32 - - - cr_vdcfg4 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG5 - 0x0034 - 0x00 - 32 - - - cr_vdcfg5 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG6 - 0x0038 - 0x00 - 32 - - - cr_vdcfg6 - 3 - [3:0] - 0 - - - - - - SFR_VDCFG_CR_VDCFG7 - 0x003c - 0x00 - 32 - - - cr_vdcfg7 - 3 - [3:0] - 0 - - - - - - SFR_VDIP_ENA - 0x0040 - 0x00 - 32 - - - vdena - 3 - [3:0] - 0 - - - - - - SFR_VDIP_TEST - 0x0044 - 0x00 - 32 - - - vdtst - 7 - [7:0] - 0 - - - - - - SFR_LDIP_TEST - 0x0048 - 0x00 - 32 - - - ldtst - 3 - [3:0] - 0 - - - - - - SFR_LDIP_FD - 0x004c - 0x00 - 32 - - - sfr_ldip_fd - 15 - [15:0] - 0 - - - - - - - 0 - 0x50 - registers - - diff --git a/utralib/cramium/soc.svd b/utralib/cramium/soc.svd index 4440fdc31..a2b814885 100644 --- a/utralib/cramium/soc.svd +++ b/utralib/cramium/soc.svd @@ -3,7 +3,7 @@ litex SOC - + 8 32 diff --git a/utralib/src/generated/cramium_fpga.rs b/utralib/src/generated/cramium_fpga.rs index 95f7247fa..4f31fbaa8 100644 --- a/utralib/src/generated/cramium_fpga.rs +++ b/utralib/src/generated/cramium_fpga.rs @@ -406,8 +406,6 @@ pub const HW_MDMA_BASE : usize = 0x40012000; pub const HW_QFC_BASE : usize = 0x40010000; pub const HW_MBOX_APB_BASE : usize = 0x40013000; pub const HW_GLUECHAIN_BASE : usize = 0x40054000; -pub const HW_MESH_BASE : usize = 0x40052000; -pub const HW_SENSORC_BASE : usize = 0x40053000; pub mod utra { @@ -2910,9 +2908,10 @@ pub mod utra { pub const REG_TX_CFG_R_TX_EN: crate::Field = crate::Field::new(1, 4, REG_TX_CFG); pub const REG_TX_CFG_R_TX_CLR: crate::Field = crate::Field::new(1, 5, REG_TX_CFG); - pub const REG_CMD_OP: crate::Register = crate::Register::new(8, 0x3f07); + pub const REG_CMD_OP: crate::Register = crate::Register::new(8, 0x33f07); pub const REG_CMD_OP_R_CMD_RSP_TYPE: crate::Field = crate::Field::new(3, 0, REG_CMD_OP); pub const REG_CMD_OP_R_CMD_OP: crate::Field = crate::Field::new(6, 8, REG_CMD_OP); + pub const REG_CMD_OP_R_CMD_STOPOPT: crate::Field = crate::Field::new(2, 16, REG_CMD_OP); pub const REG_DATA_SETUP: crate::Register = crate::Register::new(10, 0x3ffff07); pub const REG_DATA_SETUP_R_DATA_EN: crate::Field = crate::Field::new(1, 0, REG_DATA_SETUP); @@ -3288,7 +3287,7 @@ pub mod utra { } pub mod aes { - pub const AES_NUMREGS: usize = 11; + pub const AES_NUMREGS: usize = 13; pub const SFR_CRFUNC: crate::Register = crate::Register::new(0, 0xff); pub const SFR_CRFUNC_SFR_CRFUNC: crate::Field = crate::Field::new(8, 0, SFR_CRFUNC); @@ -3313,8 +3312,14 @@ pub mod utra { pub const SFR_OPT1: crate::Register = crate::Register::new(5, 0xffff); pub const SFR_OPT1_SFR_OPT1: crate::Field = crate::Field::new(16, 0, SFR_OPT1); - pub const SFR_OPTLTX: crate::Register = crate::Register::new(6, 0xf); - pub const SFR_OPTLTX_SFR_OPTLTX: crate::Field = crate::Field::new(4, 0, SFR_OPTLTX); + pub const SFR_OPTLTX: crate::Register = crate::Register::new(6, 0x3f); + pub const SFR_OPTLTX_SFR_OPTLTX: crate::Field = crate::Field::new(6, 0, SFR_OPTLTX); + + pub const SFR_MASKSEED: crate::Register = crate::Register::new(8, 0xffffffff); + pub const SFR_MASKSEED_SFR_MASKSEED: crate::Field = crate::Field::new(32, 0, SFR_MASKSEED); + + pub const SFR_MASKSEEDAR: crate::Register = crate::Register::new(9, 0xffffffff); + pub const SFR_MASKSEEDAR_SFR_MASKSEEDAR: crate::Field = crate::Field::new(32, 0, SFR_MASKSEEDAR); pub const SFR_SEGPTR_PTRID_IV: crate::Register = crate::Register::new(12, 0xfff); pub const SFR_SEGPTR_PTRID_IV_PTRID_IV: crate::Field = crate::Field::new(12, 0, SFR_SEGPTR_PTRID_IV); @@ -3561,7 +3566,7 @@ pub mod utra { } pub mod trng { - pub const TRNG_NUMREGS: usize = 9; + pub const TRNG_NUMREGS: usize = 13; pub const SFR_CRSRC: crate::Register = crate::Register::new(0, 0xfff); pub const SFR_CRSRC_SFR_CRSRC: crate::Field = crate::Field::new(12, 0, SFR_CRSRC); @@ -3584,6 +3589,18 @@ pub mod utra { pub const SFR_FR: crate::Register = crate::Register::new(6, 0x3); pub const SFR_FR_SFR_FR: crate::Field = crate::Field::new(2, 0, SFR_FR); + pub const SFR_DRPSZ: crate::Register = crate::Register::new(8, 0xffffffff); + pub const SFR_DRPSZ_SFR_DRPSZ: crate::Field = crate::Field::new(32, 0, SFR_DRPSZ); + + pub const SFR_DRGEN: crate::Register = crate::Register::new(9, 0xffffffff); + pub const SFR_DRGEN_SFR_DRGEN: crate::Field = crate::Field::new(32, 0, SFR_DRGEN); + + pub const SFR_DRRESEED: crate::Register = crate::Register::new(10, 0xffffffff); + pub const SFR_DRRESEED_SFR_DRRESEED: crate::Field = crate::Field::new(32, 0, SFR_DRRESEED); + + pub const SFR_BUF: crate::Register = crate::Register::new(12, 0xffffffff); + pub const SFR_BUF_SFR_BUF: crate::Field = crate::Field::new(32, 0, SFR_BUF); + pub const SFR_CHAIN_RNGCHAINEN0: crate::Register = crate::Register::new(16, 0xffffffff); pub const SFR_CHAIN_RNGCHAINEN0_RNGCHAINEN0: crate::Field = crate::Field::new(32, 0, SFR_CHAIN_RNGCHAINEN0); @@ -3702,7 +3719,7 @@ pub mod utra { } pub mod sysctrl { - pub const SYSCTRL_NUMREGS: usize = 33; + pub const SYSCTRL_NUMREGS: usize = 35; pub const SFR_CGUSEC: crate::Register = crate::Register::new(0, 0xffff); pub const SFR_CGUSEC_SFR_CGUSEC: crate::Field = crate::Field::new(16, 0, SFR_CGUSEC); @@ -3710,6 +3727,12 @@ pub mod utra { pub const SFR_CGULP: crate::Register = crate::Register::new(1, 0xffff); pub const SFR_CGULP_SFR_CGULP: crate::Field = crate::Field::new(16, 0, SFR_CGULP); + pub const SFR_SEED: crate::Register = crate::Register::new(2, 0xffffffff); + pub const SFR_SEED_SFR_SEED: crate::Field = crate::Field::new(32, 0, SFR_SEED); + + pub const SFR_SEEDAR: crate::Register = crate::Register::new(3, 0xffffffff); + pub const SFR_SEEDAR_SFR_SEEDAR: crate::Field = crate::Field::new(32, 0, SFR_SEEDAR); + pub const SFR_CGUSEL0: crate::Register = crate::Register::new(4, 0x3); pub const SFR_CGUSEL0_SFR_CGUSEL0: crate::Field = crate::Field::new(2, 0, SFR_CGUSEL0); @@ -3813,7 +3836,7 @@ pub mod utra { } pub mod iox { - pub const IOX_NUMREGS: usize = 46; + pub const IOX_NUMREGS: usize = 64; pub const SFR_AFSEL_CRAFSEL0: crate::Register = crate::Register::new(0, 0xffff); pub const SFR_AFSEL_CRAFSEL0_CRAFSEL0: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL0); @@ -3839,6 +3862,18 @@ pub mod utra { pub const SFR_AFSEL_CRAFSEL7: crate::Register = crate::Register::new(7, 0xffff); pub const SFR_AFSEL_CRAFSEL7_CRAFSEL7: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL7); + pub const SFR_AFSEL_CRAFSEL8: crate::Register = crate::Register::new(8, 0xffff); + pub const SFR_AFSEL_CRAFSEL8_CRAFSEL8: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL8); + + pub const SFR_AFSEL_CRAFSEL9: crate::Register = crate::Register::new(9, 0xffff); + pub const SFR_AFSEL_CRAFSEL9_CRAFSEL9: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL9); + + pub const SFR_AFSEL_CRAFSEL10: crate::Register = crate::Register::new(10, 0xffff); + pub const SFR_AFSEL_CRAFSEL10_CRAFSEL10: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL10); + + pub const SFR_AFSEL_CRAFSEL11: crate::Register = crate::Register::new(11, 0xffff); + pub const SFR_AFSEL_CRAFSEL11_CRAFSEL11: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL11); + pub const SFR_INTCR_CRINT0: crate::Register = crate::Register::new(64, 0x3ff); pub const SFR_INTCR_CRINT0_CRINT0: crate::Field = crate::Field::new(10, 0, SFR_INTCR_CRINT0); @@ -3878,42 +3913,66 @@ pub mod utra { pub const SFR_GPIOOUT_CRGO3: crate::Register = crate::Register::new(79, 0xffff); pub const SFR_GPIOOUT_CRGO3_CRGO3: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO3); - pub const SFR_GPIOOE_CRGOE0: crate::Register = crate::Register::new(80, 0xffff); + pub const SFR_GPIOOUT_CRGO4: crate::Register = crate::Register::new(80, 0xffff); + pub const SFR_GPIOOUT_CRGO4_CRGO4: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO4); + + pub const SFR_GPIOOUT_CRGO5: crate::Register = crate::Register::new(81, 0xffff); + pub const SFR_GPIOOUT_CRGO5_CRGO5: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO5); + + pub const SFR_GPIOOE_CRGOE0: crate::Register = crate::Register::new(82, 0xffff); pub const SFR_GPIOOE_CRGOE0_CRGOE0: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE0); - pub const SFR_GPIOOE_CRGOE1: crate::Register = crate::Register::new(81, 0xffff); + pub const SFR_GPIOOE_CRGOE1: crate::Register = crate::Register::new(83, 0xffff); pub const SFR_GPIOOE_CRGOE1_CRGOE1: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE1); - pub const SFR_GPIOOE_CRGOE2: crate::Register = crate::Register::new(82, 0xffff); + pub const SFR_GPIOOE_CRGOE2: crate::Register = crate::Register::new(84, 0xffff); pub const SFR_GPIOOE_CRGOE2_CRGOE2: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE2); - pub const SFR_GPIOOE_CRGOE3: crate::Register = crate::Register::new(83, 0xffff); + pub const SFR_GPIOOE_CRGOE3: crate::Register = crate::Register::new(85, 0xffff); pub const SFR_GPIOOE_CRGOE3_CRGOE3: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE3); - pub const SFR_GPIOPU_CRGPU0: crate::Register = crate::Register::new(84, 0xffff); + pub const SFR_GPIOOE_CRGOE4: crate::Register = crate::Register::new(86, 0xffff); + pub const SFR_GPIOOE_CRGOE4_CRGOE4: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE4); + + pub const SFR_GPIOOE_CRGOE5: crate::Register = crate::Register::new(87, 0xffff); + pub const SFR_GPIOOE_CRGOE5_CRGOE5: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE5); + + pub const SFR_GPIOPU_CRGPU0: crate::Register = crate::Register::new(88, 0xffff); pub const SFR_GPIOPU_CRGPU0_CRGPU0: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU0); - pub const SFR_GPIOPU_CRGPU1: crate::Register = crate::Register::new(85, 0xffff); + pub const SFR_GPIOPU_CRGPU1: crate::Register = crate::Register::new(89, 0xffff); pub const SFR_GPIOPU_CRGPU1_CRGPU1: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU1); - pub const SFR_GPIOPU_CRGPU2: crate::Register = crate::Register::new(86, 0xffff); + pub const SFR_GPIOPU_CRGPU2: crate::Register = crate::Register::new(90, 0xffff); pub const SFR_GPIOPU_CRGPU2_CRGPU2: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU2); - pub const SFR_GPIOPU_CRGPU3: crate::Register = crate::Register::new(87, 0xffff); + pub const SFR_GPIOPU_CRGPU3: crate::Register = crate::Register::new(91, 0xffff); pub const SFR_GPIOPU_CRGPU3_CRGPU3: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU3); - pub const SFR_GPIOIN_SRGI0: crate::Register = crate::Register::new(88, 0xffff); + pub const SFR_GPIOPU_CRGPU4: crate::Register = crate::Register::new(92, 0xffff); + pub const SFR_GPIOPU_CRGPU4_CRGPU4: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU4); + + pub const SFR_GPIOPU_CRGPU5: crate::Register = crate::Register::new(93, 0xffff); + pub const SFR_GPIOPU_CRGPU5_CRGPU5: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU5); + + pub const SFR_GPIOIN_SRGI0: crate::Register = crate::Register::new(94, 0xffff); pub const SFR_GPIOIN_SRGI0_SRGI0: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI0); - pub const SFR_GPIOIN_SRGI1: crate::Register = crate::Register::new(89, 0xffff); + pub const SFR_GPIOIN_SRGI1: crate::Register = crate::Register::new(95, 0xffff); pub const SFR_GPIOIN_SRGI1_SRGI1: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI1); - pub const SFR_GPIOIN_SRGI2: crate::Register = crate::Register::new(90, 0xffff); + pub const SFR_GPIOIN_SRGI2: crate::Register = crate::Register::new(96, 0xffff); pub const SFR_GPIOIN_SRGI2_SRGI2: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI2); - pub const SFR_GPIOIN_SRGI3: crate::Register = crate::Register::new(91, 0xffff); + pub const SFR_GPIOIN_SRGI3: crate::Register = crate::Register::new(97, 0xffff); pub const SFR_GPIOIN_SRGI3_SRGI3: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI3); + pub const SFR_GPIOIN_SRGI4: crate::Register = crate::Register::new(98, 0xffff); + pub const SFR_GPIOIN_SRGI4_SRGI4: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI4); + + pub const SFR_GPIOIN_SRGI5: crate::Register = crate::Register::new(99, 0xffff); + pub const SFR_GPIOIN_SRGI5_SRGI5: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI5); + pub const SFR_PIOSEL: crate::Register = crate::Register::new(128, 0xffffffff); pub const SFR_PIOSEL_PIOSEL: crate::Field = crate::Field::new(32, 0, SFR_PIOSEL); @@ -3929,30 +3988,48 @@ pub mod utra { pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL3: crate::Register = crate::Register::new(143, 0xffff); pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL3); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0: crate::Register = crate::Register::new(144, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL4: crate::Register = crate::Register::new(144, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL4); + + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL5: crate::Register = crate::Register::new(145, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL5); + + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0: crate::Register = crate::Register::new(146, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0_CR_CFG_SLEWSLOW0: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW0); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1: crate::Register = crate::Register::new(145, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1: crate::Register = crate::Register::new(147, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1_CR_CFG_SLEWSLOW1: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW1); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2: crate::Register = crate::Register::new(146, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2: crate::Register = crate::Register::new(148, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2_CR_CFG_SLEWSLOW2: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW2); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3: crate::Register = crate::Register::new(147, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3: crate::Register = crate::Register::new(149, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW3); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0: crate::Register = crate::Register::new(148, 0xffffffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW4: crate::Register = crate::Register::new(150, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW4); + + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW5: crate::Register = crate::Register::new(151, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW5); + + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0: crate::Register = crate::Register::new(152, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0_CR_CFG_DRVSEL0: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL0); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1: crate::Register = crate::Register::new(149, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1: crate::Register = crate::Register::new(153, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1_CR_CFG_DRVSEL1: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL1); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2: crate::Register = crate::Register::new(150, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2: crate::Register = crate::Register::new(154, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2_CR_CFG_DRVSEL2: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL2); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3: crate::Register = crate::Register::new(151, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3: crate::Register = crate::Register::new(155, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL3); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL4: crate::Register = crate::Register::new(156, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL4); + + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL5: crate::Register = crate::Register::new(157, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL5); + pub const HW_IOX_BASE: usize = 0x5012f000; } @@ -4743,7 +4820,7 @@ pub mod utra { } pub mod coresub_sramtrm { - pub const CORESUB_SRAMTRM_NUMREGS: usize = 6; + pub const CORESUB_SRAMTRM_NUMREGS: usize = 7; pub const SFR_CACHE: crate::Register = crate::Register::new(0, 0x7); pub const SFR_CACHE_SFR_CACHE: crate::Field = crate::Field::new(3, 0, SFR_CACHE); @@ -4763,6 +4840,9 @@ pub mod utra { pub const SFR_VEXRAM: crate::Register = crate::Register::new(5, 0x7); pub const SFR_VEXRAM_SFR_VEXRAM: crate::Field = crate::Field::new(3, 0, SFR_VEXRAM); + pub const SFR_SRAMERR: crate::Register = crate::Register::new(8, 0xf); + pub const SFR_SRAMERR_SRAMBANKERR: crate::Field = crate::Field::new(4, 0, SFR_SRAMERR); + pub const HW_CORESUB_SRAMTRM_BASE: usize = 0x40014000; } @@ -4935,105 +5015,6 @@ pub mod utra { pub const HW_GLUECHAIN_BASE: usize = 0x40054000; } - - pub mod mesh { - pub const MESH_NUMREGS: usize = 10; - - pub const SFR_MLDRV_CR_MLDRV0: crate::Register = crate::Register::new(0, 0xffffffff); - pub const SFR_MLDRV_CR_MLDRV0_CR_MLDRV0: crate::Field = crate::Field::new(32, 0, SFR_MLDRV_CR_MLDRV0); - - pub const SFR_MLIE_CR_MLIE0: crate::Register = crate::Register::new(1, 0xffffffff); - pub const SFR_MLIE_CR_MLIE0_CR_MLIE0: crate::Field = crate::Field::new(32, 0, SFR_MLIE_CR_MLIE0); - - pub const SFR_MLSR_SR_MLSR0: crate::Register = crate::Register::new(2, 0xffffffff); - pub const SFR_MLSR_SR_MLSR0_SR_MLSR0: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR0); - - pub const SFR_MLSR_SR_MLSR1: crate::Register = crate::Register::new(3, 0xffffffff); - pub const SFR_MLSR_SR_MLSR1_SR_MLSR1: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR1); - - pub const SFR_MLSR_SR_MLSR2: crate::Register = crate::Register::new(4, 0xffffffff); - pub const SFR_MLSR_SR_MLSR2_SR_MLSR2: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR2); - - pub const SFR_MLSR_SR_MLSR3: crate::Register = crate::Register::new(5, 0xffffffff); - pub const SFR_MLSR_SR_MLSR3_SR_MLSR3: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR3); - - pub const SFR_MLSR_SR_MLSR4: crate::Register = crate::Register::new(6, 0xffffffff); - pub const SFR_MLSR_SR_MLSR4_SR_MLSR4: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR4); - - pub const SFR_MLSR_SR_MLSR5: crate::Register = crate::Register::new(7, 0xffffffff); - pub const SFR_MLSR_SR_MLSR5_SR_MLSR5: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR5); - - pub const SFR_MLSR_SR_MLSR6: crate::Register = crate::Register::new(8, 0xffffffff); - pub const SFR_MLSR_SR_MLSR6_SR_MLSR6: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR6); - - pub const SFR_MLSR_SR_MLSR7: crate::Register = crate::Register::new(9, 0xffffffff); - pub const SFR_MLSR_SR_MLSR7_SR_MLSR7: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR7); - - pub const HW_MESH_BASE: usize = 0x40052000; - } - - pub mod sensorc { - pub const SENSORC_NUMREGS: usize = 19; - - pub const SFR_VDMASK0: crate::Register = crate::Register::new(0, 0xff); - pub const SFR_VDMASK0_CR_VDMASK0: crate::Field = crate::Field::new(8, 0, SFR_VDMASK0); - - pub const SFR_VDMASK1: crate::Register = crate::Register::new(1, 0xff); - pub const SFR_VDMASK1_CR_VDMASK1: crate::Field = crate::Field::new(8, 0, SFR_VDMASK1); - - pub const SFR_VDSR: crate::Register = crate::Register::new(2, 0xff); - pub const SFR_VDSR_VDFLAG: crate::Field = crate::Field::new(8, 0, SFR_VDSR); - - pub const SFR_VDFR: crate::Register = crate::Register::new(3, 0xff); - pub const SFR_VDFR_VDFLAG: crate::Field = crate::Field::new(8, 0, SFR_VDFR); - - pub const SFR_LDMASK: crate::Register = crate::Register::new(4, 0xf); - pub const SFR_LDMASK_CR_LDMASK: crate::Field = crate::Field::new(4, 0, SFR_LDMASK); - - pub const SFR_LDSR: crate::Register = crate::Register::new(5, 0xf); - pub const SFR_LDSR_SR_LDSR: crate::Field = crate::Field::new(4, 0, SFR_LDSR); - - pub const SFR_LDCFG: crate::Register = crate::Register::new(6, 0xf); - pub const SFR_LDCFG_SFR_LDCFG: crate::Field = crate::Field::new(4, 0, SFR_LDCFG); - - pub const SFR_VDCFG_CR_VDCFG0: crate::Register = crate::Register::new(8, 0xf); - pub const SFR_VDCFG_CR_VDCFG0_CR_VDCFG0: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG0); - - pub const SFR_VDCFG_CR_VDCFG1: crate::Register = crate::Register::new(9, 0xf); - pub const SFR_VDCFG_CR_VDCFG1_CR_VDCFG1: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG1); - - pub const SFR_VDCFG_CR_VDCFG2: crate::Register = crate::Register::new(10, 0xf); - pub const SFR_VDCFG_CR_VDCFG2_CR_VDCFG2: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG2); - - pub const SFR_VDCFG_CR_VDCFG3: crate::Register = crate::Register::new(11, 0xf); - pub const SFR_VDCFG_CR_VDCFG3_CR_VDCFG3: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG3); - - pub const SFR_VDCFG_CR_VDCFG4: crate::Register = crate::Register::new(12, 0xf); - pub const SFR_VDCFG_CR_VDCFG4_CR_VDCFG4: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG4); - - pub const SFR_VDCFG_CR_VDCFG5: crate::Register = crate::Register::new(13, 0xf); - pub const SFR_VDCFG_CR_VDCFG5_CR_VDCFG5: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG5); - - pub const SFR_VDCFG_CR_VDCFG6: crate::Register = crate::Register::new(14, 0xf); - pub const SFR_VDCFG_CR_VDCFG6_CR_VDCFG6: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG6); - - pub const SFR_VDCFG_CR_VDCFG7: crate::Register = crate::Register::new(15, 0xf); - pub const SFR_VDCFG_CR_VDCFG7_CR_VDCFG7: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG7); - - pub const SFR_VDIP_ENA: crate::Register = crate::Register::new(16, 0xf); - pub const SFR_VDIP_ENA_VDENA: crate::Field = crate::Field::new(4, 0, SFR_VDIP_ENA); - - pub const SFR_VDIP_TEST: crate::Register = crate::Register::new(17, 0xff); - pub const SFR_VDIP_TEST_VDTST: crate::Field = crate::Field::new(8, 0, SFR_VDIP_TEST); - - pub const SFR_LDIP_TEST: crate::Register = crate::Register::new(18, 0xf); - pub const SFR_LDIP_TEST_LDTST: crate::Field = crate::Field::new(4, 0, SFR_LDIP_TEST); - - pub const SFR_LDIP_FD: crate::Register = crate::Register::new(19, 0xffff); - pub const SFR_LDIP_FD_SFR_LDIP_FD: crate::Field = crate::Field::new(16, 0, SFR_LDIP_FD); - - pub const HW_SENSORC_BASE: usize = 0x40053000; - } } // Litex auto-generated constants @@ -13759,6 +13740,11 @@ mod tests { let mut baz = udma_sdio_csr.zf(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, bar); baz |= udma_sdio_csr.ms(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, 1); udma_sdio_csr.wfo(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, baz); + let bar = udma_sdio_csr.rf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT); + udma_sdio_csr.rmwf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, bar); + let mut baz = udma_sdio_csr.zf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, bar); + baz |= udma_sdio_csr.ms(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, 1); + udma_sdio_csr.wfo(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, baz); let foo = udma_sdio_csr.r(utra::udma_sdio::REG_DATA_SETUP); udma_sdio_csr.wo(utra::udma_sdio::REG_DATA_SETUP, foo); @@ -14921,6 +14907,22 @@ mod tests { baz |= aes_csr.ms(utra::aes::SFR_OPTLTX_SFR_OPTLTX, 1); aes_csr.wfo(utra::aes::SFR_OPTLTX_SFR_OPTLTX, baz); + let foo = aes_csr.r(utra::aes::SFR_MASKSEED); + aes_csr.wo(utra::aes::SFR_MASKSEED, foo); + let bar = aes_csr.rf(utra::aes::SFR_MASKSEED_SFR_MASKSEED); + aes_csr.rmwf(utra::aes::SFR_MASKSEED_SFR_MASKSEED, bar); + let mut baz = aes_csr.zf(utra::aes::SFR_MASKSEED_SFR_MASKSEED, bar); + baz |= aes_csr.ms(utra::aes::SFR_MASKSEED_SFR_MASKSEED, 1); + aes_csr.wfo(utra::aes::SFR_MASKSEED_SFR_MASKSEED, baz); + + let foo = aes_csr.r(utra::aes::SFR_MASKSEEDAR); + aes_csr.wo(utra::aes::SFR_MASKSEEDAR, foo); + let bar = aes_csr.rf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR); + aes_csr.rmwf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, bar); + let mut baz = aes_csr.zf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, bar); + baz |= aes_csr.ms(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, 1); + aes_csr.wfo(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, baz); + let foo = aes_csr.r(utra::aes::SFR_SEGPTR_PTRID_IV); aes_csr.wo(utra::aes::SFR_SEGPTR_PTRID_IV, foo); let bar = aes_csr.rf(utra::aes::SFR_SEGPTR_PTRID_IV_PTRID_IV); @@ -15621,6 +15623,38 @@ mod tests { baz |= trng_csr.ms(utra::trng::SFR_FR_SFR_FR, 1); trng_csr.wfo(utra::trng::SFR_FR_SFR_FR, baz); + let foo = trng_csr.r(utra::trng::SFR_DRPSZ); + trng_csr.wo(utra::trng::SFR_DRPSZ, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRPSZ_SFR_DRPSZ); + trng_csr.rmwf(utra::trng::SFR_DRPSZ_SFR_DRPSZ, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRPSZ_SFR_DRPSZ, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRPSZ_SFR_DRPSZ, 1); + trng_csr.wfo(utra::trng::SFR_DRPSZ_SFR_DRPSZ, baz); + + let foo = trng_csr.r(utra::trng::SFR_DRGEN); + trng_csr.wo(utra::trng::SFR_DRGEN, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRGEN_SFR_DRGEN); + trng_csr.rmwf(utra::trng::SFR_DRGEN_SFR_DRGEN, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRGEN_SFR_DRGEN, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRGEN_SFR_DRGEN, 1); + trng_csr.wfo(utra::trng::SFR_DRGEN_SFR_DRGEN, baz); + + let foo = trng_csr.r(utra::trng::SFR_DRRESEED); + trng_csr.wo(utra::trng::SFR_DRRESEED, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRRESEED_SFR_DRRESEED); + trng_csr.rmwf(utra::trng::SFR_DRRESEED_SFR_DRRESEED, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRRESEED_SFR_DRRESEED, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRRESEED_SFR_DRRESEED, 1); + trng_csr.wfo(utra::trng::SFR_DRRESEED_SFR_DRRESEED, baz); + + let foo = trng_csr.r(utra::trng::SFR_BUF); + trng_csr.wo(utra::trng::SFR_BUF, foo); + let bar = trng_csr.rf(utra::trng::SFR_BUF_SFR_BUF); + trng_csr.rmwf(utra::trng::SFR_BUF_SFR_BUF, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_BUF_SFR_BUF, bar); + baz |= trng_csr.ms(utra::trng::SFR_BUF_SFR_BUF, 1); + trng_csr.wfo(utra::trng::SFR_BUF_SFR_BUF, baz); + let foo = trng_csr.r(utra::trng::SFR_CHAIN_RNGCHAINEN0); trng_csr.wo(utra::trng::SFR_CHAIN_RNGCHAINEN0, foo); let bar = trng_csr.rf(utra::trng::SFR_CHAIN_RNGCHAINEN0_RNGCHAINEN0); @@ -15903,6 +15937,22 @@ mod tests { baz |= sysctrl_csr.ms(utra::sysctrl::SFR_CGULP_SFR_CGULP, 1); sysctrl_csr.wfo(utra::sysctrl::SFR_CGULP_SFR_CGULP, baz); + let foo = sysctrl_csr.r(utra::sysctrl::SFR_SEED); + sysctrl_csr.wo(utra::sysctrl::SFR_SEED, foo); + let bar = sysctrl_csr.rf(utra::sysctrl::SFR_SEED_SFR_SEED); + sysctrl_csr.rmwf(utra::sysctrl::SFR_SEED_SFR_SEED, bar); + let mut baz = sysctrl_csr.zf(utra::sysctrl::SFR_SEED_SFR_SEED, bar); + baz |= sysctrl_csr.ms(utra::sysctrl::SFR_SEED_SFR_SEED, 1); + sysctrl_csr.wfo(utra::sysctrl::SFR_SEED_SFR_SEED, baz); + + let foo = sysctrl_csr.r(utra::sysctrl::SFR_SEEDAR); + sysctrl_csr.wo(utra::sysctrl::SFR_SEEDAR, foo); + let bar = sysctrl_csr.rf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR); + sysctrl_csr.rmwf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, bar); + let mut baz = sysctrl_csr.zf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, bar); + baz |= sysctrl_csr.ms(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, 1); + sysctrl_csr.wfo(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, baz); + let foo = sysctrl_csr.r(utra::sysctrl::SFR_CGUSEL0); sysctrl_csr.wo(utra::sysctrl::SFR_CGUSEL0, foo); let bar = sysctrl_csr.rf(utra::sysctrl::SFR_CGUSEL0_SFR_CGUSEL0); @@ -16229,6 +16279,38 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL7_CRAFSEL7, 1); iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL7_CRAFSEL7, baz); + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL8); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL8, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL9); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL9, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL10); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL10, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL11); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL11, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, baz); + let foo = iox_csr.r(utra::iox::SFR_INTCR_CRINT0); iox_csr.wo(utra::iox::SFR_INTCR_CRINT0, foo); let bar = iox_csr.rf(utra::iox::SFR_INTCR_CRINT0_CRINT0); @@ -16333,6 +16415,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO3_CRGO3, 1); iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO3_CRGO3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOUT_CRGO4); + iox_csr.wo(utra::iox::SFR_GPIOOUT_CRGO4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4); + iox_csr.rmwf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOOUT_CRGO5); + iox_csr.wo(utra::iox::SFR_GPIOOUT_CRGO5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5); + iox_csr.rmwf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE0); iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE0_CRGOE0); @@ -16365,6 +16463,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE3_CRGOE3, 1); iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE3_CRGOE3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE4); + iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4); + iox_csr.rmwf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE5); + iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5); + iox_csr.rmwf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU0); iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU0_CRGPU0); @@ -16397,6 +16511,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU3_CRGPU3, 1); iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU3_CRGPU3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU4); + iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4); + iox_csr.rmwf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU5); + iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5); + iox_csr.rmwf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI0); iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI0_SRGI0); @@ -16429,6 +16559,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI3_SRGI3, 1); iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI3_SRGI3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI4); + iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4); + iox_csr.rmwf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI5); + iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5); + iox_csr.rmwf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, baz); + let foo = iox_csr.r(utra::iox::SFR_PIOSEL); iox_csr.wo(utra::iox::SFR_PIOSEL, foo); let bar = iox_csr.rf(utra::iox::SFR_PIOSEL_PIOSEL); @@ -16469,6 +16615,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3, 1); iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4); + iox_csr.wo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4); + iox_csr.rmwf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5); + iox_csr.wo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5); + iox_csr.rmwf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0); iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0, foo); let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0_CR_CFG_SLEWSLOW0); @@ -16501,6 +16663,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3, 1); iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4); + iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4); + iox_csr.rmwf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5); + iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5); + iox_csr.rmwf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0); iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0, foo); let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0_CR_CFG_DRVSEL0); @@ -16532,6 +16710,22 @@ mod tests { let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, bar); baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, 1); iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4); + iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4); + iox_csr.rmwf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5); + iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5); + iox_csr.rmwf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, baz); } #[test] @@ -19041,6 +19235,14 @@ mod tests { let mut baz = coresub_sramtrm_csr.zf(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, bar); baz |= coresub_sramtrm_csr.ms(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, 1); coresub_sramtrm_csr.wfo(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, baz); + + let foo = coresub_sramtrm_csr.r(utra::coresub_sramtrm::SFR_SRAMERR); + coresub_sramtrm_csr.wo(utra::coresub_sramtrm::SFR_SRAMERR, foo); + let bar = coresub_sramtrm_csr.rf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR); + coresub_sramtrm_csr.rmwf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, bar); + let mut baz = coresub_sramtrm_csr.zf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, bar); + baz |= coresub_sramtrm_csr.ms(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, 1); + coresub_sramtrm_csr.wfo(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, baz); } #[test] @@ -19471,250 +19673,4 @@ mod tests { baz |= gluechain_csr.ms(utra::gluechain::SFR_GCTEST_GLUETEST, 1); gluechain_csr.wfo(utra::gluechain::SFR_GCTEST_GLUETEST, baz); } - - #[test] - #[ignore] - fn compile_check_mesh_csr() { - use super::*; - let mut mesh_csr = CSR::new(HW_MESH_BASE as *mut u32); - - let foo = mesh_csr.r(utra::mesh::SFR_MLDRV_CR_MLDRV0); - mesh_csr.wo(utra::mesh::SFR_MLDRV_CR_MLDRV0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0); - mesh_csr.rmwf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLIE_CR_MLIE0); - mesh_csr.wo(utra::mesh::SFR_MLIE_CR_MLIE0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0); - mesh_csr.rmwf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR0); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR1); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR1, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR2); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR2, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR3); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR3, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR4); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR4, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR5); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR5, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR6); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR6, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR7); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR7, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, baz); - } - - #[test] - #[ignore] - fn compile_check_sensorc_csr() { - use super::*; - let mut sensorc_csr = CSR::new(HW_SENSORC_BASE as *mut u32); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDMASK0); - sensorc_csr.wo(utra::sensorc::SFR_VDMASK0, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0); - sensorc_csr.rmwf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDMASK1); - sensorc_csr.wo(utra::sensorc::SFR_VDMASK1, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1); - sensorc_csr.rmwf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDSR); - sensorc_csr.wo(utra::sensorc::SFR_VDSR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDSR_VDFLAG); - sensorc_csr.rmwf(utra::sensorc::SFR_VDSR_VDFLAG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDSR_VDFLAG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDSR_VDFLAG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDSR_VDFLAG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDFR); - sensorc_csr.wo(utra::sensorc::SFR_VDFR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDFR_VDFLAG); - sensorc_csr.rmwf(utra::sensorc::SFR_VDFR_VDFLAG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDFR_VDFLAG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDFR_VDFLAG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDFR_VDFLAG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDMASK); - sensorc_csr.wo(utra::sensorc::SFR_LDMASK, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDMASK_CR_LDMASK); - sensorc_csr.rmwf(utra::sensorc::SFR_LDMASK_CR_LDMASK, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDMASK_CR_LDMASK, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDMASK_CR_LDMASK, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDMASK_CR_LDMASK, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDSR); - sensorc_csr.wo(utra::sensorc::SFR_LDSR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDSR_SR_LDSR); - sensorc_csr.rmwf(utra::sensorc::SFR_LDSR_SR_LDSR, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDSR_SR_LDSR, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDSR_SR_LDSR, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDSR_SR_LDSR, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDCFG); - sensorc_csr.wo(utra::sensorc::SFR_LDCFG, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDCFG_SFR_LDCFG); - sensorc_csr.rmwf(utra::sensorc::SFR_LDCFG_SFR_LDCFG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDCFG_SFR_LDCFG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDCFG_SFR_LDCFG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDCFG_SFR_LDCFG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG0); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG0, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG1); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG1, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG2); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG2, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG3); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG3, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG4); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG4, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG5); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG5, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG6); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG6, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG7); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG7, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDIP_ENA); - sensorc_csr.wo(utra::sensorc::SFR_VDIP_ENA, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDIP_ENA_VDENA); - sensorc_csr.rmwf(utra::sensorc::SFR_VDIP_ENA_VDENA, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDIP_ENA_VDENA, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDIP_ENA_VDENA, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDIP_ENA_VDENA, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDIP_TEST); - sensorc_csr.wo(utra::sensorc::SFR_VDIP_TEST, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDIP_TEST_VDTST); - sensorc_csr.rmwf(utra::sensorc::SFR_VDIP_TEST_VDTST, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDIP_TEST_VDTST, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDIP_TEST_VDTST, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDIP_TEST_VDTST, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDIP_TEST); - sensorc_csr.wo(utra::sensorc::SFR_LDIP_TEST, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDIP_TEST_LDTST); - sensorc_csr.rmwf(utra::sensorc::SFR_LDIP_TEST_LDTST, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDIP_TEST_LDTST, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDIP_TEST_LDTST, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDIP_TEST_LDTST, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDIP_FD); - sensorc_csr.wo(utra::sensorc::SFR_LDIP_FD, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD); - sensorc_csr.rmwf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, baz); - } } diff --git a/utralib/src/generated/cramium_soc.rs b/utralib/src/generated/cramium_soc.rs index ce9a3c8d5..446879a6e 100644 --- a/utralib/src/generated/cramium_soc.rs +++ b/utralib/src/generated/cramium_soc.rs @@ -1,4 +1,5 @@ +#![cfg_attr(rustfmt, rustfmt_skip)] // don't format generated files #![allow(dead_code)] use core::convert::TryInto; #[cfg(feature="std")] @@ -389,8 +390,6 @@ pub const HW_MDMA_BASE : usize = 0x40012000; pub const HW_QFC_BASE : usize = 0x40010000; pub const HW_MBOX_APB_BASE : usize = 0x40013000; pub const HW_GLUECHAIN_BASE : usize = 0x40054000; -pub const HW_MESH_BASE : usize = 0x40052000; -pub const HW_SENSORC_BASE : usize = 0x40053000; pub mod utra { @@ -2746,9 +2745,10 @@ pub mod utra { pub const REG_TX_CFG_R_TX_EN: crate::Field = crate::Field::new(1, 4, REG_TX_CFG); pub const REG_TX_CFG_R_TX_CLR: crate::Field = crate::Field::new(1, 5, REG_TX_CFG); - pub const REG_CMD_OP: crate::Register = crate::Register::new(8, 0x3f07); + pub const REG_CMD_OP: crate::Register = crate::Register::new(8, 0x33f07); pub const REG_CMD_OP_R_CMD_RSP_TYPE: crate::Field = crate::Field::new(3, 0, REG_CMD_OP); pub const REG_CMD_OP_R_CMD_OP: crate::Field = crate::Field::new(6, 8, REG_CMD_OP); + pub const REG_CMD_OP_R_CMD_STOPOPT: crate::Field = crate::Field::new(2, 16, REG_CMD_OP); pub const REG_DATA_SETUP: crate::Register = crate::Register::new(10, 0x3ffff07); pub const REG_DATA_SETUP_R_DATA_EN: crate::Field = crate::Field::new(1, 0, REG_DATA_SETUP); @@ -3124,7 +3124,7 @@ pub mod utra { } pub mod aes { - pub const AES_NUMREGS: usize = 11; + pub const AES_NUMREGS: usize = 13; pub const SFR_CRFUNC: crate::Register = crate::Register::new(0, 0xff); pub const SFR_CRFUNC_SFR_CRFUNC: crate::Field = crate::Field::new(8, 0, SFR_CRFUNC); @@ -3149,8 +3149,14 @@ pub mod utra { pub const SFR_OPT1: crate::Register = crate::Register::new(5, 0xffff); pub const SFR_OPT1_SFR_OPT1: crate::Field = crate::Field::new(16, 0, SFR_OPT1); - pub const SFR_OPTLTX: crate::Register = crate::Register::new(6, 0xf); - pub const SFR_OPTLTX_SFR_OPTLTX: crate::Field = crate::Field::new(4, 0, SFR_OPTLTX); + pub const SFR_OPTLTX: crate::Register = crate::Register::new(6, 0x3f); + pub const SFR_OPTLTX_SFR_OPTLTX: crate::Field = crate::Field::new(6, 0, SFR_OPTLTX); + + pub const SFR_MASKSEED: crate::Register = crate::Register::new(8, 0xffffffff); + pub const SFR_MASKSEED_SFR_MASKSEED: crate::Field = crate::Field::new(32, 0, SFR_MASKSEED); + + pub const SFR_MASKSEEDAR: crate::Register = crate::Register::new(9, 0xffffffff); + pub const SFR_MASKSEEDAR_SFR_MASKSEEDAR: crate::Field = crate::Field::new(32, 0, SFR_MASKSEEDAR); pub const SFR_SEGPTR_PTRID_IV: crate::Register = crate::Register::new(12, 0xfff); pub const SFR_SEGPTR_PTRID_IV_PTRID_IV: crate::Field = crate::Field::new(12, 0, SFR_SEGPTR_PTRID_IV); @@ -3397,7 +3403,7 @@ pub mod utra { } pub mod trng { - pub const TRNG_NUMREGS: usize = 9; + pub const TRNG_NUMREGS: usize = 13; pub const SFR_CRSRC: crate::Register = crate::Register::new(0, 0xfff); pub const SFR_CRSRC_SFR_CRSRC: crate::Field = crate::Field::new(12, 0, SFR_CRSRC); @@ -3420,6 +3426,18 @@ pub mod utra { pub const SFR_FR: crate::Register = crate::Register::new(6, 0x3); pub const SFR_FR_SFR_FR: crate::Field = crate::Field::new(2, 0, SFR_FR); + pub const SFR_DRPSZ: crate::Register = crate::Register::new(8, 0xffffffff); + pub const SFR_DRPSZ_SFR_DRPSZ: crate::Field = crate::Field::new(32, 0, SFR_DRPSZ); + + pub const SFR_DRGEN: crate::Register = crate::Register::new(9, 0xffffffff); + pub const SFR_DRGEN_SFR_DRGEN: crate::Field = crate::Field::new(32, 0, SFR_DRGEN); + + pub const SFR_DRRESEED: crate::Register = crate::Register::new(10, 0xffffffff); + pub const SFR_DRRESEED_SFR_DRRESEED: crate::Field = crate::Field::new(32, 0, SFR_DRRESEED); + + pub const SFR_BUF: crate::Register = crate::Register::new(12, 0xffffffff); + pub const SFR_BUF_SFR_BUF: crate::Field = crate::Field::new(32, 0, SFR_BUF); + pub const SFR_CHAIN_RNGCHAINEN0: crate::Register = crate::Register::new(16, 0xffffffff); pub const SFR_CHAIN_RNGCHAINEN0_RNGCHAINEN0: crate::Field = crate::Field::new(32, 0, SFR_CHAIN_RNGCHAINEN0); @@ -3538,7 +3556,7 @@ pub mod utra { } pub mod sysctrl { - pub const SYSCTRL_NUMREGS: usize = 33; + pub const SYSCTRL_NUMREGS: usize = 35; pub const SFR_CGUSEC: crate::Register = crate::Register::new(0, 0xffff); pub const SFR_CGUSEC_SFR_CGUSEC: crate::Field = crate::Field::new(16, 0, SFR_CGUSEC); @@ -3546,6 +3564,12 @@ pub mod utra { pub const SFR_CGULP: crate::Register = crate::Register::new(1, 0xffff); pub const SFR_CGULP_SFR_CGULP: crate::Field = crate::Field::new(16, 0, SFR_CGULP); + pub const SFR_SEED: crate::Register = crate::Register::new(2, 0xffffffff); + pub const SFR_SEED_SFR_SEED: crate::Field = crate::Field::new(32, 0, SFR_SEED); + + pub const SFR_SEEDAR: crate::Register = crate::Register::new(3, 0xffffffff); + pub const SFR_SEEDAR_SFR_SEEDAR: crate::Field = crate::Field::new(32, 0, SFR_SEEDAR); + pub const SFR_CGUSEL0: crate::Register = crate::Register::new(4, 0x3); pub const SFR_CGUSEL0_SFR_CGUSEL0: crate::Field = crate::Field::new(2, 0, SFR_CGUSEL0); @@ -3649,7 +3673,7 @@ pub mod utra { } pub mod iox { - pub const IOX_NUMREGS: usize = 46; + pub const IOX_NUMREGS: usize = 64; pub const SFR_AFSEL_CRAFSEL0: crate::Register = crate::Register::new(0, 0xffff); pub const SFR_AFSEL_CRAFSEL0_CRAFSEL0: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL0); @@ -3675,6 +3699,18 @@ pub mod utra { pub const SFR_AFSEL_CRAFSEL7: crate::Register = crate::Register::new(7, 0xffff); pub const SFR_AFSEL_CRAFSEL7_CRAFSEL7: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL7); + pub const SFR_AFSEL_CRAFSEL8: crate::Register = crate::Register::new(8, 0xffff); + pub const SFR_AFSEL_CRAFSEL8_CRAFSEL8: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL8); + + pub const SFR_AFSEL_CRAFSEL9: crate::Register = crate::Register::new(9, 0xffff); + pub const SFR_AFSEL_CRAFSEL9_CRAFSEL9: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL9); + + pub const SFR_AFSEL_CRAFSEL10: crate::Register = crate::Register::new(10, 0xffff); + pub const SFR_AFSEL_CRAFSEL10_CRAFSEL10: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL10); + + pub const SFR_AFSEL_CRAFSEL11: crate::Register = crate::Register::new(11, 0xffff); + pub const SFR_AFSEL_CRAFSEL11_CRAFSEL11: crate::Field = crate::Field::new(16, 0, SFR_AFSEL_CRAFSEL11); + pub const SFR_INTCR_CRINT0: crate::Register = crate::Register::new(64, 0x3ff); pub const SFR_INTCR_CRINT0_CRINT0: crate::Field = crate::Field::new(10, 0, SFR_INTCR_CRINT0); @@ -3714,42 +3750,66 @@ pub mod utra { pub const SFR_GPIOOUT_CRGO3: crate::Register = crate::Register::new(79, 0xffff); pub const SFR_GPIOOUT_CRGO3_CRGO3: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO3); - pub const SFR_GPIOOE_CRGOE0: crate::Register = crate::Register::new(80, 0xffff); + pub const SFR_GPIOOUT_CRGO4: crate::Register = crate::Register::new(80, 0xffff); + pub const SFR_GPIOOUT_CRGO4_CRGO4: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO4); + + pub const SFR_GPIOOUT_CRGO5: crate::Register = crate::Register::new(81, 0xffff); + pub const SFR_GPIOOUT_CRGO5_CRGO5: crate::Field = crate::Field::new(16, 0, SFR_GPIOOUT_CRGO5); + + pub const SFR_GPIOOE_CRGOE0: crate::Register = crate::Register::new(82, 0xffff); pub const SFR_GPIOOE_CRGOE0_CRGOE0: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE0); - pub const SFR_GPIOOE_CRGOE1: crate::Register = crate::Register::new(81, 0xffff); + pub const SFR_GPIOOE_CRGOE1: crate::Register = crate::Register::new(83, 0xffff); pub const SFR_GPIOOE_CRGOE1_CRGOE1: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE1); - pub const SFR_GPIOOE_CRGOE2: crate::Register = crate::Register::new(82, 0xffff); + pub const SFR_GPIOOE_CRGOE2: crate::Register = crate::Register::new(84, 0xffff); pub const SFR_GPIOOE_CRGOE2_CRGOE2: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE2); - pub const SFR_GPIOOE_CRGOE3: crate::Register = crate::Register::new(83, 0xffff); + pub const SFR_GPIOOE_CRGOE3: crate::Register = crate::Register::new(85, 0xffff); pub const SFR_GPIOOE_CRGOE3_CRGOE3: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE3); - pub const SFR_GPIOPU_CRGPU0: crate::Register = crate::Register::new(84, 0xffff); + pub const SFR_GPIOOE_CRGOE4: crate::Register = crate::Register::new(86, 0xffff); + pub const SFR_GPIOOE_CRGOE4_CRGOE4: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE4); + + pub const SFR_GPIOOE_CRGOE5: crate::Register = crate::Register::new(87, 0xffff); + pub const SFR_GPIOOE_CRGOE5_CRGOE5: crate::Field = crate::Field::new(16, 0, SFR_GPIOOE_CRGOE5); + + pub const SFR_GPIOPU_CRGPU0: crate::Register = crate::Register::new(88, 0xffff); pub const SFR_GPIOPU_CRGPU0_CRGPU0: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU0); - pub const SFR_GPIOPU_CRGPU1: crate::Register = crate::Register::new(85, 0xffff); + pub const SFR_GPIOPU_CRGPU1: crate::Register = crate::Register::new(89, 0xffff); pub const SFR_GPIOPU_CRGPU1_CRGPU1: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU1); - pub const SFR_GPIOPU_CRGPU2: crate::Register = crate::Register::new(86, 0xffff); + pub const SFR_GPIOPU_CRGPU2: crate::Register = crate::Register::new(90, 0xffff); pub const SFR_GPIOPU_CRGPU2_CRGPU2: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU2); - pub const SFR_GPIOPU_CRGPU3: crate::Register = crate::Register::new(87, 0xffff); + pub const SFR_GPIOPU_CRGPU3: crate::Register = crate::Register::new(91, 0xffff); pub const SFR_GPIOPU_CRGPU3_CRGPU3: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU3); - pub const SFR_GPIOIN_SRGI0: crate::Register = crate::Register::new(88, 0xffff); + pub const SFR_GPIOPU_CRGPU4: crate::Register = crate::Register::new(92, 0xffff); + pub const SFR_GPIOPU_CRGPU4_CRGPU4: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU4); + + pub const SFR_GPIOPU_CRGPU5: crate::Register = crate::Register::new(93, 0xffff); + pub const SFR_GPIOPU_CRGPU5_CRGPU5: crate::Field = crate::Field::new(16, 0, SFR_GPIOPU_CRGPU5); + + pub const SFR_GPIOIN_SRGI0: crate::Register = crate::Register::new(94, 0xffff); pub const SFR_GPIOIN_SRGI0_SRGI0: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI0); - pub const SFR_GPIOIN_SRGI1: crate::Register = crate::Register::new(89, 0xffff); + pub const SFR_GPIOIN_SRGI1: crate::Register = crate::Register::new(95, 0xffff); pub const SFR_GPIOIN_SRGI1_SRGI1: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI1); - pub const SFR_GPIOIN_SRGI2: crate::Register = crate::Register::new(90, 0xffff); + pub const SFR_GPIOIN_SRGI2: crate::Register = crate::Register::new(96, 0xffff); pub const SFR_GPIOIN_SRGI2_SRGI2: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI2); - pub const SFR_GPIOIN_SRGI3: crate::Register = crate::Register::new(91, 0xffff); + pub const SFR_GPIOIN_SRGI3: crate::Register = crate::Register::new(97, 0xffff); pub const SFR_GPIOIN_SRGI3_SRGI3: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI3); + pub const SFR_GPIOIN_SRGI4: crate::Register = crate::Register::new(98, 0xffff); + pub const SFR_GPIOIN_SRGI4_SRGI4: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI4); + + pub const SFR_GPIOIN_SRGI5: crate::Register = crate::Register::new(99, 0xffff); + pub const SFR_GPIOIN_SRGI5_SRGI5: crate::Field = crate::Field::new(16, 0, SFR_GPIOIN_SRGI5); + pub const SFR_PIOSEL: crate::Register = crate::Register::new(128, 0xffffffff); pub const SFR_PIOSEL_PIOSEL: crate::Field = crate::Field::new(32, 0, SFR_PIOSEL); @@ -3765,30 +3825,48 @@ pub mod utra { pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL3: crate::Register = crate::Register::new(143, 0xffff); pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL3); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0: crate::Register = crate::Register::new(144, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL4: crate::Register = crate::Register::new(144, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL4); + + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL5: crate::Register = crate::Register::new(145, 0xffff); + pub const SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5: crate::Field = crate::Field::new(16, 0, SFR_CFG_SCHM_CR_CFG_SCHMSEL5); + + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0: crate::Register = crate::Register::new(146, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW0_CR_CFG_SLEWSLOW0: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW0); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1: crate::Register = crate::Register::new(145, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1: crate::Register = crate::Register::new(147, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW1_CR_CFG_SLEWSLOW1: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW1); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2: crate::Register = crate::Register::new(146, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2: crate::Register = crate::Register::new(148, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW2_CR_CFG_SLEWSLOW2: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW2); - pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3: crate::Register = crate::Register::new(147, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3: crate::Register = crate::Register::new(149, 0xffff); pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW3); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0: crate::Register = crate::Register::new(148, 0xffffffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW4: crate::Register = crate::Register::new(150, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW4); + + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW5: crate::Register = crate::Register::new(151, 0xffff); + pub const SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5: crate::Field = crate::Field::new(16, 0, SFR_CFG_SLEW_CR_CFG_SLEWSLOW5); + + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0: crate::Register = crate::Register::new(152, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL0_CR_CFG_DRVSEL0: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL0); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1: crate::Register = crate::Register::new(149, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1: crate::Register = crate::Register::new(153, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL1_CR_CFG_DRVSEL1: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL1); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2: crate::Register = crate::Register::new(150, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2: crate::Register = crate::Register::new(154, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL2_CR_CFG_DRVSEL2: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL2); - pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3: crate::Register = crate::Register::new(151, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3: crate::Register = crate::Register::new(155, 0xffffffff); pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL3); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL4: crate::Register = crate::Register::new(156, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL4); + + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL5: crate::Register = crate::Register::new(157, 0xffffffff); + pub const SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5: crate::Field = crate::Field::new(32, 0, SFR_CFG_DRVSEL_CR_CFG_DRVSEL5); + pub const HW_IOX_BASE: usize = 0x5012f000; } @@ -4579,7 +4657,7 @@ pub mod utra { } pub mod coresub_sramtrm { - pub const CORESUB_SRAMTRM_NUMREGS: usize = 6; + pub const CORESUB_SRAMTRM_NUMREGS: usize = 7; pub const SFR_CACHE: crate::Register = crate::Register::new(0, 0x7); pub const SFR_CACHE_SFR_CACHE: crate::Field = crate::Field::new(3, 0, SFR_CACHE); @@ -4599,6 +4677,9 @@ pub mod utra { pub const SFR_VEXRAM: crate::Register = crate::Register::new(5, 0x7); pub const SFR_VEXRAM_SFR_VEXRAM: crate::Field = crate::Field::new(3, 0, SFR_VEXRAM); + pub const SFR_SRAMERR: crate::Register = crate::Register::new(8, 0xf); + pub const SFR_SRAMERR_SRAMBANKERR: crate::Field = crate::Field::new(4, 0, SFR_SRAMERR); + pub const HW_CORESUB_SRAMTRM_BASE: usize = 0x40014000; } @@ -4771,105 +4852,6 @@ pub mod utra { pub const HW_GLUECHAIN_BASE: usize = 0x40054000; } - - pub mod mesh { - pub const MESH_NUMREGS: usize = 10; - - pub const SFR_MLDRV_CR_MLDRV0: crate::Register = crate::Register::new(0, 0xffffffff); - pub const SFR_MLDRV_CR_MLDRV0_CR_MLDRV0: crate::Field = crate::Field::new(32, 0, SFR_MLDRV_CR_MLDRV0); - - pub const SFR_MLIE_CR_MLIE0: crate::Register = crate::Register::new(1, 0xffffffff); - pub const SFR_MLIE_CR_MLIE0_CR_MLIE0: crate::Field = crate::Field::new(32, 0, SFR_MLIE_CR_MLIE0); - - pub const SFR_MLSR_SR_MLSR0: crate::Register = crate::Register::new(2, 0xffffffff); - pub const SFR_MLSR_SR_MLSR0_SR_MLSR0: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR0); - - pub const SFR_MLSR_SR_MLSR1: crate::Register = crate::Register::new(3, 0xffffffff); - pub const SFR_MLSR_SR_MLSR1_SR_MLSR1: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR1); - - pub const SFR_MLSR_SR_MLSR2: crate::Register = crate::Register::new(4, 0xffffffff); - pub const SFR_MLSR_SR_MLSR2_SR_MLSR2: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR2); - - pub const SFR_MLSR_SR_MLSR3: crate::Register = crate::Register::new(5, 0xffffffff); - pub const SFR_MLSR_SR_MLSR3_SR_MLSR3: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR3); - - pub const SFR_MLSR_SR_MLSR4: crate::Register = crate::Register::new(6, 0xffffffff); - pub const SFR_MLSR_SR_MLSR4_SR_MLSR4: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR4); - - pub const SFR_MLSR_SR_MLSR5: crate::Register = crate::Register::new(7, 0xffffffff); - pub const SFR_MLSR_SR_MLSR5_SR_MLSR5: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR5); - - pub const SFR_MLSR_SR_MLSR6: crate::Register = crate::Register::new(8, 0xffffffff); - pub const SFR_MLSR_SR_MLSR6_SR_MLSR6: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR6); - - pub const SFR_MLSR_SR_MLSR7: crate::Register = crate::Register::new(9, 0xffffffff); - pub const SFR_MLSR_SR_MLSR7_SR_MLSR7: crate::Field = crate::Field::new(32, 0, SFR_MLSR_SR_MLSR7); - - pub const HW_MESH_BASE: usize = 0x40052000; - } - - pub mod sensorc { - pub const SENSORC_NUMREGS: usize = 19; - - pub const SFR_VDMASK0: crate::Register = crate::Register::new(0, 0xff); - pub const SFR_VDMASK0_CR_VDMASK0: crate::Field = crate::Field::new(8, 0, SFR_VDMASK0); - - pub const SFR_VDMASK1: crate::Register = crate::Register::new(1, 0xff); - pub const SFR_VDMASK1_CR_VDMASK1: crate::Field = crate::Field::new(8, 0, SFR_VDMASK1); - - pub const SFR_VDSR: crate::Register = crate::Register::new(2, 0xff); - pub const SFR_VDSR_VDFLAG: crate::Field = crate::Field::new(8, 0, SFR_VDSR); - - pub const SFR_VDFR: crate::Register = crate::Register::new(3, 0xff); - pub const SFR_VDFR_VDFLAG: crate::Field = crate::Field::new(8, 0, SFR_VDFR); - - pub const SFR_LDMASK: crate::Register = crate::Register::new(4, 0xf); - pub const SFR_LDMASK_CR_LDMASK: crate::Field = crate::Field::new(4, 0, SFR_LDMASK); - - pub const SFR_LDSR: crate::Register = crate::Register::new(5, 0xf); - pub const SFR_LDSR_SR_LDSR: crate::Field = crate::Field::new(4, 0, SFR_LDSR); - - pub const SFR_LDCFG: crate::Register = crate::Register::new(6, 0xf); - pub const SFR_LDCFG_SFR_LDCFG: crate::Field = crate::Field::new(4, 0, SFR_LDCFG); - - pub const SFR_VDCFG_CR_VDCFG0: crate::Register = crate::Register::new(8, 0xf); - pub const SFR_VDCFG_CR_VDCFG0_CR_VDCFG0: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG0); - - pub const SFR_VDCFG_CR_VDCFG1: crate::Register = crate::Register::new(9, 0xf); - pub const SFR_VDCFG_CR_VDCFG1_CR_VDCFG1: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG1); - - pub const SFR_VDCFG_CR_VDCFG2: crate::Register = crate::Register::new(10, 0xf); - pub const SFR_VDCFG_CR_VDCFG2_CR_VDCFG2: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG2); - - pub const SFR_VDCFG_CR_VDCFG3: crate::Register = crate::Register::new(11, 0xf); - pub const SFR_VDCFG_CR_VDCFG3_CR_VDCFG3: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG3); - - pub const SFR_VDCFG_CR_VDCFG4: crate::Register = crate::Register::new(12, 0xf); - pub const SFR_VDCFG_CR_VDCFG4_CR_VDCFG4: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG4); - - pub const SFR_VDCFG_CR_VDCFG5: crate::Register = crate::Register::new(13, 0xf); - pub const SFR_VDCFG_CR_VDCFG5_CR_VDCFG5: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG5); - - pub const SFR_VDCFG_CR_VDCFG6: crate::Register = crate::Register::new(14, 0xf); - pub const SFR_VDCFG_CR_VDCFG6_CR_VDCFG6: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG6); - - pub const SFR_VDCFG_CR_VDCFG7: crate::Register = crate::Register::new(15, 0xf); - pub const SFR_VDCFG_CR_VDCFG7_CR_VDCFG7: crate::Field = crate::Field::new(4, 0, SFR_VDCFG_CR_VDCFG7); - - pub const SFR_VDIP_ENA: crate::Register = crate::Register::new(16, 0xf); - pub const SFR_VDIP_ENA_VDENA: crate::Field = crate::Field::new(4, 0, SFR_VDIP_ENA); - - pub const SFR_VDIP_TEST: crate::Register = crate::Register::new(17, 0xff); - pub const SFR_VDIP_TEST_VDTST: crate::Field = crate::Field::new(8, 0, SFR_VDIP_TEST); - - pub const SFR_LDIP_TEST: crate::Register = crate::Register::new(18, 0xf); - pub const SFR_LDIP_TEST_LDTST: crate::Field = crate::Field::new(4, 0, SFR_LDIP_TEST); - - pub const SFR_LDIP_FD: crate::Register = crate::Register::new(19, 0xffff); - pub const SFR_LDIP_FD_SFR_LDIP_FD: crate::Field = crate::Field::new(16, 0, SFR_LDIP_FD); - - pub const HW_SENSORC_BASE: usize = 0x40053000; - } } // Litex auto-generated constants @@ -13230,6 +13212,11 @@ mod tests { let mut baz = udma_sdio_csr.zf(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, bar); baz |= udma_sdio_csr.ms(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, 1); udma_sdio_csr.wfo(utra::udma_sdio::REG_CMD_OP_R_CMD_OP, baz); + let bar = udma_sdio_csr.rf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT); + udma_sdio_csr.rmwf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, bar); + let mut baz = udma_sdio_csr.zf(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, bar); + baz |= udma_sdio_csr.ms(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, 1); + udma_sdio_csr.wfo(utra::udma_sdio::REG_CMD_OP_R_CMD_STOPOPT, baz); let foo = udma_sdio_csr.r(utra::udma_sdio::REG_DATA_SETUP); udma_sdio_csr.wo(utra::udma_sdio::REG_DATA_SETUP, foo); @@ -14392,6 +14379,22 @@ mod tests { baz |= aes_csr.ms(utra::aes::SFR_OPTLTX_SFR_OPTLTX, 1); aes_csr.wfo(utra::aes::SFR_OPTLTX_SFR_OPTLTX, baz); + let foo = aes_csr.r(utra::aes::SFR_MASKSEED); + aes_csr.wo(utra::aes::SFR_MASKSEED, foo); + let bar = aes_csr.rf(utra::aes::SFR_MASKSEED_SFR_MASKSEED); + aes_csr.rmwf(utra::aes::SFR_MASKSEED_SFR_MASKSEED, bar); + let mut baz = aes_csr.zf(utra::aes::SFR_MASKSEED_SFR_MASKSEED, bar); + baz |= aes_csr.ms(utra::aes::SFR_MASKSEED_SFR_MASKSEED, 1); + aes_csr.wfo(utra::aes::SFR_MASKSEED_SFR_MASKSEED, baz); + + let foo = aes_csr.r(utra::aes::SFR_MASKSEEDAR); + aes_csr.wo(utra::aes::SFR_MASKSEEDAR, foo); + let bar = aes_csr.rf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR); + aes_csr.rmwf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, bar); + let mut baz = aes_csr.zf(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, bar); + baz |= aes_csr.ms(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, 1); + aes_csr.wfo(utra::aes::SFR_MASKSEEDAR_SFR_MASKSEEDAR, baz); + let foo = aes_csr.r(utra::aes::SFR_SEGPTR_PTRID_IV); aes_csr.wo(utra::aes::SFR_SEGPTR_PTRID_IV, foo); let bar = aes_csr.rf(utra::aes::SFR_SEGPTR_PTRID_IV_PTRID_IV); @@ -15092,6 +15095,38 @@ mod tests { baz |= trng_csr.ms(utra::trng::SFR_FR_SFR_FR, 1); trng_csr.wfo(utra::trng::SFR_FR_SFR_FR, baz); + let foo = trng_csr.r(utra::trng::SFR_DRPSZ); + trng_csr.wo(utra::trng::SFR_DRPSZ, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRPSZ_SFR_DRPSZ); + trng_csr.rmwf(utra::trng::SFR_DRPSZ_SFR_DRPSZ, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRPSZ_SFR_DRPSZ, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRPSZ_SFR_DRPSZ, 1); + trng_csr.wfo(utra::trng::SFR_DRPSZ_SFR_DRPSZ, baz); + + let foo = trng_csr.r(utra::trng::SFR_DRGEN); + trng_csr.wo(utra::trng::SFR_DRGEN, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRGEN_SFR_DRGEN); + trng_csr.rmwf(utra::trng::SFR_DRGEN_SFR_DRGEN, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRGEN_SFR_DRGEN, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRGEN_SFR_DRGEN, 1); + trng_csr.wfo(utra::trng::SFR_DRGEN_SFR_DRGEN, baz); + + let foo = trng_csr.r(utra::trng::SFR_DRRESEED); + trng_csr.wo(utra::trng::SFR_DRRESEED, foo); + let bar = trng_csr.rf(utra::trng::SFR_DRRESEED_SFR_DRRESEED); + trng_csr.rmwf(utra::trng::SFR_DRRESEED_SFR_DRRESEED, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_DRRESEED_SFR_DRRESEED, bar); + baz |= trng_csr.ms(utra::trng::SFR_DRRESEED_SFR_DRRESEED, 1); + trng_csr.wfo(utra::trng::SFR_DRRESEED_SFR_DRRESEED, baz); + + let foo = trng_csr.r(utra::trng::SFR_BUF); + trng_csr.wo(utra::trng::SFR_BUF, foo); + let bar = trng_csr.rf(utra::trng::SFR_BUF_SFR_BUF); + trng_csr.rmwf(utra::trng::SFR_BUF_SFR_BUF, bar); + let mut baz = trng_csr.zf(utra::trng::SFR_BUF_SFR_BUF, bar); + baz |= trng_csr.ms(utra::trng::SFR_BUF_SFR_BUF, 1); + trng_csr.wfo(utra::trng::SFR_BUF_SFR_BUF, baz); + let foo = trng_csr.r(utra::trng::SFR_CHAIN_RNGCHAINEN0); trng_csr.wo(utra::trng::SFR_CHAIN_RNGCHAINEN0, foo); let bar = trng_csr.rf(utra::trng::SFR_CHAIN_RNGCHAINEN0_RNGCHAINEN0); @@ -15374,6 +15409,22 @@ mod tests { baz |= sysctrl_csr.ms(utra::sysctrl::SFR_CGULP_SFR_CGULP, 1); sysctrl_csr.wfo(utra::sysctrl::SFR_CGULP_SFR_CGULP, baz); + let foo = sysctrl_csr.r(utra::sysctrl::SFR_SEED); + sysctrl_csr.wo(utra::sysctrl::SFR_SEED, foo); + let bar = sysctrl_csr.rf(utra::sysctrl::SFR_SEED_SFR_SEED); + sysctrl_csr.rmwf(utra::sysctrl::SFR_SEED_SFR_SEED, bar); + let mut baz = sysctrl_csr.zf(utra::sysctrl::SFR_SEED_SFR_SEED, bar); + baz |= sysctrl_csr.ms(utra::sysctrl::SFR_SEED_SFR_SEED, 1); + sysctrl_csr.wfo(utra::sysctrl::SFR_SEED_SFR_SEED, baz); + + let foo = sysctrl_csr.r(utra::sysctrl::SFR_SEEDAR); + sysctrl_csr.wo(utra::sysctrl::SFR_SEEDAR, foo); + let bar = sysctrl_csr.rf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR); + sysctrl_csr.rmwf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, bar); + let mut baz = sysctrl_csr.zf(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, bar); + baz |= sysctrl_csr.ms(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, 1); + sysctrl_csr.wfo(utra::sysctrl::SFR_SEEDAR_SFR_SEEDAR, baz); + let foo = sysctrl_csr.r(utra::sysctrl::SFR_CGUSEL0); sysctrl_csr.wo(utra::sysctrl::SFR_CGUSEL0, foo); let bar = sysctrl_csr.rf(utra::sysctrl::SFR_CGUSEL0_SFR_CGUSEL0); @@ -15700,6 +15751,38 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL7_CRAFSEL7, 1); iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL7_CRAFSEL7, baz); + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL8); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL8, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL8_CRAFSEL8, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL9); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL9, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL9_CRAFSEL9, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL10); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL10, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL10_CRAFSEL10, baz); + + let foo = iox_csr.r(utra::iox::SFR_AFSEL_CRAFSEL11); + iox_csr.wo(utra::iox::SFR_AFSEL_CRAFSEL11, foo); + let bar = iox_csr.rf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11); + iox_csr.rmwf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, bar); + baz |= iox_csr.ms(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, 1); + iox_csr.wfo(utra::iox::SFR_AFSEL_CRAFSEL11_CRAFSEL11, baz); + let foo = iox_csr.r(utra::iox::SFR_INTCR_CRINT0); iox_csr.wo(utra::iox::SFR_INTCR_CRINT0, foo); let bar = iox_csr.rf(utra::iox::SFR_INTCR_CRINT0_CRINT0); @@ -15804,6 +15887,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO3_CRGO3, 1); iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO3_CRGO3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOUT_CRGO4); + iox_csr.wo(utra::iox::SFR_GPIOOUT_CRGO4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4); + iox_csr.rmwf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO4_CRGO4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOOUT_CRGO5); + iox_csr.wo(utra::iox::SFR_GPIOOUT_CRGO5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5); + iox_csr.rmwf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOUT_CRGO5_CRGO5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE0); iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE0_CRGOE0); @@ -15836,6 +15935,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE3_CRGOE3, 1); iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE3_CRGOE3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE4); + iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4); + iox_csr.rmwf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE4_CRGOE4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOOE_CRGOE5); + iox_csr.wo(utra::iox::SFR_GPIOOE_CRGOE5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5); + iox_csr.rmwf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOOE_CRGOE5_CRGOE5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU0); iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU0_CRGPU0); @@ -15868,6 +15983,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU3_CRGPU3, 1); iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU3_CRGPU3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU4); + iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4); + iox_csr.rmwf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU4_CRGPU4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOPU_CRGPU5); + iox_csr.wo(utra::iox::SFR_GPIOPU_CRGPU5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5); + iox_csr.rmwf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOPU_CRGPU5_CRGPU5, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI0); iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI0, foo); let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI0_SRGI0); @@ -15900,6 +16031,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI3_SRGI3, 1); iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI3_SRGI3, baz); + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI4); + iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI4, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4); + iox_csr.rmwf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, 1); + iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI4_SRGI4, baz); + + let foo = iox_csr.r(utra::iox::SFR_GPIOIN_SRGI5); + iox_csr.wo(utra::iox::SFR_GPIOIN_SRGI5, foo); + let bar = iox_csr.rf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5); + iox_csr.rmwf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, bar); + baz |= iox_csr.ms(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, 1); + iox_csr.wfo(utra::iox::SFR_GPIOIN_SRGI5_SRGI5, baz); + let foo = iox_csr.r(utra::iox::SFR_PIOSEL); iox_csr.wo(utra::iox::SFR_PIOSEL, foo); let bar = iox_csr.rf(utra::iox::SFR_PIOSEL_PIOSEL); @@ -15940,6 +16087,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3, 1); iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL3_CR_CFG_SCHMSEL3, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4); + iox_csr.wo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4); + iox_csr.rmwf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL4_CR_CFG_SCHMSEL4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5); + iox_csr.wo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5); + iox_csr.rmwf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SCHM_CR_CFG_SCHMSEL5_CR_CFG_SCHMSEL5, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0); iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0, foo); let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW0_CR_CFG_SLEWSLOW0); @@ -15972,6 +16135,22 @@ mod tests { baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3, 1); iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW3_CR_CFG_SLEWSLOW3, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4); + iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4); + iox_csr.rmwf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW4_CR_CFG_SLEWSLOW4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5); + iox_csr.wo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5); + iox_csr.rmwf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_SLEW_CR_CFG_SLEWSLOW5_CR_CFG_SLEWSLOW5, baz); + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0); iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0, foo); let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL0_CR_CFG_DRVSEL0); @@ -16003,6 +16182,22 @@ mod tests { let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, bar); baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, 1); iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL3_CR_CFG_DRVSEL3, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4); + iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4); + iox_csr.rmwf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, 1); + iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL4_CR_CFG_DRVSEL4, baz); + + let foo = iox_csr.r(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5); + iox_csr.wo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5, foo); + let bar = iox_csr.rf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5); + iox_csr.rmwf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, bar); + let mut baz = iox_csr.zf(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, bar); + baz |= iox_csr.ms(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, 1); + iox_csr.wfo(utra::iox::SFR_CFG_DRVSEL_CR_CFG_DRVSEL5_CR_CFG_DRVSEL5, baz); } #[test] @@ -18512,6 +18707,14 @@ mod tests { let mut baz = coresub_sramtrm_csr.zf(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, bar); baz |= coresub_sramtrm_csr.ms(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, 1); coresub_sramtrm_csr.wfo(utra::coresub_sramtrm::SFR_VEXRAM_SFR_VEXRAM, baz); + + let foo = coresub_sramtrm_csr.r(utra::coresub_sramtrm::SFR_SRAMERR); + coresub_sramtrm_csr.wo(utra::coresub_sramtrm::SFR_SRAMERR, foo); + let bar = coresub_sramtrm_csr.rf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR); + coresub_sramtrm_csr.rmwf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, bar); + let mut baz = coresub_sramtrm_csr.zf(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, bar); + baz |= coresub_sramtrm_csr.ms(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, 1); + coresub_sramtrm_csr.wfo(utra::coresub_sramtrm::SFR_SRAMERR_SRAMBANKERR, baz); } #[test] @@ -18942,250 +19145,4 @@ mod tests { baz |= gluechain_csr.ms(utra::gluechain::SFR_GCTEST_GLUETEST, 1); gluechain_csr.wfo(utra::gluechain::SFR_GCTEST_GLUETEST, baz); } - - #[test] - #[ignore] - fn compile_check_mesh_csr() { - use super::*; - let mut mesh_csr = CSR::new(HW_MESH_BASE as *mut u32); - - let foo = mesh_csr.r(utra::mesh::SFR_MLDRV_CR_MLDRV0); - mesh_csr.wo(utra::mesh::SFR_MLDRV_CR_MLDRV0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0); - mesh_csr.rmwf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLDRV_CR_MLDRV0_CR_MLDRV0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLIE_CR_MLIE0); - mesh_csr.wo(utra::mesh::SFR_MLIE_CR_MLIE0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0); - mesh_csr.rmwf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLIE_CR_MLIE0_CR_MLIE0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR0); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR0, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR0_SR_MLSR0, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR1); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR1, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR1_SR_MLSR1, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR2); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR2, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR2_SR_MLSR2, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR3); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR3, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR3_SR_MLSR3, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR4); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR4, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR4_SR_MLSR4, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR5); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR5, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR5_SR_MLSR5, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR6); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR6, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR6_SR_MLSR6, baz); - - let foo = mesh_csr.r(utra::mesh::SFR_MLSR_SR_MLSR7); - mesh_csr.wo(utra::mesh::SFR_MLSR_SR_MLSR7, foo); - let bar = mesh_csr.rf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7); - mesh_csr.rmwf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, bar); - let mut baz = mesh_csr.zf(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, bar); - baz |= mesh_csr.ms(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, 1); - mesh_csr.wfo(utra::mesh::SFR_MLSR_SR_MLSR7_SR_MLSR7, baz); - } - - #[test] - #[ignore] - fn compile_check_sensorc_csr() { - use super::*; - let mut sensorc_csr = CSR::new(HW_SENSORC_BASE as *mut u32); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDMASK0); - sensorc_csr.wo(utra::sensorc::SFR_VDMASK0, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0); - sensorc_csr.rmwf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDMASK0_CR_VDMASK0, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDMASK1); - sensorc_csr.wo(utra::sensorc::SFR_VDMASK1, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1); - sensorc_csr.rmwf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDMASK1_CR_VDMASK1, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDSR); - sensorc_csr.wo(utra::sensorc::SFR_VDSR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDSR_VDFLAG); - sensorc_csr.rmwf(utra::sensorc::SFR_VDSR_VDFLAG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDSR_VDFLAG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDSR_VDFLAG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDSR_VDFLAG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDFR); - sensorc_csr.wo(utra::sensorc::SFR_VDFR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDFR_VDFLAG); - sensorc_csr.rmwf(utra::sensorc::SFR_VDFR_VDFLAG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDFR_VDFLAG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDFR_VDFLAG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDFR_VDFLAG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDMASK); - sensorc_csr.wo(utra::sensorc::SFR_LDMASK, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDMASK_CR_LDMASK); - sensorc_csr.rmwf(utra::sensorc::SFR_LDMASK_CR_LDMASK, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDMASK_CR_LDMASK, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDMASK_CR_LDMASK, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDMASK_CR_LDMASK, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDSR); - sensorc_csr.wo(utra::sensorc::SFR_LDSR, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDSR_SR_LDSR); - sensorc_csr.rmwf(utra::sensorc::SFR_LDSR_SR_LDSR, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDSR_SR_LDSR, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDSR_SR_LDSR, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDSR_SR_LDSR, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDCFG); - sensorc_csr.wo(utra::sensorc::SFR_LDCFG, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDCFG_SFR_LDCFG); - sensorc_csr.rmwf(utra::sensorc::SFR_LDCFG_SFR_LDCFG, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDCFG_SFR_LDCFG, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDCFG_SFR_LDCFG, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDCFG_SFR_LDCFG, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG0); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG0, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG0_CR_VDCFG0, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG1); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG1, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG1_CR_VDCFG1, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG2); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG2, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG2_CR_VDCFG2, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG3); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG3, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG3_CR_VDCFG3, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG4); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG4, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG4_CR_VDCFG4, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG5); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG5, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG5_CR_VDCFG5, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG6); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG6, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG6_CR_VDCFG6, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDCFG_CR_VDCFG7); - sensorc_csr.wo(utra::sensorc::SFR_VDCFG_CR_VDCFG7, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7); - sensorc_csr.rmwf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDCFG_CR_VDCFG7_CR_VDCFG7, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDIP_ENA); - sensorc_csr.wo(utra::sensorc::SFR_VDIP_ENA, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDIP_ENA_VDENA); - sensorc_csr.rmwf(utra::sensorc::SFR_VDIP_ENA_VDENA, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDIP_ENA_VDENA, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDIP_ENA_VDENA, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDIP_ENA_VDENA, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_VDIP_TEST); - sensorc_csr.wo(utra::sensorc::SFR_VDIP_TEST, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_VDIP_TEST_VDTST); - sensorc_csr.rmwf(utra::sensorc::SFR_VDIP_TEST_VDTST, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_VDIP_TEST_VDTST, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_VDIP_TEST_VDTST, 1); - sensorc_csr.wfo(utra::sensorc::SFR_VDIP_TEST_VDTST, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDIP_TEST); - sensorc_csr.wo(utra::sensorc::SFR_LDIP_TEST, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDIP_TEST_LDTST); - sensorc_csr.rmwf(utra::sensorc::SFR_LDIP_TEST_LDTST, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDIP_TEST_LDTST, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDIP_TEST_LDTST, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDIP_TEST_LDTST, baz); - - let foo = sensorc_csr.r(utra::sensorc::SFR_LDIP_FD); - sensorc_csr.wo(utra::sensorc::SFR_LDIP_FD, foo); - let bar = sensorc_csr.rf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD); - sensorc_csr.rmwf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, bar); - let mut baz = sensorc_csr.zf(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, bar); - baz |= sensorc_csr.ms(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, 1); - sensorc_csr.wfo(utra::sensorc::SFR_LDIP_FD_SFR_LDIP_FD, baz); - } }