/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/standard_peripheral/include/ |
D | gd32f3x0_rtc.h | 264 #define GET_TIME_SC(regval) GET_BITS((regval),0,6) /*!< get val… 267 #define GET_TIME_MN(regval) GET_BITS((regval),8,14) /*!< get val… 270 #define GET_TIME_HR(regval) GET_BITS((regval),16,21) /*!< get val… 277 #define GET_DATE_DAY(regval) GET_BITS((regval),0,5) /*!< get val… 280 #define GET_DATE_MON(regval) GET_BITS((regval),8,12) /*!< get val… 295 #define GET_DATE_DOW(regval) GET_BITS((regval),13,15) /*!< get val… 305 #define GET_DATE_YR(regval) GET_BITS((regval),16,23) /*!< get val… 325 #define GET_PSC_FACTOR_S(regval) GET_BITS((regval),0,14) /*!< get val… 328 #define GET_PSC_FACTOR_A(regval) GET_BITS((regval),16,22) /*!< get val… 332 #define GET_ALRM0TD_SC(regval) GET_BITS((regval),0,6) /*!< get val… [all …]
|
D | gd32f3x0_ctc.h | 89 #define GET_STAT_REFCAP(regval) GET_BITS((regval),16,31) 90 #define GET_CTL0_TRIMVALUE(regval) GET_BITS((regval),8,13)
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/cmsis/gd/gd32l23x/source/ |
D | system_gd32l23x.c | 323 sws = GET_BITS(RCU_CFG0, 2, 3); in SystemCoreClockUpdate() 336 pllmf = GET_BITS(RCU_CFG0, 18, 23); in SystemCoreClockUpdate() 337 pllmf6 = GET_BITS(RCU_CFG0, 27, 27); in SystemCoreClockUpdate() 349 pllsel = GET_BITS(RCU_CFG0, 16, 17); in SystemCoreClockUpdate() 351 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in SystemCoreClockUpdate() 354 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in SystemCoreClockUpdate() 357 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in SystemCoreClockUpdate() 367 idx = GET_BITS(RCU_CFG0, 4, 7); in SystemCoreClockUpdate()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/include/ |
D | gd32f4xx_rtc.h | 288 #define GET_TIME_SC(regval) GET_BITS((regval),0,6) /*!< get valu… 291 #define GET_TIME_MN(regval) GET_BITS((regval),8,14) /*!< get valu… 294 #define GET_TIME_HR(regval) GET_BITS((regval),16,21) /*!< get valu… 301 #define GET_DATE_DAY(regval) GET_BITS((regval),0,5) /*!< get valu… 304 #define GET_DATE_MON(regval) GET_BITS((regval),8,12) /*!< get valu… 319 #define GET_DATE_DOW(regval) GET_BITS((uint32_t)(regval),13,15) /*!< get valu… 329 #define GET_DATE_YR(regval) GET_BITS((regval),16,23) /*!< get valu… 355 #define GET_PSC_FACTOR_S(regval) GET_BITS((regval),0,14) /*!< get valu… 358 #define GET_PSC_FACTOR_A(regval) GET_BITS((regval),16,22) /*!< get valu… 362 #define GET_ALRMTD_SC(regval) GET_BITS((regval),0,6) /*!< get valu… [all …]
|
D | gd32f4xx_can.h | 531 #define GET_RFIFOMI_EFID(regval) GET_BITS((uint32_t)(regval), 3U, 31U) 534 #define GET_RFIFOMI_SFID(regval) GET_BITS((uint32_t)(regval), 21U, 31U) 537 #define GET_RFIFOMP_DLENC(regval) GET_BITS((uint32_t)(regval), 0U, 3U) 540 #define GET_RFIFOMP_FI(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 543 #define GET_RFIFOMDATA0_DB0(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 546 #define GET_RFIFOMDATA0_DB1(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 549 #define GET_RFIFOMDATA0_DB2(regval) GET_BITS((uint32_t)(regval), 16U, 23U) 552 #define GET_RFIFOMDATA0_DB3(regval) GET_BITS((uint32_t)(regval), 24U, 31U) 555 #define GET_RFIFOMDATA1_DB4(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 558 #define GET_RFIFOMDATA1_DB5(regval) GET_BITS((uint32_t)(regval), 8U, 15U) [all …]
|
D | gd32f4xx_enet.h | 1181 #define GET_MAC_DBG_RXAFS(regval) GET_BITS((regval),1,2) /*!… 1183 #define GET_MAC_DBG_RXFRS(regval) GET_BITS((regval),5,6) /*!… 1185 #define GET_MAC_DBG_RXFS(regval) GET_BITS((regval),8,9) /*!… 1187 #define GET_MAC_DBG_SOMT(regval) GET_BITS((regval),17,18) /*!… 1189 #define GET_MAC_DBG_TXFRS(regval) GET_BITS((regval),20,21) /*!… 1244 #define GET_PTP_TSL_STMSS(regval) GET_BITS((uint32_t)(regval),0,30) /*!… 1278 #define GET_DMA_BCTL_DPSL(regval) GET_BITS((regval),2,6) /*!… 1331 #define GET_DMA_STAT_RP(regval) GET_BITS((uint32_t)(regval),17,19) /*!… 1339 #define GET_DMA_STAT_TP(regval) GET_BITS((uint32_t)(regval),20,22) /*!… 1347 #define GET_DMA_STAT_EB(regval) GET_BITS((uint32_t)(regval),23,25) /*!… [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/standard_peripheral/include/ |
D | gd32l23x_rtc.h | 287 #define GET_TIME_SC(regval) GET_BITS((regval),0,6) /*!< get val… 290 #define GET_TIME_MN(regval) GET_BITS((regval),8,14) /*!< get val… 293 #define GET_TIME_HR(regval) GET_BITS((regval),16,21) /*!< get val… 300 #define GET_DATE_DAY(regval) GET_BITS((regval),0,5) /*!< get val… 303 #define GET_DATE_MON(regval) GET_BITS((regval),8,12) /*!< get val… 318 #define GET_DATE_DOW(regval) GET_BITS((uint32_t)(regval),13,15) /*!< get val… 328 #define GET_DATE_YR(regval) GET_BITS((regval),16,23) /*!< get val… 367 #define GET_PSC_FACTOR_S(regval) GET_BITS((regval),0,14) /*!< get val… 370 #define GET_PSC_FACTOR_A(regval) GET_BITS((regval),16,22) /*!< get val… 374 #define GET_ALRMTD_SC(regval) GET_BITS((regval),0,6) /*!< get val… [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/standard_peripheral/source/ |
D | gd32l23x_rcu.c | 1091 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1104 pllmf = GET_BITS(RCU_CFG0, 18, 23); in rcu_clock_freq_get() 1105 pllmf6 = GET_BITS(RCU_CFG0, 27, 27); in rcu_clock_freq_get() 1117 pllsel = GET_BITS(RCU_CFG0, 16, 17); in rcu_clock_freq_get() 1119 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in rcu_clock_freq_get() 1122 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in rcu_clock_freq_get() 1125 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in rcu_clock_freq_get() 1135 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1140 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1145 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get() [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32a50x/standard_peripheral/include/ |
D | gd32a50x_can.h | 916 #define GET_CTL0_FS(regval) GET_BITS((regval),8,9) /*!< get … 926 #define GET_ERR0_REFCNT(regval) GET_BITS((regval),24,31) /*!< get … 927 #define GET_ERR0_TEFCNT(regval) GET_BITS((regval),16,23) /*!< get … 928 #define GET_ERR0_RECNT(regval) GET_BITS((regval),8,15) /*!< get … 929 #define GET_ERR0_TECNT(regval) GET_BITS((regval),0,7) /*!< get … 936 #define GET_ERR1_ERRSI(regval) GET_BITS((regval),4,5) /*!< read… 957 #define GET_CTL2_RFFN(regval) GET_BITS((regval),24,27) /*!< get … 1000 #define GET_CRCC_ANTM(regval) GET_BITS((regval),16,20) /*!< get … 1001 #define GET_CRCC_CRCTC(regval) GET_BITS((regval),0,14) /*!< get … 1004 #define GET_RFIFOIFMN_IDFMN(regval) GET_BITS((regval),0,8) /*!< get … [all …]
|
D | gd32a50x_bkp.h | 87 #define BKP_DATA_GET(regval) GET_BITS((uint32_t)(regval), 0, 15)
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/standard_peripheral/source/ |
D | gd32f3x0_rcu.c | 1053 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1066 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 1067 pllmf4 = GET_BITS(RCU_CFG0, 27, 27); in rcu_clock_freq_get() 1068 pllmf5 = GET_BITS(RCU_CFG1, 31, 31); in rcu_clock_freq_get() 1085 pllsel = GET_BITS(RCU_CFG0, 16, 16); in rcu_clock_freq_get() 1086 pllpresel = GET_BITS(RCU_CFG1, 30, 30); in rcu_clock_freq_get() 1088 prediv = (GET_BITS(RCU_CFG1,0, 3) + 1U); in rcu_clock_freq_get() 1104 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1109 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1114 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get() [all …]
|
D | gd32f3x0_adc.c | 370 inserted_length = (uint8_t)GET_BITS(ADC_ISQ , 20U , 21U); in adc_inserted_channel_config() 410 inserted_length = (uint8_t)GET_BITS(ADC_ISQ, 20U, 21U); in adc_inserted_channel_offset_config()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/include/ |
D | gd32f403_can.h | 538 #define GET_RFIFOMI_EFID(regval) GET_BITS((uint32_t)(regval), 3U, 31U) 541 #define GET_RFIFOMI_SFID(regval) GET_BITS((uint32_t)(regval), 21U, 31U) 544 #define GET_RFIFOMP_DLENC(regval) GET_BITS((uint32_t)(regval), 0U, 3U) 547 #define GET_RFIFOMP_FI(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 550 #define GET_RFIFOMDATA0_DB0(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 553 #define GET_RFIFOMDATA0_DB1(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 556 #define GET_RFIFOMDATA0_DB2(regval) GET_BITS((uint32_t)(regval), 16U, 23U) 559 #define GET_RFIFOMDATA0_DB3(regval) GET_BITS((uint32_t)(regval), 24U, 31U) 562 #define GET_RFIFOMDATA1_DB4(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 565 #define GET_RFIFOMDATA1_DB5(regval) GET_BITS((uint32_t)(regval), 8U, 15U) [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/include/ |
D | gd32vf103_can.h | 538 #define GET_RFIFOMI_EFID(regval) GET_BITS((uint32_t)(regval), 3U, 31U) 541 #define GET_RFIFOMI_SFID(regval) GET_BITS((uint32_t)(regval), 21U, 31U) 544 #define GET_RFIFOMP_DLENC(regval) GET_BITS((uint32_t)(regval), 0U, 3U) 547 #define GET_RFIFOMP_FI(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 550 #define GET_RFIFOMDATA0_DB0(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 553 #define GET_RFIFOMDATA0_DB1(regval) GET_BITS((uint32_t)(regval), 8U, 15U) 556 #define GET_RFIFOMDATA0_DB2(regval) GET_BITS((uint32_t)(regval), 16U, 23U) 559 #define GET_RFIFOMDATA0_DB3(regval) GET_BITS((uint32_t)(regval), 24U, 31U) 562 #define GET_RFIFOMDATA1_DB4(regval) GET_BITS((uint32_t)(regval), 0U, 7U) 565 #define GET_RFIFOMDATA1_DB5(regval) GET_BITS((uint32_t)(regval), 8U, 15U) [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/include/ |
D | gd32e50x_can.h | 666 #define GET_RFIFOMI_EFID(regval) GET_BITS((uint32_t)(regval), 3, 31) 669 #define GET_RFIFOMI_SFID(regval) GET_BITS((uint32_t)(regval), 21, 31) 672 #define GET_RFIFOMP_DLENC(regval) GET_BITS((uint32_t)(regval), 0, 3) 675 #define GET_RFIFOMP_FI(regval) GET_BITS((uint32_t)(regval), 8, 15) 678 #define GET_RFIFOMDATA0_DB0(regval) GET_BITS((uint32_t)(regval), 0, 7) 681 #define GET_RFIFOMDATA0_DB1(regval) GET_BITS((uint32_t)(regval), 8, 15) 684 #define GET_RFIFOMDATA0_DB2(regval) GET_BITS((uint32_t)(regval), 16, 23) 687 #define GET_RFIFOMDATA0_DB3(regval) GET_BITS((uint32_t)(regval), 24, 31) 690 #define GET_RFIFOMDATA1_DB4(regval) GET_BITS((uint32_t)(regval), 0, 7) 693 #define GET_RFIFOMDATA1_DB5(regval) GET_BITS((uint32_t)(regval), 8, 15) [all …]
|
D | gd32e50x_enet.h | 1157 #define GET_MAC_DBG_RXAFS(regval) GET_BITS((regval),1,2) /*!… 1159 #define GET_MAC_DBG_RXFRS(regval) GET_BITS((regval),5,6) /*!… 1161 #define GET_MAC_DBG_RXFS(regval) GET_BITS((regval),8,9) /*!… 1163 #define GET_MAC_DBG_SOMT(regval) GET_BITS((regval),17,18) /*!… 1165 #define GET_MAC_DBG_TXFRS(regval) GET_BITS((regval),20,21) /*!… 1222 #define GET_PTP_TSL_STMSS(regval) GET_BITS((uint32_t)(regval),0,30) /*!… 1256 #define GET_DMA_BCTL_DPSL(regval) GET_BITS((regval),2,6) /*!… 1309 #define GET_DMA_STAT_RP(regval) GET_BITS((uint32_t)(regval),17,19) /*!… 1317 #define GET_DMA_STAT_TP(regval) GET_BITS((uint32_t)(regval),20,22) /*!… 1325 #define GET_DMA_STAT_EB(regval) GET_BITS((uint32_t)(regval),23,25) /*!… [all …]
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/source/ |
D | gd32f4xx_rcu.c | 1269 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1282 pllpsc = GET_BITS(RCU_PLL, 0U, 5U); in rcu_clock_freq_get() 1283 plln = GET_BITS(RCU_PLL, 6U, 14U); in rcu_clock_freq_get() 1284 pllp = (GET_BITS(RCU_PLL, 16U, 17U) + 1U) * 2U; in rcu_clock_freq_get() 1300 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1305 idx = GET_BITS(RCU_CFG0, 10, 12); in rcu_clock_freq_get() 1310 idx = GET_BITS(RCU_CFG0, 13, 15); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/cmsis/gd/gd32f3x0/source/ |
D | system_gd32f3x0.c | 766 sws = GET_BITS(RCU_CFG0, 2, 3); in SystemCoreClockUpdate() 779 pllmf = GET_BITS(RCU_CFG0, 18, 21); in SystemCoreClockUpdate() 780 pllmf4 = GET_BITS(RCU_CFG0, 27, 27); in SystemCoreClockUpdate() 781 pllmf5 = GET_BITS(RCU_CFG1, 31, 31); in SystemCoreClockUpdate() 796 pllsel = GET_BITS(RCU_CFG0, 16, 16); in SystemCoreClockUpdate() 798 prediv = (GET_BITS(RCU_CFG1, 0, 3) + 1U); in SystemCoreClockUpdate() 814 idx = GET_BITS(RCU_CFG0, 4, 7); in SystemCoreClockUpdate()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/source/ |
D | gd32vf103_rcu.c | 1017 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1054 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 1079 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1084 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1089 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e10x/standard_peripheral/source/ |
D | gd32e10x_rcu.c | 1152 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1197 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 1219 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1224 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1229 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/source/ |
D | gd32f403_rcu.c | 1149 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1194 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 1221 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1226 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1231 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/cmsis/gd/gd32f4xx/source/ |
D | system_gd32f4xx.c | 1111 sws = GET_BITS(RCU_CFG0, 2, 3); in SystemCoreClockUpdate() 1124 pllpsc = GET_BITS(RCU_PLL, 0U, 5U); in SystemCoreClockUpdate() 1125 plln = GET_BITS(RCU_PLL, 6U, 14U); in SystemCoreClockUpdate() 1126 pllp = (GET_BITS(RCU_PLL, 16U, 17U) + 1U) * 2U; in SystemCoreClockUpdate() 1142 idx = GET_BITS(RCU_CFG0, 4, 7); in SystemCoreClockUpdate()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32a50x/standard_peripheral/source/ |
D | gd32a50x_rcu.c | 939 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 950 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 954 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 958 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/source/ |
D | gd32e50x_rcu.c | 1454 sws = GET_BITS(RCU_CFG0, 2, 3); in rcu_clock_freq_get() 1507 pllmf = GET_BITS(RCU_CFG0, 18, 21); in rcu_clock_freq_get() 1534 idx = GET_BITS(RCU_CFG0, 4, 7); in rcu_clock_freq_get() 1539 idx = GET_BITS(RCU_CFG0, 8, 10); in rcu_clock_freq_get() 1544 idx = GET_BITS(RCU_CFG0, 11, 13); in rcu_clock_freq_get()
|
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e10x/cmsis/gd/gd32e10x/source/ |
D | system_gd32e10x.c | 799 sws = GET_BITS(RCU_CFG0, 2, 3); in SystemCoreClockUpdate() 844 pllmf = GET_BITS(RCU_CFG0, 18, 21); in SystemCoreClockUpdate() 865 idx = GET_BITS(RCU_CFG0, 4, 7); in SystemCoreClockUpdate()
|