전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4013 데이터시트(PDF) 19 Page - STMicroelectronics

부품명 AN4013
상세설명  The purpose of this document
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4013 데이터시트(HTML) 19 Page - STMicroelectronics

Back Button AN4013 Datasheet HTML 15Page - STMicroelectronics AN4013 Datasheet HTML 16Page - STMicroelectronics AN4013 Datasheet HTML 17Page - STMicroelectronics AN4013 Datasheet HTML 18Page - STMicroelectronics AN4013 Datasheet HTML 19Page - STMicroelectronics AN4013 Datasheet HTML 20Page - STMicroelectronics AN4013 Datasheet HTML 21Page - STMicroelectronics AN4013 Datasheet HTML 22Page - STMicroelectronics AN4013 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 37 page
background image
DocID022500 Rev 4
19/37
AN4013
General-purpose timer modes
36
To configure the timer in this mode:
1.
Configure the output pin:
a)
Select the output mode by writing CCS bits in CCMRx register.
b)
Select the polarity by writing the CCxP bit in CCER register.
2.
Select the Combined PWM mode (Combined PWM1 or Combined PWM2) by writing
OCxM bits in CCMRx register.
3.
Program the period, the delay and the phase shift respectively in ARR, CCRx and
CCRy registers.
4.
Select the counting mode:
a)
Edge-aligned mode: the counter must be configured up-counting or down-
counting.
b)
Center aligned mode: the counter mode must be center aligned counting mode
(CMS bits different from '00')
5.
Enable the capture compare.
6.
Enable the counter.
2.9
Retriggerable one pulse mode available for
STM32F30x and STM32F3x8
The Retriggerable one pulse mode is a one pulse mode with the particularity of:
The pulse starts as soon as the trigger occurs (no programmable delay)
The pulse is extended if a new trigger occurs before the previous one is completed
If the counter is configured in up-counting mode, the corresponding CCRx must be set to 0,
in this case the pulse length is determined by ARR register. If the timer is configured in
down-counting mode, the ARR must be set to 0 in this case the pulse length is determined
by CCRx register. As for the OPM mode, there are two Retriggerable one pulse mode,
Retriggerable OPM mode 1 and Retriggerable OPM mode 2:
Retriggerable OPM mode 1 is selected by setting the OCXM bits to 1000:
–
In up-counting mode, channel is inactive until a trigger event is detected (on TRGI
signal), the comparison is performed like in PWM mode 1, then the channel
becomes inactive again at the next update.
–
In down-counting mode, channel is active until a trigger event is detected (on
TRGI signal), the comparison is performed like in PWM mode 1, then the channel
becomes active again at the next update.
Retriggerable OPM mode 2 i s selected by setting the OCXM bits to 1001:
–
In up-counting mode, the channel is active until a trigger event is detected (on
TRGI signal), the comparison is performed like in PWM mode 2, then the channel
becomes inactive again at the next update.
–
In down-counting mode, the channel is inactive until a trigger event is detected (on
TRGI signal), the comparison is performed like in PWM mode 1, then the channel
becomes inactive again at the next update.



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


데이터시트 다운로드

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