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

X  

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

Back Button RM0312 Datasheet HTML 147Page - STMicroelectronics RM0312 Datasheet HTML 148Page - STMicroelectronics RM0312 Datasheet HTML 149Page - STMicroelectronics RM0312 Datasheet HTML 150Page - STMicroelectronics RM0312 Datasheet HTML 151Page - STMicroelectronics RM0312 Datasheet HTML 152Page - STMicroelectronics RM0312 Datasheet HTML 153Page - STMicroelectronics RM0312 Datasheet HTML 154Page - STMicroelectronics RM0312 Datasheet HTML 155Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 151 / 275 page
background image
DocID022352 Rev 3
151/275
RM0312
16-bit general purpose timer (TIM2/TIM3)
170
17.7.9
Capture/compare mode register 1 (TIMx_CCMR1)
The channel can be used in input (capture mode) or in output (compare mode). The
direction of the channel is defined by configuring the CC1S bits. All the other bits of this
register have a different function in input and in output mode. For a given bit, OCxx
describes its function when the channel is configured in output, ICxx describes its function
when the channel is configured in input. So be aware that the same bit can have a different
meaning for the input stage and for the output stage.
Address offset: 0x08
Reset value: 0x00
Channel configured in output
7
654
3210
Reserved
OC1M[2:0]
OC1PE
OC1FE
CC1S[1:0]
rw
rw
rw
rw
Bit 7 Reserved
Bits 6:4 OC1M: Output compare 1 mode
These bits defines the behavior of the output reference signal OC1REF from which OC1 is derived.
OC1REF is active high whereas OC1 active level depends on the CC1P bit.
000 : Frozen - The comparison between the output compare register TIMx_CCR1 and the counter
TIMx_CNT has no effect on the outputs.
001 : Set channel 1 to active level on match. OC1REF signal is forced high when the counter
TIMx_CNT matchs the capture/compare register 1 (TIMx_CCR1).
010 : Set channel 1 to inactive level on match. OC1REF signal is forced low when the counter
TIMx_CNT matchs the capture/compare register 1 (TIMx_CCR1).
011 : Toggle - OC1REF toggles when TIMx_CNT=TIMx_CCR1.
100 : Force inactive level - OC1REF is forced low.
101 : Force active level - OC1REF is forced high.
110 : PWM mode 1 - In up-counting, channel 1 is active as long as TIMx_CNT<TIMx_CCR1 else
inactive. In down-counting, channel 1 is inactive (OC1REF=‘0’) as long as TIMx_CNT>TIMx_CCR1
else active (OC1REF=’1’).
111 : PWM mode 2 - In up-counting, channel 1 is inactive as long as TIMx_CNT<TIMx_CCR1 else
active.
Note: In PWM mode 1 or 2, the OCiREF level changes only when the result of the comparison
changes or when the output compare mode switches from “frozen” mode to “PWM” mode.
Refer to Section 17.5.7 on page 134 for more details.
Bit 3 OC1PE: Output compare 1 preload enable
0: Preload register on TIMx_CCR1 disabled. TIMx_CCR1 can be written at anytime, the new value
is taken in account immediately.
1: Preload register on TIMx_CCR1 enabled. Read/Write operations access the preload register.
TIMx_CCR1 preload value is loaded in the shadow register at each update event.
Note: For correct operation, preload registers must be enabled when the timer is in PWM mode. This
is not mandatory in one pulse mode (OPM bit set in TIMx_CR1 register).



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