Function: Timer X is a 16-bit timer that can output two independent waveforms based on a
Features: • The timer X clock can be selected from three internal clock frequencies (ø/32,
ø/8, and ø/2) and an external clock.
• Timer X can output two waveforms.
• Four independent input capture functions
• A counter clear operation can be specified.
• Interrupts: two compare match interrupts, four input capture interrupts, and one
Output compare registers
OCRA and OCRB:
A and B (16 bits)
Free-running counter (16 bits)
ICRA to ICRD:
Input capture registers A to D (16 bits)
Timer control/status register X (8 bits)
Timer interrupt enable register (8 bits)
Timer control register X (8 bits)
Timer output compare control register (8 bits)
Compare match A
Compare match B