文件名称:TIMTrigger_AutoInjection
介绍说明--下载内容来自于网络,使用问题请自行百度
TIM1触发ADC自动注入转换,注入组的通道 ADC1和ADC2工作于同步规则模式。
ADC1配置为每次TIM1捕获事件发生时转换ADC通道14。每次规则转换结束时触发DMA传输,将
转换结果从ADC1数据寄存器传输到ADC_RegularConvertedValueTab数组。
使能自动注入功能,允许在规则通道14转换结束时自动转换注入组的ADC通道11。在注入通道
转换结束时设置JE0C标志产生ADC中断,在中断服务程序将ADC转换结果存储到
ADC_InjectedConvertedValueTab数组。这个过程重复32次后TIM1外设被禁止。TIM1触发信号可以
通过示波器(非开发板集成的示波器)测量PA8引脚进行观测,同时PC6口线翻转指示自动注入转换过程。
-The TIM1 trigger ADC automatically injected conversion injected group channel ADC1 and ADC2 work in synchronization rule pattern. The ADC1 configured to capture event occurs each time TIM1 convert ADC channel 14. Each trigger a DMA transfer rules to the end of conversion, to convert the results from the ADC1 data register transfer to ADC_RegularConvertedValueTab array. Enable automatic injection capabilities, allowing the end of the rules of channel 14 conversion automatically converted to injection group ADC channel 11. In the injection channel is converted to set JE0C flag to generate an ADC interrupt, the interrupt service routine ADC conversion result stored in ADC_InjectedConvertedValueTab array. This process is repeated 32 times after the TIM1 peripheral is prohibited. The TIM1 trigger can signal through an oscilloscope (non-development board integration the oscilloscope) measuring the PA8 pins for observation, the flip of the PC6 mouth line instructions automatically injected in
ADC1配置为每次TIM1捕获事件发生时转换ADC通道14。每次规则转换结束时触发DMA传输,将
转换结果从ADC1数据寄存器传输到ADC_RegularConvertedValueTab数组。
使能自动注入功能,允许在规则通道14转换结束时自动转换注入组的ADC通道11。在注入通道
转换结束时设置JE0C标志产生ADC中断,在中断服务程序将ADC转换结果存储到
ADC_InjectedConvertedValueTab数组。这个过程重复32次后TIM1外设被禁止。TIM1触发信号可以
通过示波器(非开发板集成的示波器)测量PA8引脚进行观测,同时PC6口线翻转指示自动注入转换过程。
-The TIM1 trigger ADC automatically injected conversion injected group channel ADC1 and ADC2 work in synchronization rule pattern. The ADC1 configured to capture event occurs each time TIM1 convert ADC channel 14. Each trigger a DMA transfer rules to the end of conversion, to convert the results from the ADC1 data register transfer to ADC_RegularConvertedValueTab array. Enable automatic injection capabilities, allowing the end of the rules of channel 14 conversion automatically converted to injection group ADC channel 11. In the injection channel is converted to set JE0C flag to generate an ADC interrupt, the interrupt service routine ADC conversion result stored in ADC_InjectedConvertedValueTab array. This process is repeated 32 times after the TIM1 peripheral is prohibited. The TIM1 trigger can signal through an oscilloscope (non-development board integration the oscilloscope) measuring the PA8 pins for observation, the flip of the PC6 mouth line instructions automatically injected in
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TIMTrigger_AutoInjection/main.c
TIMTrigger_AutoInjection/readme.txt
TIMTrigger_AutoInjection/stm32f10x_conf.h
TIMTrigger_AutoInjection/stm32f10x_it.c
TIMTrigger_AutoInjection/stm32f10x_it.h
TIMTrigger_AutoInjection/system_stm32f10x.c
TIMTrigger_AutoInjection
TIMTrigger_AutoInjection/readme.txt
TIMTrigger_AutoInjection/stm32f10x_conf.h
TIMTrigger_AutoInjection/stm32f10x_it.c
TIMTrigger_AutoInjection/stm32f10x_it.h
TIMTrigger_AutoInjection/system_stm32f10x.c
TIMTrigger_AutoInjection
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.