công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN4013 bảng dữ liệu(PDF) 14 Page - STMicroelectronics

tên linh kiện AN4013
Giải thích chi tiết về linh kiện  The purpose of this document
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4013 bảng dữ liệu(HTML) 14 Page - STMicroelectronics

Back Button AN4013 Datasheet HTML 10Page - STMicroelectronics AN4013 Datasheet HTML 11Page - STMicroelectronics AN4013 Datasheet HTML 12Page - STMicroelectronics AN4013 Datasheet HTML 13Page - STMicroelectronics AN4013 Datasheet HTML 14Page - STMicroelectronics AN4013 Datasheet HTML 15Page - STMicroelectronics AN4013 Datasheet HTML 16Page - STMicroelectronics AN4013 Datasheet HTML 17Page - STMicroelectronics AN4013 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 37 page
background image
General-purpose timer modes
AN4013
14/37
DocID022500 Rev 4
To configure the timer in one of these modes:
1.
Select the clock source.
2.
Write the desired data in the ARR and CCRx registers.
3.
Configure the output mode:
a)
Select the output compare mode: timing / active / inactive / toggle.
b)
In case of active, inactive and toggle modes, select the polarity by writing CCxP in
CCER register.
c)
Disable the preload feature for CCx by writing OCxPE in CCMRx register.
d)
Enable the capture / compare output by writing CCxE in CCMRx register.
4.
Enable the counter by setting the CEN bit in the TIMx_CR1 register.
5.
Set the CCxIE / CCxDE bit if an interrupt / DMA request is to be generated.
Timer output compare timing / toggle update rate computation
CCx update rate = TIMx_Counter_CLK / CCRx
If internal clock: TIMx_Counter_CLK = TIM_CLK / (PSC + 1)
If external clock mode2: TIMx_Counter_CLK = ETR_CLK / ((ETR_PSC)*(PSC + 1))
If external clock mode1: TIMx_Counter_CLK = TIx_CLK/(PSC + 1)
–
if ETRF used as clock source: TRGI_CLK = ETR_CLK / ETR_PSC
–
if TI1FP1 used as clock source: TRGI_CLK = TI1_CLK / TI1_PSC
–
if TI2FP2 used as clock source: TRGI_CLK = TI2_CLK / TI2_PSC
–
if TI1_ED used as clock source: TRGI_CLK = TI1_ED_CLK
–
if ITRx used as clock source: TRGI_CLK = ITRx_CLK
Timer output compare active/inactive delay computation
CCx_delay = CCRx /TIMx_Counter_CLK
If internal clock: TIMx_Counter_CLK = TIM_CLK / (PSC + 1)
If external clock mode2: TIMx_Counter_CLK = ETR_CLK / ((ETR_PSC)*(PSC + 1))
If external clock mode1: TIMx_Counter_CLK = TIx_CLK/(PSC + 1)
–
if ETRF used as clock source: TRGI_CLK = ETR_CLK / ETR_PSC
–
if TI1FP1 used as clock source: TRGI_CLK = TI1_CLK / TI1_PSC
–
if TI2FP2 used as clock source: TRGI_CLK = TI2_CLK / TI2_PSC
–
if TI1_ED used as clock source: TRGI_CLK = TI1_ED_CLK
–
if ITRx used as clock source: TRGI_CLK = ITRx_CLK
For more details on using the timer in this mode, refer to the examples provided in the
STM32xx standard peripheral libraries, in the /Project/STM32xx_StdPeriph_Examples/
TIM/OC_Toggle, /OCActive and /OCInactive folders.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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