| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 103 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 103 Page - STMicroelectronics |
|
103 / 229 page ![]() UM0097 Peripheral firmware overview 103/229 #ifdef _TIM3 TIM3 = (TIM_TypeDef *)TIM3_BASE; #endif TIM0 = (TIM_TypeDef *)TIM0_BASE; In debug mode, _TIMx must be defined in the file 71x_conf.h to access the peripheral registers as follows: #define _TIMx (x=0..3) TIM values Table 46 enumerates the different values of the TIMx. TIM flags enumeration The following enumeration defines the different TIM flags. The TIM_Flags enumeration is defined in the file 71x_tim.h: typedef enum { TIM_ICFA = 0x8000, TIM_OCFA = 0x4000, TIM_TOF = 0x2000, TIM_ICFB = 0x1000, TIM_OCFB = 0x0800 } TIM_Flags; Table 47 describes the states of TIM flags. Table 46. TIMx values TIM Value Description TIM0 Timer 0 TIM1 Timer 1 TIM2 Timer 2 TIM3 Timer 3 Table 47. TIM flags TIM Flags Description TIM_ICFA TIM Input Capture channel A flag TIM_OCFA TIM Output Compare channel A flag TIM_TOF TIM Timer Overflow flag TIM_ICFB TIM Input Capture channel B flag TIM_OCFB TIM Output Compare channel B flag |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |