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

X  

STM8S датащи(PDF) 173 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) 173 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 169Page - STMicroelectronics STM8S Datasheet HTML 170Page - STMicroelectronics STM8S Datasheet HTML 171Page - STMicroelectronics STM8S Datasheet HTML 172Page - STMicroelectronics STM8S Datasheet HTML 173Page - STMicroelectronics STM8S Datasheet HTML 174Page - STMicroelectronics STM8S Datasheet HTML 175Page - STMicroelectronics STM8S Datasheet HTML 176Page - STMicroelectronics STM8S Datasheet HTML 177Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 173 / 467 page
background image
DocID14587 Rev 14
173/467
RM0016
16-bit advanced control timer (TIM1)
261
The output compare mode is defined by the OCiM bits in the TIM1_CCMRi registers. The
active or inactive level polarity is defined by the CCiP bits in the TIM1_CCERi registers.
The TIM1_CCRi registers can be programmed with or without preload registers using the
OCiPE bits in the TIM1_CCMRi registers.
In output compare mode, the UEV has no effect on the OCiREF and OCi output. The timing
resolution is one count of the counter. Output compare mode can also be used to output a
single pulse.
Procedure
1.
Select the counter clock (internal, external, or prescaler).
2.
Write the desired data in the TIM1_ARR and TIM1_CCRi registers.
3.
Set the CCiIE bits if an interrupt request is to be generated.
4.
Select the output mode as follows:
Write OCiM = 011 to toggle the OCi output pin when CNT matches CCRi
Write OCiPE = 0 to disable the preload register
Write CCiP = 0 to select active high polarity
Write CCiE = 1 to enable the output
5.
Enable the counter by setting the CEN bit in the TIMx_CR1 register
The TIM1_CCRi registers can be updated at any time by software to control the output
waveform, provided that the preload registers are not enabled (OCiPE = 0). Otherwise, the
TIMx_CCRi shadow registers are updated only at the next UEV (see example in Figure 69.
Figure 69. Output compare mode, toggle on OC1



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