データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

RM0312 データシート(PDF) 128 Page - STMicroelectronics

部品番号 RM0312
部品情報  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 データシート(HTML) 128 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 124Page - STMicroelectronics RM0312 Datasheet HTML 125Page - STMicroelectronics RM0312 Datasheet HTML 126Page - STMicroelectronics RM0312 Datasheet HTML 127Page - STMicroelectronics RM0312 Datasheet HTML 128Page - STMicroelectronics RM0312 Datasheet HTML 129Page - STMicroelectronics RM0312 Datasheet HTML 130Page - STMicroelectronics RM0312 Datasheet HTML 131Page - STMicroelectronics RM0312 Datasheet HTML 132Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 128 / 275 page
background image
16-bit general purpose timer (TIM2/TIM3)
RM0312
128/275
DocID022352 Rev 3
17.5
TIMx capture/compare channels
The timer I/O pins (TIMx_CHi) can be configured either for input capture or output compare
functions. The choice made by configuring the CCiS channel selection bits in the
capture/compare channel mode register (TIMx_CCMRi), where i is the channel number.
Each Capture/Compare channel is built around a capture/compare register (including a
shadow register), an input stage for capture (with digital filter, multiplexing and prescaler)
and an output stage (with comparator and output control).
Figure 48. Capture/compare channel 1 main circuit
The capture/compare block is made of one preload register and one shadow register. Write
and read always access the preload register. In capture mode, captures are actually done in
the shadow register, which is copied into the preload register. In compare mode, the content
of the preload register is copied into the shadow register which is compared to the counter.
When the channel is configured in output mode (CCiS=0b00 in the TIMx_CCMRi register)
where i is the channel number, the TIMx_CCRi register can be accessed without any
restriction.
When the channel is configured in input mode, the sequence for reading the TIMx_CCRi
register is the same as for the counter. See Figure 49. When a capture occurs, the content
of the counter is captured into the TIMx_CCRi shadow register. Then this value is loaded
into the preload register, except during the read sequence, when the preload register is
frozen.
CC1E
Capture/Compare shadow Register
comparator
Capture/Compare Preload Register
Counter
ic1ps
CC1S[0]
CC1S[1]
capture
input
mode
S
R
read CCR1H
read CCR1L
read_in_progress
capture_transfer
CC1S[0]
CC1S[1]
S
R
write CCR1H
write CCR1L
write_in_progress
output
mode
UEV
OC1PE
(from time
compare_transfer
TIMx_CCMR1
OC1PE
base unit)
CNT>CCR1
CNT=CCR1
TIMx_EGR
CC1G



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



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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