
Timer
6-4
MC68328 DRAGONBALL PROCESSOR USER’S MANUAL
MOTOROLA
6.4.1 General Purpose Timer
This section describes the timer registers.
6.4.1.1 COUNTER REGISTER.
The counter register is a 16-bit read-only register that can
be read at anytime without disturbing the current count.
Figure 6-3. Timer Counter Register
COUNT
This is the current count value.
6.4.1.2 TIMER CONTROL REGISTERS.
These identical registers control the overall indi-
vidual timer operation.
CAPTURE EDGE
These bits control the operation of the capture function. The bits are encoded as:
00 = Disable interrupt on capture event
01 = Capture on rising edge and generate interrupt on capture
10 = Capture on falling edge and generate interrupt on capture
11 = Capture on rising or falling edges and generate interrupt on capture
OM
Output Mode
This bit controls the output mode of the timer after a reference-compare event.
0 = Active-low pulse for one SYSCLK period
1 = Toggle output
IRQEN
Reference Event Interrupt-Enable
This bit controls the generation of an interrupt on a reference-compare event.
0 = Disable interrupt on reference event
1 = Enable interrupt on reference event
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Timer 1 Address: $(FF)FFF608 or
Timer 2 Address: (FF)FFF614
Reset Value: $0000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
UNUSED
FRR
CAPTURE EDGE
OM
IRQEN
CLKSOURCE
TEN
Timer 1 Address: (FF)FFF600
Timer 2 Address: (FF)FFF60C
Reset Value: $0000
Figure 6-4. Timer Control Registers
Содержание DragonBall MC68328
Страница 5: ...vi MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 25: ...Overview 1 14 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 45: ...System Integration Module 2 20 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 103: ...Parallel Ports 7 16 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 117: ...UART 8 14 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 127: ...SPI Master 10 6 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Страница 137: ...Electrical Characteristics PRELIMINARY MOTOROLA MC68328 DRAGONBALL PROCESSOR USER S MANUAL 13 4 ...