22.2 TIM1 and TIM8 main featuresTIM1 and TIM8 timer features ประกอบด้วย :
• 16-bit up, down, up/down auto-reload counter.
• 16-bit programmable prescaler ยอมให้การหาร (“ได้ทันที” อีกด้วย) the counter clock frequency โดยแฟ็คเตอร์ใดแฟ็ค
เตอร์หนึ่งระหว่าง 1 และ 65536.
• มากถึง 4 independent channels สำหรับ:
– Input capture
– Output compare
– PWM generation (Edge- and Center-aligned modes)
– One-pulse mode output
• Complementary outputs ที่มี programmable dead-time
• Synchronization circuit เพื่อควบคุม the timer ด้วย external signals และเชื่อมต่อ timers หลายตัวเข้าด้วยกัน.
• ตัวนับการทำซ้ำ(Repetition counter)เพื่ออัปเดต the timer registers เฉพาะหลังจากจำนวนที่ให้ไว้ของรอบของ the counter
• 2 break inputs เพื่อใส่ the timer’s output signals ใน a safe user selectable configuration.
• Interrupt/DMA generation ตามเหตุการณ์ดังต่อไปนี้:
– Update: counter overflow/underflow, counter initialization (โดย software หรือ internal/external trigger)
– Trigger event (counter start, stop, initialization หรือนับโดย internal/external trigger)
– Input capture
– Output compare
• รองรับ incremental (quadrature) encoder และ hall-sensor circuitry สำหรับ positioning purposes
• Trigger input สำหรับ external clock หรือ cycle-by-cycle current management

