Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STM8S Datasheet(PDF) 254 Page - STMicroelectronics

Part # STM8S
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Datasheet(HTML) 254 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 250Page - STMicroelectronics STM8S Datasheet HTML 251Page - STMicroelectronics STM8S Datasheet HTML 252Page - STMicroelectronics STM8S Datasheet HTML 253Page - STMicroelectronics STM8S Datasheet HTML 254Page - STMicroelectronics STM8S Datasheet HTML 255Page - STMicroelectronics STM8S Datasheet HTML 256Page - STMicroelectronics STM8S Datasheet HTML 257Page - STMicroelectronics STM8S Datasheet HTML 258Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 254 / 467 page
background image
8-bit basic timer (TIM4, TIM6)
RM0016
254/467
DocID14587 Rev 14
19.2
TIM4 main features
The main features include:
•
8-bit auto-reload up counter
•
3-bit programmable prescaler which allows dividing (also “on the fly”) the counter clock
frequency by 1, 2, 4, 8, 16, 32, 64 and 128.
•
Interrupt generation
–
On counter update: Counter overflow
19.3
TIM6 main features
The main features include:
•
8-bit auto-reload up counter
•
3-bit programmable prescaler which allows dividing (also “on the fly”) the counter clock
frequency by 1, 2, 4, 8, 16, 32, 64 and 128.
•
Synchronization circuit to control the timer with external signals and to interconnect
several timers (See Section 17.4.6 on page 159).
•
Interrupt generation
–
On counter update: Counter overflow
–
On trigger input
19.4
TIM4/TIM6 interrupts
The timer has 2 interrupt request sources:
•
Update interrupt (overflow, counter initialization)
•
Trigger input (TIM6 only)
19.5
TIM4/TIM6 clock selection
The clock source for the timer is the internal clock (fMASTER). It is connected directly to the
CK_PSC clock that feeds the prescaler driving the counter clock CK_CNT.
Prescaler
The prescaler implementation is as follows:
•
The prescaler is based on a 7-bit counter controlled through a 3-bit register (in the
TIMx_PSCR register). It can be changed on the fly as this control register is buffered. It
can divide the counter clock frequency by any power of 2 from 1 to 128.
The counter clock frequency is calculated as follows:
fCK_CNT = fCK_PSC/2(PSCR[2:0])
The prescaler value is loaded through a preload register. The shadow register, which
contains the current value to be used, is loaded as soon as the LS byte has been written.
Read operations to the TIMx_PSCR registers access the preload registers, so no special
care needs to be taken to read them.



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