-
ADC_DualModeInterleaved
stm32f4 adc 的代码,双通道,用DMA保存数据。(stm32f4 family c code, adc
This example provides a short description of how to use the ADC peripheral to
convert a regular channel in Dual interleaved mode using DMA in mode 3 with 5Msps.
DMA mode 3 is used in interleaved mode in 6-bit and 8-bit resolutions.
The Dual interleaved delay is configured 6 ADC clk cycles.
On each DMA request (two data items are available) two bytes representing two
ADC-converted data items are transferred as a half word.
The data transfer order is similar to that of the DMA mode 2.
A DMA request is generated each time 2 data items are available
1st request: ADC_CDR[15:0] = (ADC2_DR[7:0] << 8) | ADC1_DR[7:0]
2nd request: ADC_CDR[15:0] = (ADC2_DR[7:0] << 8) | ADC1_DR[7:0]
The ADC1 and ADC2 are configured to convert ADC Channel 12, with conversion
triggered by software.
By this way, ADC channel 12 is converted each 6 cycles.
In this example, the system clock is 168MHz, APB2 =84MHz and ADC clock = APB2 /2.
Since ADCCLK=)
- 2013-10-14 19:06:26下载
- 积分:1
-
red-decode
红外解码数码管显示,用你一个外部中断和一个定时器中断来做的,虽然可以解码,但是效率不高,不建议在商用产品上使用。(IR decoding the digital tube display, you use an external interrupt and a timer interrupt to do, although it can be decoded, but efficiency is not high, not recommended for use in commercial products.)
- 2014-03-08 13:54:11下载
- 积分:1
-
MODBUS RTU
MODBUS RTU 程序,可以移植到51单片机中,支持01 02 03 04 05 06功能(MODBUS RTU program, can be transplanted to 51 single-chip computer, supporting 01 02 03 04 05 06 function)
- 2019-01-16 13:37:02下载
- 积分:1
-
usb-hid-sm32f103c8
stm32f103c8t6 usb hid应用源代码。 源程序是103vct移植到103c8t6 适用。(stm32f103c8t6 usb hid source )
- 2021-05-08 22:48:35下载
- 积分:1
-
CAN_Receive
飞思卡尔单片机CAN总线接收程序,适用于MC9S12DG128芯片(Freescale MCU CAN bus receive procedures applicable to MC9S12DG128 chip)
- 2014-09-19 22:22:10下载
- 积分:1
-
实验20:NE555脉冲发生器
说明: 使用51单片机控制NE555脉冲发生器,实现所需功能。(The NE555 pulse generator is controlled by 51 single chip computer to achieve the required functions.)
- 2020-06-19 10:20:01下载
- 积分:1
-
12-2
用MSP430的比较器功能实现电阻的测量(Comparison with MSP430 function to achieve the measurement of resistance)
- 2009-04-24 08:51:47下载
- 积分:1
-
手势遥控车资料包V1.2
通过不同的手势控制小车运动,实现小车的前进、后退、转弯等功能。(Through different gestures to control the movement of the car, the car can move forward, backward and turn.)
- 2020-06-19 10:20:01下载
- 积分:1
-
3
说明: 基于单片机的指南针毕业设计,精度高,可行性较好(Compass graduation microcontroller-based design, high accuracy, feasibility)
- 2012-04-15 14:50:04下载
- 积分:1
-
CC2530_SPI_ADS1255
CC2530驱动24bit高精度模数转换器ads1255,将结果通过串口打印出来,程序已经通过实际调试,可运行(24bit high-precision analog-digital converter ads1255 was drivered by CC2530, and print out the results through the serial port.This Program has been debugged practically, it can run well)
- 2020-11-10 11:09:46下载
- 积分:1