Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

RM0312 Datasheet(PDF) 118 Page - STMicroelectronics

No. de pieza RM0312
Descripción Electrónicos  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 Datasheet(HTML) 118 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 114Page - STMicroelectronics RM0312 Datasheet HTML 115Page - STMicroelectronics RM0312 Datasheet HTML 116Page - STMicroelectronics RM0312 Datasheet HTML 117Page - STMicroelectronics RM0312 Datasheet HTML 118Page - STMicroelectronics RM0312 Datasheet HTML 119Page - STMicroelectronics RM0312 Datasheet HTML 120Page - STMicroelectronics RM0312 Datasheet HTML 121Page - STMicroelectronics RM0312 Datasheet HTML 122Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 118 / 275 page
background image
16-bit general purpose timer (TIM2/TIM3)
RM0312
118/275
DocID022352 Rev 3
The counter counts once each 2 ETR rising edges.
The delay between the rising edge on ETR and the actual reset of the counter is due to the
resynchronization circuit on the ETRP signal.
Figure 35. Control circuit in external clock mode 2
17.4.5
Trigger synchronization
There are four trigger inputs (refer to Table 33: Glossary of internal timer signals on
page 103):
ETR
TI1
TI2
TRGO from other timers
The TIMx timer can be synchronized with an external trigger in three modes: trigger
standard mode, trigger reset mode and trigger gated mode.
Trigger standard mode
The counter can start in response to an event on a selected input.
In the following example, the up-counter starts in response to a rising edge on TI2 input:
Configure the channel 2 to detect rising edges on TI2. Configure the input filter duration
(in this example, we don’t need any filter, so we keep IC2F=0b0000). The capture
prescaler is not used for triggering, so you don’t need to configure it. TI2S bits are
selecting the input capture source only, and don’t need to be configured too. Write
CC2P=0 in TIMx_CCER1 register to select rising edge polarity.
Configure the timer in trigger mode by writing SMS=0b110 in the TIMx_SMCR register.
Select TI2 as the input source by writing TS=0b110 in the TIMx_SMCR register.
When a rising edge occurs on TI2, the counter starts counting on the internal clock and the
TIF flag is set.
The delay between the rising edge on TI2 and the actual reset of the counter is due to the
resynchronization circuit on TI2 input.
COUNTER CLOCK = CK_CNT = CK_PSC
COUNTER REGISTER
35
36
34
ETR
CNT_EN
fMASTER
ETRP
ETRF



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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