| 전자부품 데이터시트 검색엔진 |
|
STM8S 데이터시트(PDF) 164 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 데이터시트(HTML) 164 Page - STMicroelectronics |
|
164 / 467 page ![]() 16-bit advanced control timer (TIM1) RM0016 164/467 DocID14587 Rev 14 Using one timer to start another timer Example 1 The enable of timer B is set with the UEV of timer A (refer to Figure 55 for connections). Timer B starts counting from its current value (which can be non-zero) on the divided internal clock as soon as the UEV is generated by timer A. When timer B receives the trigger signal, its CEN bit is automatically set and the counter counts until 0 is written to the CEN bit in the TIM1_CR1 register. Both counter clock frequencies are divided by four by the prescaler compared to fMASTER (fCK_CNT = fMASTER/4). 1. Configure timer A master mode to send its UEV as trigger output (MMS = 010 in the TIM1_CR2 register). 2. Configure the timer A period (TIM1_ARR registers) 3. Configure timer B to get the input trigger from timer A (see TS[2:0] bit definitions in TIM1_SMCR register). 4. Configure timer B in trigger mode (SMS = 110 in TIM1_SMCR register) 5. Start timer A by writing 1 in the CEN bit (TIM1_CR1 register) Figure 58. Triggering timer B with the UEV of timer A (TIMERA-UEV) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |