

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


control/status register
count register
limit register
n^
n
Depending on control/status register, when count = limit, one ormore of the following will happen:• Always set bit in status register• May generate interrupt to CPU• May reset count to 0• May continue counting or stop• May change signal on OUT pin: set, clear, pulse, toggleGATE signal can be programmed to• Enable/disable counting of CLK edges• Reset count to 0 on edge
Global Configuration Reg
Event Reg Mode Reg Counter Reg Divider^ Reference Reg^ Capture Reg
TimerClockGen CaptureDetection
TOUTx*
TGATE1TINx
System Clock CPM local bus
TGCR (Timer Global Configuration Register): 16-bit memory-mapped R/W register that contains configuration parameters usedby all timers.