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

X  

AN4013 датащи(PDF) 14 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) 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


датащи скачать

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