资源简介
ADS1256-STM32参考程序
代码片段和文件信息
#include “STM32F10x_map.h“
#define uchar unsigned char
#define uint unsigned int
unsigned char amp_ch1=0;
unsigned char amp_ch2=0;
unsigned char amp_ch3=0;
unsigned char amp_ch4=0;
unsigned char amp_ch5=0;
unsigned char amp_ch6=0;
unsigned char amp_ch7=0;
unsigned char amp_ch8=0;
#define FIXAMP 100
#define SetCh1Amp0() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x00<<0) //0 AA1 BB1 CC1
#define SetCh1Amp1() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x01<<0) //1
#define SetCh1Amp2() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x02<<0) //2
#define SetCh1Amp3() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x03<<0)//3
#define SetCh1Amp4() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x04<<0) //4
#define SetCh1Amp5() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x05<<0) //5
#define SetCh1Amp6() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x06<<0) //6
#define SetCh1Amp7() GPIOD->BRR = (0x07<<0);GPIOD->BSRR = (0x07<<0) //7
#define SetCh2Amp0() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x00<<10) //0 AA2 BB2 CC2
#define SetCh2Amp1() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x01<<10) //1
#define SetCh2Amp2() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x02<<10) //2
#define SetCh2Amp3() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x03<<10)//3
#define SetCh2Amp4() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x04<<10) //4
#define SetCh2Amp5() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x05<<10) //5
#define SetCh2Amp6() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x06<<10) //6
#define SetCh2Amp7() GPIOC->BRR = (0x07<<10);GPIOC->BSRR = (0x07<<10) //7
#define SetCh3Amp0() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x00<<4) //0 AA3 BB3 CC3
#define SetCh3Amp1() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x01<<4) //1
#define SetCh3Amp2() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x02<<4) //2
#define SetCh3Amp3() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x03<<4)//3
#define SetCh3Amp4() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x04<<4) //4
#define SetCh3Amp5() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x07<<4) //7
#define SetCh3Amp6() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x07<<4) //7
#define SetCh3Amp7() GPIOC->BRR = (0x07<<4);GPIOC->BSRR = (0x07<<4) //7
#define SetCh4Amp0() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x00<<14) //0 AA4 BB4 CC4
#define SetCh4Amp1() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x01<<14) //1
#define SetCh4Amp2() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x02<<14) //2
#define SetCh4Amp3() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x03<<14)//3
#define SetCh4Amp4() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x04<<14) //4
#define SetCh4Amp5() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x05<<14) //5
#define SetCh4Amp6() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x06<<14) //6
#define SetCh4Amp7() GPIOD->BRR = (0x07<<14);GPIOD->BSRR = (0x07<<14) //7
#define SetCh5Amp0() GPIOD->BRR = (0x07<<11);GPIOD->BSRR = (0x00<<11) //0 AA5 BB5 CC5
#define SetCh5Amp1() GPIOD->BRR = (0x07<<11);GPIOD->BSRR = (0x01<<11) //1
#define SetCh5Amp2() GPIOD->BRR = (0x07<<11);GPIOD->BSRR = (0x
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9707 2010-09-07 13:38 ADS1256-STM32参考程序\ADS1256.C
文件 416 2010-08-31 16:36 ADS1256-STM32参考程序\ads1256.h
文件 6008 2010-09-07 13:41 ADS1256-STM32参考程序\GPIO.Opt
文件 7118 2010-09-03 17:48 ADS1256-STM32参考程序\GPIO.Uv2
文件 6007 2010-09-07 13:38 ADS1256-STM32参考程序\GPIO_Opt.Bak
文件 39899 2010-09-07 13:38 ADS1256-STM32参考程序\GPIO_STM32F10x Release.dep
文件 7118 2010-09-02 16:06 ADS1256-STM32参考程序\GPIO_Uv2.Bak
文件 9138 2010-08-27 15:55 ADS1256-STM32参考程序\H340I.c
文件 756 2010-08-27 14:46 ADS1256-STM32参考程序\H340I.h
文件 8057 2010-04-29 13:33 ADS1256-STM32参考程序\hw_config.c
文件 2311 2010-04-27 16:32 ADS1256-STM32参考程序\hw_config.h
文件 17273 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
文件 15403 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\Release_Notes_for_STM32F10x_CMSIS.html
文件 15761 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15498 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 12371 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13651 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12764 2010-08-28 13:35 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14068 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 12943 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13042 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 9698 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10445 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
文件 10154 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s
文件 10847 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s
文件 16629 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s
文件 16231 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd.s
文件 12653 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld.s
文件 12952 2010-02-28 15:40 ADS1256-STM32参考程序\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld_vl.s
............此处省略384个文件信息
- 上一篇:stm32 AD7506
- 下一篇:DSP28335永磁同步电机控制
相关资源
- stm32 AD7506
- STM32F10实现照相功能照相机
- 基于STM32的嵌入式flash读写控制
- stm32f103c8t6开发板原理图+pcb
- STM32内部FLASH模拟eerom
- stm32的半导体除湿机程序
- stm32实现高精度频率测定
- stm32库函数代码自动生成器V1.2
- stm32 DMA例程
- stm32蓝牙小车
- 显示屏操作(stm32f103c8t6(SAN))
- 基于STM32f103 PWM波呼吸灯
- STM32红外检测有人开始录音,并播放录
- Proteus 8.6仿真STM32F103C6
- stm32 +w5500 裸机 远程升级 自动dns pi
- stm32双机spi通信
- STM32 PCB封装库 全系列 全网不好找
- 基于STM32F407的W5500 tcpserver(官网例程
- 串口调试助手(测试STM32串口)
- 基于STM32F407ZG的监控摄像头及FATFS文件
- tm1650+stm32f103源码(board_tm1650.c)
- stm32定时器中断
- 基于STM32的音频信号采样与FFT分析
- STM32肺活量测试仪
- 基于STM32F103C8T6主控板使用BH1750检测光
- cubeMX设计实现stm32f407上的CAN及485的通
- stm32 BootLoader程序(main.c)
- STM32修炼的最好书
- 高性能服务器代码(50_06th_server_thre
- STM32 BLDC 无刷电机
评论
共有 条评论