1 |
577 |
jeremybenn |
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
|
2 |
|
|
* File Name : 75x_cfg.h
|
3 |
|
|
* Author : MCD Application Team
|
4 |
|
|
* Date First Issued : 03/10/2006
|
5 |
|
|
* Description : This file contains all the functions prototypes for the
|
6 |
|
|
* CFG software library.
|
7 |
|
|
********************************************************************************
|
8 |
|
|
* History:
|
9 |
|
|
* 07/17/2006 : V1.0
|
10 |
|
|
* 03/10/2006 : V0.1
|
11 |
|
|
********************************************************************************
|
12 |
|
|
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
|
13 |
|
|
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
|
14 |
|
|
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
|
15 |
|
|
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
|
16 |
|
|
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
|
17 |
|
|
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
|
18 |
|
|
*******************************************************************************/
|
19 |
|
|
|
20 |
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
21 |
|
|
#ifndef __75x_CFG_H
|
22 |
|
|
#define __75x_CFG_H
|
23 |
|
|
|
24 |
|
|
/* Includes ------------------------------------------------------------------*/
|
25 |
|
|
#include "75x_map.h"
|
26 |
|
|
|
27 |
|
|
/* Exported types ------------------------------------------------------------*/
|
28 |
|
|
/* Exported constants --------------------------------------------------------*/
|
29 |
|
|
#define CFG_BootSpace_FLASH 0x00000000
|
30 |
|
|
#define CFG_BootSpace_SRAM 0x00000002
|
31 |
|
|
#define CFG_BootSpace_ExtSMI 0x00000003
|
32 |
|
|
|
33 |
|
|
#define CFG_FLASHBurst_Disable 0xFFFFFEFF
|
34 |
|
|
#define CFG_FLASHBurst_Enable 0x00000100
|
35 |
|
|
|
36 |
|
|
#define CFG_USBFilter_Disable 0xFFFFFDFF
|
37 |
|
|
#define CFG_USBFilter_Enable 0x00000200
|
38 |
|
|
|
39 |
|
|
/* Exported macro ------------------------------------------------------------*/
|
40 |
|
|
/* Exported functions ------------------------------------------------------- */
|
41 |
|
|
void CFG_BootSpaceConfig(u32 CFG_BootSpace);
|
42 |
|
|
void CFG_FLASHBurstConfig(u32 CFG_FLASHBurst);
|
43 |
|
|
void CFG_USBFilterConfig(u32 CFG_USBFilter);
|
44 |
|
|
FlagStatus CFG_GetFlagStatus(void);
|
45 |
|
|
|
46 |
|
|
#endif /* __75x_CFG_H */
|
47 |
|
|
|
48 |
|
|
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/
|