资源简介
2018年电赛G题_逻辑分析仪题目word 和 stm32f103 程序。
代码片段和文件信息
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : main.c
* Author : MCD Application Team
* Version : V2.0
* Date : 05/23/2008
* Description : Main program body.
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
* FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED
* IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_lib.h“
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Init Structure definition */
DAC_InitTypeDef DAC_InitStructure;
TIM_TimebaseInitTypeDef TIM_TimebaseStructure;
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
ErrorStatus HSEStartUpStatus;
/* Private function prototypes -----------------------------------------------*/
void RCC_Configuration(void);
void GPIO_Configuration(void);
void NVIC_Configuration(void);
void Delay(vu32 nCount);
/* Private functions ---------------------------------------------------------*/
/*******************************************************************************
* Function Name : main
* Description : Main program.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
int main(void)
{
#ifdef DEBUG
debug();
#endif
/* System Clocks Configuration */
RCC_Configuration();
/* GPIO configuration */
GPIO_Configuration();
/* NVIC Configuration */
NVIC_Configuration();
/* TIM2 Configuration */
TIM_TimebaseStructInit(&TIM_TimebaseStructure);
TIM_TimebaseStructure.TIM_Period = 0xF;
TIM_TimebaseStructure.TIM_Prescaler = 0xF;
TIM_TimebaseStructure.TIM_ClockDivision = 0x0;
TIM_TimebaseStructure.TIM_CounterMode = TIM_CounterMode_Up;
TIM_TimebaseInit(TIM2 &TIM_TimebaseStructure);
/* TIM2 TRGO selection */
TIM_SelectOutputTrigger(TIM2 TIM_TRGOSource_Update);
/* DAC channel1 Configuration */
DAC_InitStructure.DAC_Trigger = DAC_Trigger_T2_TRGO;
DAC_InitStr
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 40011 2018-07-24 01:50 2018年TI杯大学生电子设计竞赛题G-简易数字信号时序分析装置.doc
目录 0 2018-07-23 21:37 G题\
目录 0 2018-07-23 21:37 G题\CORE\
文件 17273 2010-06-07 10:25 G题\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 G题\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 G题\CORE\startup_stm32f10x_hd.s
目录 0 2018-07-23 21:37 G题\HARDWARE\
目录 0 2018-07-23 21:37 G题\HARDWARE\44SB\
文件 3683 2018-07-22 22:15 G题\HARDWARE\44SB\44button.c
文件 130 2018-07-07 16:12 G题\HARDWARE\44SB\44button.h
目录 0 2018-07-23 21:37 G题\HARDWARE\ADC\
文件 1929 2018-07-22 01:23 G题\HARDWARE\ADC\adc.c
文件 156 2018-07-03 20:45 G题\HARDWARE\ADC\adc.h
目录 0 2018-07-23 21:37 G题\HARDWARE\DAC\
文件 2608 2018-07-23 18:47 G题\HARDWARE\DAC\dac.c
文件 744 2018-07-20 20:53 G题\HARDWARE\DAC\dac.h
目录 0 2018-07-23 21:37 G题\HARDWARE\EXTI\
文件 2324 2018-07-23 19:07 G题\HARDWARE\EXTI\exti.c
文件 130 2018-07-20 18:52 G题\HARDWARE\EXTI\exti.h
目录 0 2018-07-23 21:37 G题\HARDWARE\IIC\
文件 3015 2015-04-01 15:11 G题\HARDWARE\IIC\myiic.c
文件 1354 2015-04-29 11:45 G题\HARDWARE\IIC\myiic.h
目录 0 2018-07-23 21:37 G题\HARDWARE\IWDG\
文件 587 2018-07-03 10:08 G题\HARDWARE\IWDG\iwdg.c
文件 138 2018-07-03 09:52 G题\HARDWARE\IWDG\iwdg.h
目录 0 2018-07-23 21:37 G题\HARDWARE\KEY\
文件 1740 2015-04-01 12:12 G题\HARDWARE\KEY\key.c
文件 1059 2015-03-23 22:47 G题\HARDWARE\KEY\key.h
目录 0 2018-07-23 21:37 G题\HARDWARE\LED\
文件 958 2018-07-23 18:47 G题\HARDWARE\LED\led.c
文件 638 2015-03-23 22:26 G题\HARDWARE\LED\led.h
............此处省略224个文件信息
- 上一篇:宋体字体ttf以及ttc格式
- 下一篇:骚扰电话推销电话拦截数据库15万+
相关资源
- 基于STM32F103ZE的STH3x温湿度传感器代码
- STM32f103C8t6型单片机用于超声波测距
- STM32F103+SIM800A双向通信
- STM32F103采用DMA实现USART2接收和发送
- STM32F103采用DMA实现USART3接收和发送
- stm32f103和时钟芯片ds1302
- stm32f103驱动北微传感器
- 声光感应控制LED灯
- STM32F103 模糊自整定位置式PID控制电机
- 基于STM32的智能浇花系统(带ucosiii操
- 基于STM32F103的智能浇花系统
- 四路驱动小车stm32f103源码
- STM32F103读取ds18b20温度传感器
- stm32f103iic读取AT24XX全系eeprom
- 2011-2018电子设计大赛通信类优秀设计
- STM32F103C8T6+OLED
- STM32F103的4轴步进电机加减速控制工程
- LORA完成.rar
- 基于双目视觉的室内标签定位系统(
- STM32F103C8T6+DHT11+SGP30+CH340+ADC
- STM32F103C8T6+DHT11+OLED
- stm32f103zet6+摄像头颜色识别
- msp430驱动fdc2214
- stm32f103中文资料.
- STM32F103 SX1278完整的通讯程序+sx12xxDr
- stm32f103c8t6 OLED 硬件SPI
- mlx90614红外测温传感器stm32f103rct6
- stm32f103高级定时器双通道输入捕获
- STM32F103内部Flash读写源码可直接运行
- STM32F103 ADC+USART
评论
共有 条评论