| Electronic Components Datasheet Search |
|
STM32W108HB Datasheet(PDF) 183 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32W108HB Datasheet(HTML) 183 Page - STMicroelectronics |
|
183 / 278 page ![]() STM32W108HB STM32W108CC STM32W108CB STM32W108CZ General-purpose timers Doc ID 16252 Rev 14 183/278 Slave mode: Trigger mode In Trigger mode the counter starts in response to an event on a selected input. In the following example, the up-counter starts in response to a rising edge on the TI2 input: ● Configure channel 2 to detect rising edges on TI2 Configure the input filter duration. In this example, no filter is required so IC2F = 0000. The capture prescaler is not used for triggering, so it is not configured. The CC2S bits select the input capture source only, CC2S = 01 in the TIMx_CCMR1 register. Write CC2P = 0 in the TIMx_CCER register to validate the polarity and detect high level only. ● Configure the timer in Trigger mode by writing SMS = 110 in the TIMx_SMCR register. Select TI2 as the input source by writing TS = 110 in the TIMx_SMCR register. When a rising edge occurs on TI2, the counter starts counting on the internal clock and the TIE flag is set. The delay between the rising edge on TI2 and the actual start of the counter is due to the resynchronization circuit on the TI2 input. Figure 43. Control circuit in Trigger mode Counter clock = CK_CNT = CK_PSC Counter register 35 36 37 38 34 TI2 CNT_EN TIE |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |