Timers in LPC 2148
Timers in LPC 2148
Features
Applications
Interval Timer for Counting internal events
Free running timer
Pulse Width Modulator
Timer Register
MATCH TYPES
Internal Match (Action is performed Internally)
External Match (Action is performed Externally i.e., on
Pins)
Match channels and its Registers
CH0
CH1
CH2
CH3
MR0
MR1
MR2
MR3
register
register
register
register
Capture Control
External Match
External Match Pins
MAT0.0 (2pins): P0.3 and P0.22
MAT0.1 (2pins): P0.5 and P0.27
MAT0.2 (2pins): P0.16 and P0.28
MAT0.3 (1pin): P0.29
MAT1.0 (1pin): P0.12
MAT1.1 (1pin): P0.13
MAT1.2 (2pins): P0.17 and P0.19
MAT1.3 (2pins): P0.18 and P0.20
Whenever TC equals any of match register then an action can be performed
on the above match pins and that action is decided by EMR Register