www.pudn.com > huoniu-for_128M(NAND)-FLASH).zip > hw_config.h, change:2009-04-28,size:2227b


/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** 
* File Name          : hw_config.h 
* Author             : MCD Application Team 
* Version            : V2.2.0 
* Date               : 06/13/2008 
* Description        : Hardware Configuration & Setup 
******************************************************************************** 
* 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. 
*******************************************************************************/ 
 
/* Define to prevent recursive inclusion -------------------------------------*/ 
#ifndef __HW_CONFIG_H 
#define __HW_CONFIG_H 
 
/* Includes ------------------------------------------------------------------*/ 
#include "stm32f10x_type.h" 
/* Exported types ------------------------------------------------------------*/ 
/* Exported constants --------------------------------------------------------*/ 
/* Exported macro ------------------------------------------------------------*/ 
/* Exported define -----------------------------------------------------------*/ 
#define BULK_MAX_PACKET_SIZE  0x00000040 
 
/* Exported functions ------------------------------------------------------- */ 
void System_Init(void); 
void Set_USBClock(void); 
void Enter_LowPowerMode(void); 
void Leave_LowPowerMode(void); 
void USB_Interrupts_Config(void); 
void Led_Config(void); 
void Led_RW_ON(void); 
void Led_RW_OFF(void); 
void USB_Configured_LED(void); 
void USB_NotConfigured_LED(void); 
void USB_Cable_Config (FunctionalState NewState); 
void USB_Disconnect_Config(void); 
void Get_SerialNum(void); 
void MAL_Config(void); 
/* External variables --------------------------------------------------------*/ 
 
#endif  /*__HW_CONFIG_H*/ 
 
/******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/