| /hal_gigadevice-latest/gd32a50x/standard_peripheral/source/ |
| D | gd32a50x_timer.c | 1359 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1399 if(TIMER_IC_SELECTION_PAIR == icpara->icselection) { in timer_input_capture_config() 1400 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 28U); in timer_input_capture_config() 1402 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1424 if(TIMER_IC_SELECTION_PAIR == icpara->icselection) { in timer_input_capture_config() 1425 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 29U); in timer_input_capture_config() 1427 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1447 if(TIMER_IC_SELECTION_PAIR == icpara->icselection) { in timer_input_capture_config() 1448 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 28U); in timer_input_capture_config() 1450 TIMER_CHCTL1(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32l23x/standard_peripheral/source/ |
| D | gd32l23x_timer.c | 933 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 973 ctl |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 997 ctl |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1020 ctl |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1043 ctl |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1175 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1184 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection) { in timer_input_pwm_capture_config() 1185 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1187 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1201 ctl |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/ |
| D | gd32f4xx_timer.c | 1224 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1259 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1278 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1297 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1317 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1436 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1446 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection) { in timer_input_pwm_capture_config() 1447 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1449 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1462 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32f403/standard_peripheral/source/ |
| D | gd32f403_timer.c | 1356 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1391 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1410 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1429 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1449 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1568 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1578 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection){ in timer_input_pwm_capture_config() 1579 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1581 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1594 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32vf103/standard_peripheral/source/ |
| D | gd32vf103_timer.c | 1196 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1234 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1253 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1272 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1292 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1412 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1421 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection){ in timer_input_pwm_capture_config() 1422 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1424 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1437 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32e50x/standard_peripheral/source/ |
| D | gd32e50x_timer.c | 1229 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1264 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1283 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1302 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1322 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1441 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1450 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection){ in timer_input_pwm_capture_config() 1451 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1453 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1466 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/ |
| D | gd32f3x0_timer.c | 1374 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1409 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1428 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1447 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1467 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1586 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1596 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection){ in timer_input_pwm_capture_config() 1597 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1599 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1612 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32e10x/standard_peripheral/source/ |
| D | gd32e10x_timer.c | 1229 icpara->icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_channel_input_struct_para_init() 1267 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpara->icselection); in timer_input_capture_config() 1286 TIMER_CHCTL0(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1305 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection)); in timer_input_capture_config() 1325 TIMER_CHCTL1(timer_periph) |= (uint32_t)((uint32_t)(icpara->icselection) << 8U); in timer_input_capture_config() 1445 uint16_t icselection = 0x0U; in timer_input_pwm_capture_config() local 1454 if(TIMER_IC_SELECTION_DIRECTTI == icpwm->icselection){ in timer_input_pwm_capture_config() 1455 icselection = TIMER_IC_SELECTION_INDIRECTTI; in timer_input_pwm_capture_config() 1457 icselection = TIMER_IC_SELECTION_DIRECTTI; in timer_input_pwm_capture_config() 1470 TIMER_CHCTL0(timer_periph) |= (uint32_t)(icpwm->icselection); in timer_input_pwm_capture_config() [all …]
|
| /hal_gigadevice-latest/gd32l23x/standard_peripheral/include/ |
| D | gd32l23x_timer.h | 229 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32f4xx/standard_peripheral/include/ |
| D | gd32f4xx_timer.h | 305 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32vf103/standard_peripheral/include/ |
| D | gd32vf103_timer.h | 279 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32e50x/standard_peripheral/include/ |
| D | gd32e50x_timer.h | 299 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32f403/standard_peripheral/include/ |
| D | gd32f403_timer.h | 294 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/ |
| D | gd32f3x0_timer.h | 300 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32e10x/standard_peripheral/include/ |
| D | gd32e10x_timer.h | 293 uint16_t icselection; /*!< channel input mode selection */ member
|
| /hal_gigadevice-latest/gd32a50x/standard_peripheral/include/ |
| D | gd32a50x_timer.h | 478 …uint16_t icselection; /*!< channel input… member
|