31.2 Features

  • Up to four compare/capture channels (CC) with:
    • Double buffered period setting
    • Double buffered compare or capture channel
    • Circular buffer on period and compare channel registers
  • Waveform generation:
    • Frequency generation
    • Single-slope pulse-width modulation (PWM)
    • Dual-slope pulse-width modulation with half-cycle reload capability
  • Input capture:
    • Event capture
    • Frequency capture
    • Pulse-width capture
  • Waveform extensions:
    • Configurable distribution of compare channels outputs across port pins
    • Low- and high-side output with programmable dead-time insertion
    • Waveform swap option with double buffer support
    • Pattern generation with double buffer support
    • Dithering support
  • Fault protection for safe disabling of drivers:
    • Two recoverable fault sources
    • Two non-recoverable fault sources
    • Debugger can be source of non-recoverable fault
  • Input events:
    • Two input events (EVx) for counter
    • One input event (MCx) for each channel
  • Output events:
    • Three output events (Count, Re-Trigger and Overflow) available for counter
    • One Compare Match/Input Capture event output for each channel
  • Interrupts:
    • Overflow and Re-Trigger interrupt
    • Compare Match/Input Capture interrupt
    • Interrupt on fault detection
  • Can be used with DMA and can trigger DMA transactions