Home
last modified time | relevance | path

Searched refs:channelGroup (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/adc_12b1msps_sar/
Dfsl_adc.h265 void ADC_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc_channel_config_t *config…
275 static inline uint32_t ADC_GetChannelConversionValue(ADC_Type *base, uint32_t channelGroup) in ADC_GetChannelConversionValue() argument
277 assert(channelGroup < (uint32_t)FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT); in ADC_GetChannelConversionValue()
279 return base->R[channelGroup]; in ADC_GetChannelConversionValue()
299 static inline uint32_t ADC_GetChannelStatusFlags(ADC_Type *base, uint32_t channelGroup) in ADC_GetChannelStatusFlags() argument
301 assert(channelGroup < (uint32_t)FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT); in ADC_GetChannelStatusFlags()
304 return (((base->HS) & (1UL << channelGroup)) >> channelGroup); in ADC_GetChannelStatusFlags()
Dfsl_adc.c189 void ADC_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc_channel_config_t *config) in ADC_SetChannelConfig() argument
192 assert(channelGroup < (uint32_t)FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT); in ADC_SetChannelConfig()
201 base->HC[channelGroup] = tmp32; in ADC_SetChannelConfig()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/adc12/
Dfsl_adc12.h218 void ADC12_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc12_channel_config_t *co…
228 static inline uint32_t ADC12_GetChannelConversionValue(ADC_Type *base, uint32_t channelGroup) in ADC12_GetChannelConversionValue() argument
230 assert(channelGroup < (uint32_t)FSL_FEATURE_ADC12_CONVERSION_CONTROL_COUNT); in ADC12_GetChannelConversionValue()
232 return base->R[channelGroup]; in ADC12_GetChannelConversionValue()
243 uint32_t ADC12_GetChannelStatusFlags(ADC_Type *base, uint32_t channelGroup);
Dfsl_adc12.c237 void ADC12_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc12_channel_config_t *co… in ADC12_SetChannelConfig() argument
239 assert(channelGroup < ADC_SC1_COUNT); in ADC12_SetChannelConfig()
245 tmp32 = (base->SC1[channelGroup] & ~(ADC_SC1_ADCH_MASK | ADC_SC1_AIEN_MASK)); in ADC12_SetChannelConfig()
251 base->SC1[channelGroup] = tmp32; in ADC12_SetChannelConfig()
262 uint32_t ADC12_GetChannelStatusFlags(ADC_Type *base, uint32_t channelGroup) in ADC12_GetChannelStatusFlags() argument
264 assert(channelGroup < ADC_SC1_COUNT); in ADC12_GetChannelStatusFlags()
266 uint32_t tmp32 = base->SC1[channelGroup]; in ADC12_GetChannelStatusFlags()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/adc16/
Dfsl_adc16.h502 void ADC16_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc16_channel_config_t *co…
512 static inline uint32_t ADC16_GetChannelConversionValue(ADC_Type *base, uint32_t channelGroup) in ADC16_GetChannelConversionValue() argument
514 assert(channelGroup < (uint32_t)FSL_FEATURE_ADC16_CONVERSION_CONTROL_COUNT); in ADC16_GetChannelConversionValue()
516 return base->R[channelGroup]; in ADC16_GetChannelConversionValue()
527 uint32_t ADC16_GetChannelStatusFlags(ADC_Type *base, uint32_t channelGroup);
Dfsl_adc16.c460 void ADC16_SetChannelConfig(ADC_Type *base, uint32_t channelGroup, const adc16_channel_config_t *co… in ADC16_SetChannelConfig() argument
462 assert(channelGroup < ADC_SC1_COUNT); in ADC16_SetChannelConfig()
479 base->SC1[channelGroup] = sc1; in ADC16_SetChannelConfig()
490 uint32_t ADC16_GetChannelStatusFlags(ADC_Type *base, uint32_t channelGroup) in ADC16_GetChannelStatusFlags() argument
492 assert(channelGroup < ADC_SC1_COUNT); in ADC16_GetChannelStatusFlags()
496 if (0U != (base->SC1[channelGroup] & ADC_SC1_COCO_MASK)) in ADC16_GetChannelStatusFlags()