| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
ST18952 Datasheet(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST18952 Datasheet(HTML) 31 Page - STMicroelectronics |
|
31 / 67 page ![]() 31/66 ST18952 9 Timers There are two timer (TIM) units on the ST18952. The timers enable interrupts to be generated after predefined periods of time. Each timer has the following features: • 16 bits linear timer / 4 bits exponential prescaler • counting between 16 bits “start value” and 16 bits “end value” • counting period between 2 cycles and 232 cycles (50ns to 107s for a 40 MHz D950). Note, 1 cycle = 2 MCLK periods. • 1 maskable interrupt request • external counting clock input • programmable functions: • external / internal clock • up / down counting • continue / stop modes • interrupt enable When bit 4 of the PICR system register (see Table ) is set to ‘1’, TIM0 interrupt request output is connected to the ITRQ4 input of the interrupt controller. When bit 5 of the PICR register is set to ‘1’, TIM1 interrupt request output is connected to the ITRQ5 input of the interrupt controller. Refer to Chapter 8 for full details on the interrupt controller. After reset, the timers interrupt outputs are not connected. Setting the timer enable (TEN) bit of the timer control (TCR) register to ‘1’ starts the timer. 9.1 Timer registers TCR0-1: Timer control register The timer control register (TCR) contains timer control information. (Address = 0058/005C, Reset value = 0000 h, Read/Write) 15 14 13 12 11 10 9876 54 3210 (0) (0) (0) (0) (0) (0) TFP(3:0) ITCM TIE TCS TLE TUD TEN Bit Function TEN Timer enable (bit 0) • When TEN = ‘0’, the TIM is disabled. • When TEN = ‘1’, the TIM is started. Note: the timer must be disabled before the timer registers are configured, otherwise its behavior is not guaranteed. Once configured it can be enabled. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |