2010-08-08 02:14:22 +02:00
|
|
|
/******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
|
|
|
|
* File Name : hw_config.h
|
|
|
|
* Author : MCD Application Team
|
|
|
|
* Version : V3.2.1
|
|
|
|
* Date : 07/05/2010
|
|
|
|
* 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.
|
|
|
|
*******************************************************************************/
|
2010-08-22 21:51:55 +02:00
|
|
|
|
2010-08-08 02:14:22 +02:00
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef __HW_CONFIG_H
|
|
|
|
#define __HW_CONFIG_H
|
2010-08-22 21:51:55 +02:00
|
|
|
|
2010-08-08 02:14:22 +02:00
|
|
|
/* Includes ------------------------------------------------------------------*/
|
2010-08-22 21:51:55 +02:00
|
|
|
#include "usb_type.h"
|
|
|
|
|
2010-08-08 02:14:22 +02:00
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
2010-08-22 21:51:55 +02:00
|
|
|
/* Exported define -----------------------------------------------------------*/
|
2010-08-08 02:14:22 +02:00
|
|
|
/* Exported functions ------------------------------------------------------- */
|
|
|
|
void Set_System(void);
|
|
|
|
void Set_USBClock(void);
|
|
|
|
void Enter_LowPowerMode(void);
|
|
|
|
void Leave_LowPowerMode(void);
|
|
|
|
void USB_Interrupts_Config(void);
|
2010-08-22 21:51:55 +02:00
|
|
|
void USB_Cable_Config (FunctionalState NewState);
|
|
|
|
void GPIO_Configuration(void);
|
|
|
|
void EXTI_Configuration(void);
|
|
|
|
void ADC_Configuration(void);
|
2010-08-08 02:14:22 +02:00
|
|
|
void Get_SerialNum(void);
|
2010-08-22 21:51:55 +02:00
|
|
|
void Reset_Device(void);
|
2010-08-08 02:14:22 +02:00
|
|
|
#endif /*__HW_CONFIG_H*/
|
|
|
|
|
|
|
|
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
|