| поискавой системы для электроныых деталей |
|
AN4013 датащи(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4013 датащи(HTML) 22 Page - STMicroelectronics |
|
22 / 37 page ![]() Timer synchronization AN4013 22/37 DocID022500 Rev 4 To configure a timer in master mode: 1. Configure your timer. 2. Select the trigger output to be used, by writing the MSM (Master Mode Selection) bits in CR2 register. 3. Enable the MSM (Master/slave mode) bit in the SMCR register to allow a perfect synchronization between the current timer and its slaves (through TRGO). For the STM32F30x and STM32F3x8 the timer can generate two trigger outputs TRGO as described below and TRGO2 (used for TIM and ADC synchronization) which can be selected from the following list: Reset - the UG bit from the EGR register is used as trigger output (TRGO2). Enable - the Counter Enable signal CNT_EN is used as trigger output (TRGO2). It is useful to start several timers at the same time or to control a window in which a slave timer is enable. The Counter Enable signal is generated by a logic OR between CEN control bit and the trigger input when configured in gated mode. Update - The update event is selected as trigger output (TRGO2). For instance a master timer can then be used as a prescaler for a slave timer. Compare Pulse - The trigger output send a positive pulse when the CC1IF flag is to be set (even if it was already high), as soon as a capture or a compare match occurred. Compare - OC1REF signal is used as trigger output (TRGO2) Compare - OC2REF signal is used as trigger output (TRGO2) Compare - OC3REF signal is used as trigger output (TRGO2) Compare - OC4REF signal is used as trigger output (TRGO2) Compare - OC5REF signal is used as trigger output (TRGO2) Compare - OC6REF signal is used as trigger output (TRGO2) Compare Pulse - OC4REF rising or falling edges generate pulses on TRGO2 Compare Pulse - OC6REF rising or falling edges generate pulses on TRGO2 Compare Pulse - OC4REF rising or OC6REF rising edges generate pulses on TRGO2 Compare Pulse - OC4REF rising or OC6REF falling edges generate pulses on TRGO2 Compare Pulse - OC5REF rising or OC6REF rising edges generate pulses on TRGO2 Compare Pulse - OC5REF rising or OC6REF falling edges generate pulses on TRGO2 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |