поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

STM8S датащи(PDF) 163 Page - STMicroelectronics

номер детали STM8S
подробное описание детали  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S датащи(HTML) 163 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 159Page - STMicroelectronics STM8S Datasheet HTML 160Page - STMicroelectronics STM8S Datasheet HTML 161Page - STMicroelectronics STM8S Datasheet HTML 162Page - STMicroelectronics STM8S Datasheet HTML 163Page - STMicroelectronics STM8S Datasheet HTML 164Page - STMicroelectronics STM8S Datasheet HTML 165Page - STMicroelectronics STM8S Datasheet HTML 166Page - STMicroelectronics STM8S Datasheet HTML 167Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 163 / 467 page
background image
DocID14587 Rev 14
163/467
RM0016
16-bit advanced control timer (TIM1)
261
Example 2
Timer A and timer B are synchronized. Timer A is the master and starts from 0. Timer B is
the slave and starts from E7h. The prescaler ratio is the same for both timers. Timer B stops
when timer A is disabled by writing 0 to the CEN bit in the TIMx_CR1 register:
1.
Configure timer A master mode to send its output compare 1 reference (OC1REF)
signal as trigger output (MMS = 100 in the TIMx_CR2 register).
2.
Configure the timer A OC1REF waveform (TIMx_CCMR1 register)
3.
Configure timer B to get the input trigger from timer A (see TS[2:0] bit definitions in
TIMx_SMCR register).
4.
Configure timer B in trigger gated mode (SMS = 101 in TIMx_SMCR register)
5.
Reset timer A by writing 1 in UG bit (TIMx_EGR register)
6.
Reset timer B by writing 1 in UG bit (TIMx_EGR register)
7.
Initialize timer B to 0xE7 by writing ‘E7h’ in the timer B counter (TIMx_CNTRL)
8.
Enable timer B by writing 1 in the CEN bit (TIMx_CR1 register)
9.
Start timer A by writing 1 in the CEN bit (TIMx_CR1 register)
10. Stop timer A by writing 0 in the CEN bit (TIMx_CR1 register)
Figure 57. Gating timer B with the counter enable signal of timer A (CNT_EN)



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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