Electronic Components Datasheet Search
  English  ▼

X  

RM0312 Datasheet(PDF) 107 Page - STMicroelectronics

Part # RM0312
Description  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 Datasheet(HTML) 107 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 103Page - STMicroelectronics RM0312 Datasheet HTML 104Page - STMicroelectronics RM0312 Datasheet HTML 105Page - STMicroelectronics RM0312 Datasheet HTML 106Page - STMicroelectronics RM0312 Datasheet HTML 107Page - STMicroelectronics RM0312 Datasheet HTML 108Page - STMicroelectronics RM0312 Datasheet HTML 109Page - STMicroelectronics RM0312 Datasheet HTML 110Page - STMicroelectronics RM0312 Datasheet HTML 111Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 107 / 275 page
background image
DocID022352 Rev 3
107/275
RM0312
16-bit general purpose timer (TIM2/TIM3)
170
17.3
TIMx time base unit
The timer has a Time base unit that includes:
16-bit up/down counter
16-bit auto-reload register
Prescaler
Figure 20. Time base unit
The 16-bit counter, the prescaler and the auto-reload register can be written or read by
software.
The auto-reload register is composed of a preload register plus a shadow register.
Writing to the auto-reload register can be done in two modes:
Auto-reload preload enabled (ARPE bit set in the TIMx_CR1 register). In this mode,
when data is written to the autoreload register, it is kept in the preload register and
transferred into the shadow register at the next update event (UEV).
Auto-reload preload disabled (ARPE bit cleared in the TIMx_CR1 register). In this
mode, when data is written to the autoreload register it is transferred into the shadow
register immediately.
An update event is generated:
On a counter overflow or underflow.
By software, setting the UG bit in the TIMx_EGR register.
By an trigger event from the clock/trigger controller.
With preload enabled (ARPE=1), when an update event occurs: the auto-reload shadow
register is updated with the preload value (TIMx_ARR) and the buffer of the prescaler is
reloaded with the preload value (content of the TIMx_PSCR register).
The update event (UEV) can be disabled by setting the UDIS bit in the TIMx_CR1
The counter is clocked by the prescaler output CK_CNT, which is enabled only when the
counter enable bit (CEN) in TIMx_CR1 register is set.
Note:
Note that the actual counter enable signal CNT_EN is set 1 clock cycle after CEN.
Prescaler
Auto-Reload Register
16-bit Counter
CK_PSC
CK_CNT
TIMx_PSCR
TIMx_CNTRH, CNTRL
TIMx_ARRH, ARRL
UEV
UIF
UEV
Reg
event
Legend:
Preload registers transferred
to shadow registers on update
control bit
interrupt
event (UEV) according to



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 Download

Go To PDF Page


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


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