forked from epagris/FreeRTOS-Kernel
		
	This commit is contained in:
		
							parent
							
								
									f0c4accb88
								
							
						
					
					
						commit
						f7f28ed01a
					
				@ -1648,9 +1648,6 @@
 | 
			
		||||
  </configuration>
 | 
			
		||||
  <group>
 | 
			
		||||
    <name>Demo Source</name>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\Demo\source\75x_it.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
@ -1673,7 +1670,7 @@
 | 
			
		||||
      <name>$PROJ_DIR$\..\Common\Minimal\integer.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\Demo\source\lcd.c</name>
 | 
			
		||||
      <name>$PROJ_DIR$\STLibrary\src\lcd.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\main.c</name>
 | 
			
		||||
@ -1696,6 +1693,9 @@
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\STLibrary\src\75x_gpio.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\STLibrary\src\75x_it.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
    <file>
 | 
			
		||||
      <name>$PROJ_DIR$\STLibrary\src\75x_lib.c</name>
 | 
			
		||||
    </file>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										106
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/inc/75x_conf.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										106
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/inc/75x_conf.h
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,106 @@
 | 
			
		||||
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
 | 
			
		||||
* File Name          : 75x_conf.h
 | 
			
		||||
* Author             : MCD Application Team
 | 
			
		||||
* Date First Issued  : 03/10/2006
 | 
			
		||||
* Description        : Library configuration file.
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* History:
 | 
			
		||||
* 07/17/2006 : V1.0
 | 
			
		||||
* 03/10/2006 : V0.1
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* THE PRESENT SOFTWARE 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.
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
 | 
			
		||||
/* Define to prevent recursive inclusion -------------------------------------*/
 | 
			
		||||
#ifndef __75x_CONF_H
 | 
			
		||||
#define __75x_CONF_H
 | 
			
		||||
 | 
			
		||||
/* Includes ------------------------------------------------------------------*/
 | 
			
		||||
/* Exported types ------------------------------------------------------------*/
 | 
			
		||||
/* Exported constants --------------------------------------------------------*/
 | 
			
		||||
/* Comment the line below to compile the library in release mode */
 | 
			
		||||
//#define DEBUG
 | 
			
		||||
 | 
			
		||||
/************************************* SMI ************************************/
 | 
			
		||||
//#define _SMI
 | 
			
		||||
 | 
			
		||||
/************************************* CFG ************************************/
 | 
			
		||||
#define _CFG
 | 
			
		||||
 | 
			
		||||
/************************************* MRCC ************************************/
 | 
			
		||||
#define _MRCC
 | 
			
		||||
 | 
			
		||||
/************************************* ADC ************************************/
 | 
			
		||||
//#define _ADC
 | 
			
		||||
 | 
			
		||||
/************************************* TB *************************************/
 | 
			
		||||
#define _TB
 | 
			
		||||
 | 
			
		||||
/************************************* TIM ************************************/
 | 
			
		||||
#define _TIM
 | 
			
		||||
#define _TIM0
 | 
			
		||||
#define _TIM1
 | 
			
		||||
#define _TIM2
 | 
			
		||||
 | 
			
		||||
/************************************* PWM ************************************/
 | 
			
		||||
#define _PWM
 | 
			
		||||
 | 
			
		||||
/************************************* WDG ************************************/
 | 
			
		||||
#define _WDG
 | 
			
		||||
 | 
			
		||||
/************************************* SSP ************************************/
 | 
			
		||||
//#define _SSP
 | 
			
		||||
//#define _SSP0
 | 
			
		||||
//#define _SSP1
 | 
			
		||||
 | 
			
		||||
/************************************* CAN ************************************/
 | 
			
		||||
//#define _CAN
 | 
			
		||||
 | 
			
		||||
/************************************* I2C ************************************/
 | 
			
		||||
//#define _I2C
 | 
			
		||||
 | 
			
		||||
/************************************* UART ***********************************/
 | 
			
		||||
#define _UART
 | 
			
		||||
#define _UART0
 | 
			
		||||
#define _UART1
 | 
			
		||||
#define _UART2
 | 
			
		||||
 | 
			
		||||
/************************************* GPIO ***********************************/
 | 
			
		||||
#define _GPIO
 | 
			
		||||
#define _GPIO0
 | 
			
		||||
#define _GPIO1
 | 
			
		||||
#define _GPIO2
 | 
			
		||||
#define _GPIOREMAP
 | 
			
		||||
 | 
			
		||||
/************************************* DMA ************************************/
 | 
			
		||||
//#define _DMA
 | 
			
		||||
//#define _DMA_Stream0
 | 
			
		||||
//#define _DMA_Stream1
 | 
			
		||||
//#define _DMA_Stream2
 | 
			
		||||
//#define _DMA_Stream3
 | 
			
		||||
 | 
			
		||||
/************************************* RTC ************************************/
 | 
			
		||||
//#define _RTC
 | 
			
		||||
 | 
			
		||||
/************************************* EXTIT **********************************/
 | 
			
		||||
#define _EXTIT
 | 
			
		||||
 | 
			
		||||
/************************************* EIC ************************************/
 | 
			
		||||
#define _EIC
 | 
			
		||||
 | 
			
		||||
/* Comment the following line, depending on the external Quartz oscillator used
 | 
			
		||||
   in your application */
 | 
			
		||||
#define Main_Oscillator    4000000   /* 4 MHz Quartz oscillator used */
 | 
			
		||||
//#define Main_Oscillator    8000000   /* 8 MHz Quartz oscillator used */
 | 
			
		||||
 | 
			
		||||
/* Exported macro ------------------------------------------------------------*/
 | 
			
		||||
/* Exported functions ------------------------------------------------------- */
 | 
			
		||||
 | 
			
		||||
#endif /* __75x_CONF_H */
 | 
			
		||||
 | 
			
		||||
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/
 | 
			
		||||
							
								
								
									
										120
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/inc/lcd.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/inc/lcd.h
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,120 @@
 | 
			
		||||
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
 | 
			
		||||
* File Name          : lcd.h
 | 
			
		||||
* Author             : MCD Application Team
 | 
			
		||||
* Date First Issued  : 03/10/2006
 | 
			
		||||
* Description        : This file contains all the functions prototypes for the
 | 
			
		||||
*                      lcd software driver.
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* History:
 | 
			
		||||
* 07/17/2006 : V1.0
 | 
			
		||||
* 03/10/2006 : V0.1
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* THE PRESENT SOFTWARE 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.
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
 | 
			
		||||
/* Define to prevent recursive inclusion ---------------------------------------*/
 | 
			
		||||
#ifndef __LCD_H
 | 
			
		||||
#define __LCD_H
 | 
			
		||||
 | 
			
		||||
/* Includes --------------------------------------------------------------------*/
 | 
			
		||||
#include "75x_lib.h"
 | 
			
		||||
 | 
			
		||||
/* Exported types --------------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
  /* Data lines configuration mode */
 | 
			
		||||
  typedef enum
 | 
			
		||||
  {
 | 
			
		||||
    Input,
 | 
			
		||||
    Output
 | 
			
		||||
  } DataConfigMode_TypeDef;
 | 
			
		||||
 | 
			
		||||
  /* Text color mode */
 | 
			
		||||
  typedef enum
 | 
			
		||||
  {
 | 
			
		||||
    BlackText=0,
 | 
			
		||||
    WhiteText=1
 | 
			
		||||
  } TextColorMode_TypeDef;
 | 
			
		||||
 | 
			
		||||
  /* Dot On/Off mode */
 | 
			
		||||
  typedef enum
 | 
			
		||||
  {
 | 
			
		||||
    Dot_On,
 | 
			
		||||
    Dot_Off
 | 
			
		||||
  } DotMode_TypeDef;
 | 
			
		||||
 | 
			
		||||
/* Exported constants ----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
/* LCD Control pins */
 | 
			
		||||
#define CtrlPin_E2           0x00000001
 | 
			
		||||
#define CtrlPin_E1           0x00000002
 | 
			
		||||
#define CtrlPin_RW           0x00000004
 | 
			
		||||
#define CtrlPin_DI           0x00000008
 | 
			
		||||
 | 
			
		||||
/* LCD Commands */
 | 
			
		||||
#define DISPLAY_ON             0xAF
 | 
			
		||||
#define DISPLAY_OFF            0xAE
 | 
			
		||||
#define START_LINE             0xC0
 | 
			
		||||
#define START_COLUMN           0x00
 | 
			
		||||
#define CLOCKWISE_OUTPUT       0xA0
 | 
			
		||||
#define DYNAMIC_DRIVE 	       0xA4
 | 
			
		||||
#define DUTY_CYCLE             0xA9
 | 
			
		||||
#define READ_MODIFY_WRITE_OFF  0xEE
 | 
			
		||||
#define SOFTWARE_RESET         0xE2
 | 
			
		||||
 | 
			
		||||
/* LCD Lines when LCD is managed as 2*17 characters */
 | 
			
		||||
#define Line1    0x0
 | 
			
		||||
#define Line2    0x2
 | 
			
		||||
 | 
			
		||||
/* Exported macro --------------------------------------------------------------*/
 | 
			
		||||
/* Exported functions ----------------------------------------------------------*/
 | 
			
		||||
/*----- Low layer function -----*/
 | 
			
		||||
void LCD_CtrlLinesConfig(void);
 | 
			
		||||
void LCD_CtrlLinesWrite(GPIO_TypeDef* GPIOx, u32 CtrlPins, BitAction BitVal);
 | 
			
		||||
void LCD_DataLinesConfig(DataConfigMode_TypeDef Mode);
 | 
			
		||||
void LCD_DataLinesWrite(GPIO_TypeDef* GPIOx, u32 PortVal);
 | 
			
		||||
 | 
			
		||||
/*----- Medium layer function -----*/
 | 
			
		||||
void LCD_CheckMasterStatus(void);
 | 
			
		||||
void LCD_CheckSlaveStatus(void);
 | 
			
		||||
void LCD_SendMasterCmd(u8 Cmd);
 | 
			
		||||
void LCD_SendSlaveCmd(u8 Cmd);
 | 
			
		||||
void LCD_SendMasterData(u8 Data);
 | 
			
		||||
u32 LCD_ReadMasterData(void);
 | 
			
		||||
void LCD_SendSlaveData(u8 Data);
 | 
			
		||||
u32 LCD_ReadSlaveData(void);
 | 
			
		||||
void LCD_SetMasterPage(u8 Page); 	
 | 
			
		||||
void LCD_SetSlavePage(u8 Page);
 | 
			
		||||
void LCD_SetMasterColumn(u8 Address);
 | 
			
		||||
void LCD_SetSlaveColumn(u8 Address);
 | 
			
		||||
void LCD_DrawChar(u8 Line, u8 Column, u8 Width, u8 *Bmp);
 | 
			
		||||
u8 LCD_HexToAsciiLow(u8 byte);
 | 
			
		||||
u8 LCD_HexToAsciiHigh(u8 byte);
 | 
			
		||||
void LCD_SetTextColor(TextColorMode_TypeDef TextColor);
 | 
			
		||||
 | 
			
		||||
/*----- High layer function -----*/
 | 
			
		||||
void LCD_Init(void);
 | 
			
		||||
/* LCD managed as 2 Lines, 17 characters each one (2Lines*17Char) */
 | 
			
		||||
void LCD_ClearLine(u8 Line);
 | 
			
		||||
void LCD_DisplayChar(u8 Line, u8 Column, u8 Ascii, TextColorMode_TypeDef CharMode);
 | 
			
		||||
void LCD_DisplayString(u8 Line, u8 *ptr, TextColorMode_TypeDef CharMode);
 | 
			
		||||
void LCD_Printf(u8* ptr, ...);
 | 
			
		||||
/* LCD managed as 122*32 dots */
 | 
			
		||||
void LCD_ClearMaster(void);
 | 
			
		||||
void LCD_ClearSlave(void);
 | 
			
		||||
void LCD_Clear(void);
 | 
			
		||||
void LCD_DrawMasterGraphic(u8 *Bmp);
 | 
			
		||||
void LCD_DrawSlaveGraphic(u8 *Bmp);
 | 
			
		||||
void LCD_DrawGraphic(u8 *Bmp);
 | 
			
		||||
void LCD_ScrollGraphic(u8 *Bmp, u32 nCount);
 | 
			
		||||
void LCD_DrawPixel(u8 XPos, u8 YPos, DotMode_TypeDef Mode);
 | 
			
		||||
void LCD_DrawLine(u8 XPos1, u8 YPos1, u8 XPos2, u8 YPos2);
 | 
			
		||||
void LCD_DrawBox(u8 XPos, u8 YPos, u8 Dx, u8 Dy);
 | 
			
		||||
 | 
			
		||||
#endif /*__LCD_H */
 | 
			
		||||
 | 
			
		||||
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE******/
 | 
			
		||||
							
								
								
									
										448
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/src/75x_it.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										448
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/src/75x_it.c
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,448 @@
 | 
			
		||||
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
 | 
			
		||||
* File Name          : 75x_it.c
 | 
			
		||||
* Author             : MCD Application Team
 | 
			
		||||
* Date First Issued  : 03/10/2006
 | 
			
		||||
* Description        : Main Interrupt Service Routines.
 | 
			
		||||
*                      This file can be used to describe all the exceptions
 | 
			
		||||
*                      subroutines that may occur within user application.
 | 
			
		||||
*                      When an interrupt happens, the software will branch
 | 
			
		||||
*                      automatically to the corresponding routine according
 | 
			
		||||
*                      to the interrupt vector loaded in the PC register.
 | 
			
		||||
*                      The following routines are all empty, user can write code
 | 
			
		||||
*                      for exceptions handlers and peripherals IRQ interrupts.
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* History:
 | 
			
		||||
* 07/17/2006 : V1.0
 | 
			
		||||
* 03/10/2006 : V0.1
 | 
			
		||||
********************************************************************************
 | 
			
		||||
* THE PRESENT SOFTWARE 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.
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
 | 
			
		||||
/* Includes ------------------------------------------------------------------*/
 | 
			
		||||
/* Private typedef -----------------------------------------------------------*/
 | 
			
		||||
/* Private define ------------------------------------------------------------*/
 | 
			
		||||
/* Private macro -------------------------------------------------------------*/
 | 
			
		||||
/* Private variables ---------------------------------------------------------*/
 | 
			
		||||
/* Private function prototypes -----------------------------------------------*/
 | 
			
		||||
/* Private functions ---------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : Undefined_Handler
 | 
			
		||||
* Description    : This function handles Undefined instruction exception.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void Undefined_Handler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : FIQ_Handler
 | 
			
		||||
* Description    : This function handles FIQ exception.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void FIQ_Handler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : SWI_Handler
 | 
			
		||||
* Description    : This function handles SW exception.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void SWI_Handler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : Prefetch_Handler
 | 
			
		||||
* Description    : This function handles preftetch abort exception.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void Prefetch_Handler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : Abort_Handler
 | 
			
		||||
* Description    : This function handles data abort exception.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void Abort_Handler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : WAKUP_IRQHandler
 | 
			
		||||
* Description    : This function handles External line 15(WAKUP) interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void WAKUP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM2_OC2_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM2 Output Compare 2 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM2_OC2_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM2_OC1_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM2 Output Compare 1 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM2_OC1_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM2_IC12_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM2 Input Capture 1 & 2 interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM2_IC12_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM2_UP_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM2 Update interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM2_UP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM1_OC2_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM1 Output Compare 2 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM1_OC2_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM1_OC1_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM1 Output Compare 1 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM1_OC1_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM1_IC12_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM1 Input Capture 1 & 2 interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM1_IC12_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM1_UP_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM1 Update interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM1_UP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM0_OC2_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM0 Output Compare 2 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM0_OC2_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM0_OC1_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM0 Output Compare 1 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM0_OC1_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM0_IC12_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM0 Input Capture 1 & 2 interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM0_IC12_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : TIM0_UP_IRQHandler
 | 
			
		||||
* Description    : This function handles TIM0 Update interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TIM0_UP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : PWM_OC123_IRQHandler
 | 
			
		||||
* Description    : This function handles PWM Output Compare 1,2&3 interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void PWM_OC123_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : PWM_EM_IRQHandler
 | 
			
		||||
* Description    : This function handles PWM Emergency interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void PWM_EM_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : PWM_UP_IRQHandler
 | 
			
		||||
* Description    : This function handles PWM Update interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void PWM_UP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : I2C_IRQHandler
 | 
			
		||||
* Description    : This function handles I2C global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void I2C_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : SSP1_IRQHandler
 | 
			
		||||
* Description    : This function handles SSP1 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void SSP1_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : SSP0_IRQHandler
 | 
			
		||||
* Description    : This function handles SSP0 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void SSP0_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : UART2_IRQHandler
 | 
			
		||||
* Description    : This function handles UART2 global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void UART2_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : UART1_IRQHandler
 | 
			
		||||
* Description    : This function handles UART1 global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void UART1_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : UART0_IRQHandler
 | 
			
		||||
* Description    : This function handles UART0 global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void UART0_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : CAN_IRQHandler
 | 
			
		||||
* Description    : This function handles CAN global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void CAN_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : USBLP_IRQHandler
 | 
			
		||||
* Description    : This function handles USB Low Priority event interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void USB_LP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : USBHP_IRQHandler
 | 
			
		||||
* Description    : This function handles USB High Priority event interrupt
 | 
			
		||||
*                  request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void USB_HP_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : ADC_IRQHandler
 | 
			
		||||
* Description    : This function handles ADC global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void ADC_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : DMA_IRQHandler
 | 
			
		||||
* Description    : This function handles DMA global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void DMA_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : EXTIT_IRQHandler
 | 
			
		||||
* Description    : This function handles External lines 14 to 1 interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void EXTIT_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : MRCC_IRQHandler
 | 
			
		||||
* Description    : This function handles MRCC interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void MRCC_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
* Function Name  : FLASHSMI_IRQHandler
 | 
			
		||||
* Description    : This function handles Flash and SMI global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void FLASHSMI_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  : TB_IRQHandler
 | 
			
		||||
* Description    : This function handles TB global interrupt request.
 | 
			
		||||
* Input          : None
 | 
			
		||||
* Output         : None
 | 
			
		||||
* Return         : None
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
void TB_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/
 | 
			
		||||
							
								
								
									
										1403
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/src/lcd.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1403
									
								
								Demo/ARM7_STR75x_IAR/STLibrary/src/lcd.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -3,7 +3,7 @@
 | 
			
		||||
<Workspace>
 | 
			
		||||
  <ConfigDictionary>
 | 
			
		||||
    
 | 
			
		||||
  <CurrentConfigs><Project>RTOSDemo/Release</Project></CurrentConfigs></ConfigDictionary>
 | 
			
		||||
  <CurrentConfigs><Project>RTOSDemo/Debug</Project></CurrentConfigs></ConfigDictionary>
 | 
			
		||||
  <Desktop>
 | 
			
		||||
    <Static>
 | 
			
		||||
      <Workspace>
 | 
			
		||||
@ -40,7 +40,7 @@
 | 
			
		||||
            <Factory>Workspace</Factory>
 | 
			
		||||
            <Session>
 | 
			
		||||
              
 | 
			
		||||
            <NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/source</ExpandedNode><ExpandedNode>RTOSDemo/startup</ExpandedNode></NodeDict></Session>
 | 
			
		||||
            <NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/source</ExpandedNode></NodeDict></Session>
 | 
			
		||||
          </Tab>
 | 
			
		||||
        </Tabs>
 | 
			
		||||
        
 | 
			
		||||
@ -50,14 +50,14 @@
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
    <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\ARM7_STR75x_IAR\main.c</Filename><XPos>0</XPos><YPos>119</YPos><SelStart>5333</SelStart><SelEnd>5333</SelEnd></Tab><ActiveTab>0</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
 | 
			
		||||
    <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\ARM7_STR75x_IAR\main.c</Filename><XPos>0</XPos><YPos>119</YPos><SelStart>5333</SelStart><SelEnd>5333</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\rc\2\V4.1.2rc1\Demo\ARM7_STR75x_IAR\STLibrary\inc\75x_map.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>1345</SelStart><SelEnd>1345</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\rc\2\V4.1.2rc1\Demo\ARM7_STR75x_IAR\STLibrary\src\75x_it.c</Filename><XPos>0</XPos><YPos>21</YPos><SelStart>1939</SelStart><SelEnd>1939</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\rc\2\V4.1.2rc1\Demo\ARM7_STR75x_IAR\STLibrary\src\lcd.c</Filename><XPos>0</XPos><YPos>212</YPos><SelStart>16221</SelStart><SelEnd>16239</SelEnd></Tab><ActiveTab>3</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
 | 
			
		||||
    <Positions>
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
    <Top><Row0><Sizes><Toolbar-00a0bb80><key>iaridepm1</key></Toolbar-00a0bb80></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>705</Bottom><Right>298</Right><x>-2</x><y>-2</y><xscreen>0</xscreen><yscreen>0</yscreen><sizeHorzCX>0</sizeHorzCX><sizeHorzCY>0</sizeHorzCY><sizeVertCX>214286</sizeVertCX><sizeVertCY>727366</sizeVertCY></Rect></Wnd0></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>221</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>223</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>229424</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205761</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
 | 
			
		||||
    <Top><Row0><Sizes><Toolbar-00a0bb80><key>iaridepm1</key></Toolbar-00a0bb80></Sizes></Row0></Top><Left><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>705</Bottom><Right>298</Right><x>-2</x><y>-2</y><xscreen>0</xscreen><yscreen>0</yscreen><sizeHorzCX>0</sizeHorzCX><sizeHorzCY>0</sizeHorzCY><sizeVertCX>214286</sizeVertCX><sizeVertCY>727366</sizeVertCY></Rect></Wnd0></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>221</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>223</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>229424</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205761</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
 | 
			
		||||
  </Desktop>
 | 
			
		||||
</Workspace>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user