Rev 1 | Rev 238 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 196 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /******************** (C) COPYRIGHT 2006 STMicroelectronics ******************** |
1 | /******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** |
2 | * File Name : 91x_tim.h |
2 | * File Name : 91x_tim.h |
3 | * Author : MCD Application Team |
3 | * Author : MCD Application Team |
- | 4 | * Version : V2.1 |
|
4 | * Date First Issued : 05/18/2006 : Version 1.0 |
5 | * Date : 12/22/2008 |
5 | * Description : This file contains all the functions prototypes for the |
6 | * Description : This file contains all the functions prototypes for the |
6 | * TIM software library. |
7 | * TIM firmware library. |
7 | ******************************************************************************** |
- | |
8 | * History: |
- | |
9 | * 05/22/2007 : Version 1.2 |
- | |
10 | * 05/24/2006 : Version 1.1 |
- | |
11 | * 05/18/2006 : Version 1.0 |
- | |
12 | ******************************************************************************** |
8 | ******************************************************************************** |
13 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH |
9 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH |
14 | * CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS |
10 | * CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS |
15 | * A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT |
11 | * A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT |
16 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
12 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
Line 73... | Line 69... | ||
73 | #define TIM_TIMING 0x0002 |
69 | #define TIM_TIMING 0x0002 |
Line 74... | Line 70... | ||
74 | 70 | ||
75 | /* TIM CLOCK SOURCE */ |
71 | /* TIM CLOCK SOURCE */ |
76 | #define TIM_CLK_APB 0xFFFE |
72 | #define TIM_CLK_APB 0xFFFE |
77 | #define TIM_CLK_EXTERNAL 0x0001 |
- | |
- | 73 | #define TIM_CLK_EXTERNAL 0x0001 |
|
Line 78... | Line 74... | ||
78 | #define TIM_CLK_SCU 0x0001 |
74 | |
79 | 75 | ||
80 | /* TIM CLOCK EDGE */ |
76 | /* TIM CLOCK EDGE */ |
Line 151... | Line 147... | ||
151 | void TIM_DMAConfig(TIM_TypeDef *TIMx, u16 TIM_DMA_Sources); |
147 | void TIM_DMAConfig(TIM_TypeDef *TIMx, u16 TIM_DMA_Sources); |
152 | void TIM_DMACmd(TIM_TypeDef *TIMx, FunctionalState TIM_Newstate); |
148 | void TIM_DMACmd(TIM_TypeDef *TIMx, FunctionalState TIM_Newstate); |
Line 153... | Line 149... | ||
153 | 149 | ||
Line 154... | Line 150... | ||
154 | #endif /* __91x_TIM_H */ |
150 | #endif /* __91x_TIM_H */ |