/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : stm32f10x_it.c
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : Main Interrupt Service Routines.
* This file provides template for all exceptions handler
* and peripherals interrupt service routine.
********************************************************************************
* 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 FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include "System_init.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define RxBufferSize 4
/* Private macro -------------------------------------------------------------*/
#define countof(a) (sizeof(a) / sizeof(*(a)))
/* Private variables ---------------------------------------------------------*/
u8 RxBuffer[RxBufferSize]={'0','0','0','0'};
u8 NbrOfDataToRead = RxBufferSize;
u16 RxCounter = 0;
int U_Set=500;
int Counter_100uS=0;
int Counter_1mS=0;
int Counter_100mS=0;
unsigned char Flag_1mS=0;
unsigned char Flag_100mS=0;
unsigned char Flag_1S=0;
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/*******************************************************************************
* Function Name : NMIException
* Description : This function handles NMI exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void NMIException(void)
{
}
/*******************************************************************************
* Function Name : HardFaultException
* Description : This function handles Hard Fault exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void HardFaultException(void)
{
/* Go to infinite loop when Hard Fault exception occurs */
while (1)
{
}
}
/*******************************************************************************
* Function Name : MemManageException
* Description : This function handles Memory Manage exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void MemManageException(void)
{
/* Go to infinite loop when Memory Manage exception occurs */
while (1)
{
}
}
/*******************************************************************************
* Function Name : BusFaultException
* Description : This function handles Bus Fault exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BusFaultException(void)
{
/* Go to infinite loop when Bus Fault exception occurs */
while (1)
{
}
}
/*******************************************************************************
* Function Name : UsageFaultException
* Description : This function handles Usage Fault exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UsageFaultException(void)
{
/* Go to infinite loop when Usage Fault exception occurs */
while (1)
{
}
}
/*******************************************************************************
* Function Name : DebugMonitor
* Description : This function handles Debug Monitor exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void DebugMonitor(void)
{
}
/*******************************************************************************
* Function Name : SVCHandler
* Description : This function handles SVCall exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void SVCHandler(void)
{
}
/*******************************************************************************
* Function Name : PendSVC
* Description : This function handles PendSVC exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PendSVC(void)
{
}
/*******************************************************************************
* Function Name : SysTickHandler
* Description : This function handles SysTick Handler.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void SysTickHandler(void)
{
Counter_100uS++;
if(Counter_100uS==10){
Counter_1mS++;
Flag_1mS=1;
Counter_100uS=0;
}
if(Counter_1mS==100){
Counter_100mS++;
Flag_100mS=1;
Counter_1mS=0;
}
if(Counter_100mS==10){
Flag_1S=1;
Counter_100mS=0;
}
}
/*******************************************************************************
* Function Name : WWDG_IRQHandler
* Description : This function handles WWDG interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void WWDG_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : PVD_IRQHandler
* Description : This function handles PVD interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PVD_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : TAMPER_IRQHandler
* Description : This function handles Tamper interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void TAMPER_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : RTC_IRQHandler
* Description : This function handles RTC global interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void RTC_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : FLASH_IRQHandler
* Description : This function handles Flash interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void FLASH_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : RCC_IRQHandler
* Description : This function handles RC
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
通过PID算法控制STM32的PWM输出.rar (67个子文件)
21ic下载_单片机的PID算法实例,通过PID算法控制STM32的PWM输出
PID完美版2011.1.11
stm32f10x_wwdg.h 3KB
stm32f10x_it.h 4KB
Project.uvopt 15KB
Project.uvproj.saved_uv4 33KB
Project_Opt.Bak 3KB
Project_Uv2.Bak 5KB
Adjust.c 2KB
stm32f10x_sdio.h 18KB
stm32f10x_spi.h 13KB
stm32f10x_conf.h 6KB
stm32f10x_adc.h 18KB
stm32f10x_i2c.h 16KB
Project.uvprojx 33KB
System_init.c 12KB
stm32f10x_crc.h 2KB
Project.uvgui.ACER0 72KB
stm32f10x_type.h 3KB
stm32f10x_pwr.h 4KB
cortexm3_macro.h 2KB
Project.uvguix.ACER0 136KB
stm32f10x_dma.h 18KB
stm32f10x_exti.h 6KB
stm32f10x_map.h 28KB
stm32f10x_systick.h 3KB
RTE
RTE_Components.h 260B
stm32f10x_flash.h 14KB
STM32F10xR.LIB 1.67MB
stm32f10x_usart.h 14KB
stm32f10x_iwdg.h 3KB
stm32f10x_it.c 30KB
stm32f10x_rtc.h 4KB
stm32f10x_bkp.h 7KB
Obj
system_init.d 1KB
stm32f10x_vector.d 46B
stm32f10x_it.o 249KB
STM3210E-EVAL.hex 17KB
adjust.o 166KB
main.d 1023B
STM3210E-EVAL.build_log.htm 2KB
adjust.d 1KB
system_init.o 180KB
stm32f10x_it.d 1KB
STM3210E-EVAL.axf 246KB
STM3210E-EVAL.tra 1KB
STM3210E-EVAL.lnp 405B
stm32f10x_vector.o 6KB
STM3210E-EVAL.htm 58KB
STM3210E-EVAL.sct 479B
STM3210E-EVAL.plg 11KB
main.o 165KB
Project_STM3210E-EVAL.dep 6KB
stm32f10x_can.h 12KB
stm32f10x_vector.s 13KB
stm32f10x_rcc.h 14KB
stm32f10x_dbgmcu.h 3KB
Adjust.h 110B
System_init.h 329B
stm32f10x_nvic.h 19KB
Project_STM3210E-EVAL.dep 10KB
main.c 3KB
stm32f10x_fsmc.h 19KB
stm32f10x_gpio.h 14KB
Project.uvoptx 16KB
stm32f10x_lib.h 3KB
stm32f10x_tim.h 46KB
Lst
STM3210E-EVAL.map 130KB
stm32f10x_vector.lst 36KB
共 67 条
- 1
资源评论
- shanliangxiao2019-05-19wangle什么时候下的
- m0_633086642022-06-22假的 就一个switch
- emmm1234567892021-02-15没有一点用 骗积分
qasxc78563
- 粉丝: 648
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 毕业设计-仿生六足机器人的制作全教程源码+电子元器件+程序代码+线路组件图+安装教程+搭建视频教程
- 基于ROS和webots的xrobot机械臂仿真初探C++源码
- 基于ROS的点焊机器人仿真与控制python源码+文档说明+使用说明+详细注释
- 基于vue实现的细粒度交通时空大数据分析系统+源代码+文档说明
- 安卓大作业-基于Electron的交通时空大数据分析挖掘系统客户端(Android)+源代码+文档说明+界面截图
- 基于Java的朱氏集团客户关系管理系统设计源码
- 基于C++的作业提交与批改系统设计源码
- 基于Vue2的移动端电影资讯网站设计源码
- 高分课程设计作业-基于QT的模仿宝石迷阵游戏C++源码+文档说明+界面截图
- 基于Apache Spark的Spark DistCP重实现设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功