Peripherals: Timers
Some 8bits, some 16bits
Many have prescalers and some have postscalers
Make sure two peripherals don’t require the same timer (e.g., PWM and UART may require TMR2)
In 14bit cores they generate interrupts
Take care when writing to TMRn registers(may clear prescaler - see datasheets)
Can use external pins as clock in/clock out(ie, for counting events or using a different Fosc)
Previous slide | Next slide | Back to first slide | View graphic version |