Rev 41 |
Rev 172 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#ifndef __91x_CONF_H
#define __91x_CONF_H
/* To work in buffered mode just decomment the following line */
//#define Buffered
/* Comment the line below to put the library in release mode */
//#define DEBUG
#define _RCLK_Divisor SCU_RCLK_Div1 // Reference clock divisor
#define _HCLK_Divisor SCU_HCLK_Div1 // ARM high speed bus divisor
#define _PCLK_Divisor SCU_PCLK_Div1 // ARM Peripheral bus divisor
#define _FMICLK_Divisor SCU_FMICLK_Div2 // FMI divisor
/************************* AHBAPB *************************/
//#define _AHBAPB
//#define _AHBAPB0
//#define _AHBAPB1
/************************* VIC *************************/
#define _VIC
#define _VIC0
#define _VIC1
/************************* DMA *************************/
//#define _DMA
//#define _DMA_Channel0
//#define _DMA_Channel1
//#define _DMA_Channel2
//#define _DMA_Channel3
//#define _DMA_Channel4
//#define _DMA_Channel5
//#define _DMA_Channel6
//#define _DMA_Channel7
/************************* EMI *************************/
//#define _EMI
//#define _EMI_Bank0
//#define _EMI_Bank1
//#define _EMI_Bank2
//#define _EMI_Bank3
/************************* FMI *************************/
#define _FMI
/************************* WIU *************************/
#define _WIU
/************************* TIM *************************/
#define _TIM
#define _TIM0
#define _TIM1
#define _TIM2
#define _TIM3
/************************* GPIO ************************/
#define _GPIO
#define _GPIO0
#define _GPIO1
#define _GPIO2
#define _GPIO3
#define _GPIO4
#define _GPIO5
#define _GPIO6
#define _GPIO7
#define _GPIO8
#define _GPIO9
/************************* RTC *************************/
//#define _RTC
/************************* SCU *************************/
#define _SCU
/************************* MC **************************/
//#define _MC
/************************* UART ************************/
#define _UART
#define _UART0
#define _UART1
#define _UART2
/************************* SSP *************************/
#define _SSP
#define _SSP0
#define _SSP1
/************************* CAN *************************/
//#define _CAN
/************************* ADC *************************/
//#define _ADC
/************************* WDG *************************/
//#define _WDG
/************************* I2C *************************/
#define _I2C
//#define _I2C0
#define _I2C1
/************************ ENET *************************/
//#define _ENET
/************************ USB *************************/
#define _USB
#endif /* __91x_CONF_H */
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/