Gpt Counter Input Register (Gcirn) - Freescale Semiconductor MCF5480 Reference Manual

Freescale semiconductor circuit board reference manual
Table of Contents

Advertisement

Bits
Name
8
IEN
7–6
5–4
GPIO
3
2–0
TMS
11.3.2

GPT Counter Input Register (GCIRn)

31
30
29
R
W
Reset
0
0
15
14
13
R
W
Reset
0
0
Reg
Addr
Freescale Semiconductor
Table 11-2. GMSn Field Descriptions (Continued)
Interrupt enable. Enables interrupt generation to the CPU for all modes (IC, OC, PWM, and Internal
Timer). IEN is not required for watchdog expiration to create a reset.
0 Interrupt disabled
1 Interrupt enabled
Reserved, should be cleared.
GPIO mode type. Simple GPIO functionality that can be used simultaneously with the internal timer
mode. It is not compatible with IC, OC, or PWM modes, because these modes dictate the usage of
the I/O signals.
0X Timer enabled as simple GPIO input on TINn
10 Timer enabled as simple GPIO output, TOUTn=0
11 Timer enabled as simple GPIO output, TOUTn=1 (tri-state if OD=1)
While in GPIO modes, internal timer mode is also available. To prevent undesired timer expiration,
keep the CE bit cleared.
Reserved, should be cleared.
Timer mode select (and module enable).
000 Timer module not enabled. All timer operation is completely disabled. Control and status
registers are still accessible. This mode should be entered when the timer is to be re-configured,.
001 Timer enabled for input capture.
010 Timer enabled for output capture.
011 Timer enabled for PWM.
1XX Timer enabled for simple GPIO. Internal timer modes available. CE bit controls timer counter.
28
27
26
0
0
0
0
12
11
10
0
0
0
0
MBAR + 0x804 (GCIR0), 0x814 (GCIR1), 0x824 (GCIR2), 0x834 (GCIR3)
Figure 11-2. GPT Counter Input Register (GCIRn)
MCF548x Reference Manual, Rev. 3
Description
25
24
23
22
PRE
0
0
0
0
9
8
7
6
CNT
0
0
0
0
Memory Map/Register Definition
21
20
19
18
0
0
0
0
5
4
3
2
0
0
0
0
17
16
0
0
1
0
0
0
11-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mcf5481Mcf5482Mcf5483Mcf5484Mcf5485

Table of Contents