Home
last modified time | relevance | path

Searched refs:triggercfg (Results 1 – 2 of 2) sorted by relevance

/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/source/
Dgd32e50x_shrtimer.c2216 void shrtimer_adctrigcfg_struct_para_init(shrtimer_adctrigcfg_parameter_struct* triggercfg) in shrtimer_adctrigcfg_struct_para_init() argument
2218 triggercfg->trigger = SHRTIMER_ADCTRGI02_EVENT_NONE; in shrtimer_adctrigcfg_struct_para_init()
2219 triggercfg->update_source = SHRTIMER_ADCTRGI_UPDATE_MT; in shrtimer_adctrigcfg_struct_para_init()
2241 …ig(uint32_t shrtimer_periph, uint32_t trigger_id, shrtimer_adctrigcfg_parameter_struct* triggercfg) in shrtimer_adc_trigger_config() argument
2253 comctl0_reg |= triggercfg->update_source; in shrtimer_adc_trigger_config()
2256 SHRTIMER_ADCTRIGS0(shrtimer_periph) = triggercfg->trigger; in shrtimer_adc_trigger_config()
2264 comctl0_reg |= ((triggercfg->update_source) << 3); in shrtimer_adc_trigger_config()
2267 SHRTIMER_ADCTRIGS1(shrtimer_periph) = triggercfg->trigger; in shrtimer_adc_trigger_config()
2275 comctl0_reg |= ((triggercfg->update_source) << 6); in shrtimer_adc_trigger_config()
2278 SHRTIMER_ADCTRIGS2(shrtimer_periph) = triggercfg->trigger; in shrtimer_adc_trigger_config()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/include/
Dgd32e50x_shrtimer.h2100 void shrtimer_adctrigcfg_struct_para_init(shrtimer_adctrigcfg_parameter_struct* triggercfg);
2102 …g(uint32_t shrtimer_periph, uint32_t trigger_id, shrtimer_adctrigcfg_parameter_struct* triggercfg);