External clock source mode 2โหมดนี้ถูกเลือกโดยการเขียน ECE=1 ใน the TIMx_SMCR register.
The counter สามารถนับที่แต่ละ rising หรือ falling edge บน the external trigger input ETR.
Figure 174 แสดงภาพรวมของ the external trigger input block.

ตัวอย่างเช่น, ในการกำหนดค่า the upcounter เพื่อนับแต่ละ 2 rising edges บน ETR, ใช้ขบวนการดังต่อไปนี้:
1. ตามที่ไม่มี filter ถูกต้องการในตัวอย่างนี้, เขียน ETF[3:0]=0000 ใน the TIMx_SMCR register
2. เซ็ต the prescaler โดยการเขียน ETPS[1:0]=01 ใน the TIMx_SMCR register
3. เลือก rising edge detection บน the ETR pin โดยการเขียน ETP=0 ใน the TIMx_SMCR register
4. เปิดการใช้งาน external clock mode 2 โดยการเขียน ECE=1 ใน the TIMx_SMCR register.
5. เปิดการใช้งาน the counter โดยการเขียน CEN=1 ใน the TIMx_CR1 register.
The counter นับหนึ่งครั้งแต่ละ 2 ETR rising edges
The delay ระหว่าง the rising edge บน ETR และ the actual clock ของ the counter เนื่องจาก the resynchronization circuit บน the ETRP signal
