STM32F10x_StdPeriph_Examples/USART/HyperTerminal_Interrupt/stm32f10x_it.c File Reference

Main Interrupt Service Routines. This file provides template for all exceptions handler and peripherals interrupt service routine. More...

#include "stm32f10x_it.h"
#include "stm32f10x.h"
#include "stm32_eval.h"

Go to the source code of this file.

Defines

#define countof(a)   (sizeof(a) / sizeof(*(a)))
#define RxBufferSize   0x20
#define TxBufferSize   (countof(TxBuffer) - 1)
#define USARTx_IRQHandler   USART1_IRQHandler

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.
void USARTx_IRQHandler (void)
 This function handles USARTx global interrupt request.

Variables

uint8_t NbrOfDataToRead = RxBufferSize
uint8_t NbrOfDataToTransfer = TxBufferSize
uint8_t RxBuffer [RxBufferSize]
uint16_t RxCounter = 0
uint8_t TxBuffer []
uint8_t TxCounter = 0

Detailed Description

Main Interrupt Service Routines. This file provides template for all exceptions handler and peripherals interrupt service routine.

Author:
MCD Application Team
Version:
V3.4.0
Date:
10/15/2010

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.

© COPYRIGHT 2010 STMicroelectronics

Definition in file STM32F10x_StdPeriph_Examples/USART/HyperTerminal_Interrupt/stm32f10x_it.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32