Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/adc_etc/
Dfsl_adc_etc.c191 void ADC_ETC_SetTriggerConfig(ADC_ETC_Type *base, uint32_t triggerGroup, const adc_etc_trigger_conf… in ADC_ETC_SetTriggerConfig() argument
193 assert(triggerGroup < ADC_ETC_TRIGn_CTRL_COUNT); in ADC_ETC_SetTriggerConfig()
194 assert(ADC_ETC_TRIGn_COUNTER_COUNT > triggerGroup); in ADC_ETC_SetTriggerConfig()
209 base->TRIG[triggerGroup].TRIGn_CTRL = tmp32; in ADC_ETC_SetTriggerConfig()
214 base->TRIG[triggerGroup].TRIGn_COUNTER = tmp32; in ADC_ETC_SetTriggerConfig()
228 uint32_t triggerGroup, in ADC_ETC_SetTriggerChainConfig() argument
232 assert(triggerGroup < ADC_ETC_TRIGn_CTRL_COUNT); in ADC_ETC_SetTriggerChainConfig()
255 tmpReg = base->TRIG[triggerGroup].TRIGn_CHAIN_1_0; in ADC_ETC_SetTriggerChainConfig()
268 base->TRIG[triggerGroup].TRIGn_CHAIN_1_0 = tmpReg; in ADC_ETC_SetTriggerChainConfig()
271 tmpReg = base->TRIG[triggerGroup].TRIGn_CHAIN_3_2; in ADC_ETC_SetTriggerChainConfig()
[all …]
Dfsl_adc_etc.h210 void ADC_ETC_SetTriggerConfig(ADC_ETC_Type *base, uint32_t triggerGroup, const adc_etc_trigger_conf…
223 uint32_t triggerGroup,
254 static inline void ADC_ETC_EnableDMA(ADC_ETC_Type *base, uint32_t triggerGroup) in ADC_ETC_EnableDMA() argument
257 …TRL = (base->DMA_CTRL | ((uint32_t)ADC_ETC_DMA_CTRL_TRIG0_ENABLE_MASK << (uint32_t)triggerGroup)) & in ADC_ETC_EnableDMA()
267 static inline void ADC_ETC_DisableDMA(ADC_ETC_Type *base, uint32_t triggerGroup) in ADC_ETC_DisableDMA() argument
270 …RL = (base->DMA_CTRL & ~((uint32_t)ADC_ETC_DMA_CTRL_TRIG0_ENABLE_MASK << (uint32_t)triggerGroup)) & in ADC_ETC_DisableDMA()
325 static inline void ADC_ETC_DoSoftwareTrigger(ADC_ETC_Type *base, uint32_t triggerGroup) in ADC_ETC_DoSoftwareTrigger() argument
327 assert(triggerGroup < ADC_ETC_TRIGn_CTRL_COUNT); in ADC_ETC_DoSoftwareTrigger()
329 base->TRIG[triggerGroup].TRIGn_CTRL |= ADC_ETC_TRIGn_CTRL_SW_TRIG_MASK; in ADC_ETC_DoSoftwareTrigger()
342 uint32_t ADC_ETC_GetADCConversionValue(ADC_ETC_Type *base, uint32_t triggerGroup, uint32_t chainGro…