Searched refs:triggercfg (Results 1 – 2 of 2) sorted by relevance
2216 void shrtimer_adctrigcfg_struct_para_init(shrtimer_adctrigcfg_parameter_struct* triggercfg) in shrtimer_adctrigcfg_struct_para_init() argument2218 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() argument2253 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 …]
2100 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);