Lines Matching refs:triggercfg
2216 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()
2286 comctl0_reg |= ((triggercfg->update_source) << 9); in shrtimer_adc_trigger_config()
2289 SHRTIMER_ADCTRIGS3(shrtimer_periph) = triggercfg->trigger; in shrtimer_adc_trigger_config()