
MOTOROLA
Chapter 20. General Purpose Timer Modules (GPTA and GPTB)
20-21
Reset
20.7 Reset
Reset initializes the GPT registers to a known startup state as described in Section 20.5,
“Memory Map and Registers.”
20.8 Interrupts
Table 20-24 lists the interrupt requests generated by the timer.
1
1
1
X
<> 0
0
Out
OC action Output compare Pin driven by OC action
(5)
1
0
1
X
X
1
Out
OC action/
OC3D
n
Output compare
(ch 3)
Pin readable only if DDR = 0
6
1
1
1
X
X
1
Out
OC action/
OC3D
n
Output compare/
OC3D
n
(ch 3)
Pin driven by channel OC action and
OC3D
n
via channel 3 OC
(6)
1
When DDR set the pin as input (0), reading the data register will return the state of the pin. When DDR set the pin as output (1),
reading the data register will return the content of the data latch. Pin conditions such as rising or falling edges can trigger an input
capture on a pin configured as an input.
2
OM
n
/OL
n
bit pairs select the output action to be taken as a result of a successful output compare. When either OM
n
or OL
n
is
set and the IOS
n
bit is set, the pin is an output regardless of the state of the corresponding DDR bit.
3
Setting an OC3M bit configures the corresponding PORTT
n
pin to be output. OC3M
n
makes the PORTT
n
pin an output regardless
of the data direction bit when the pin is configured for output compare (IOS
n
= 1). The OC3M
n
bits do not change the state of the
PORTT
n
DDR bits.
4
X = Don’t care
5
An output compare overrides the data direction bit of the output compare pin but does not change the state of the data direction
bit. Enabling output compare disables data register drive of the pin.
6
A successful output compare on channel 3 causes an output value determined by OC3D
n
value to temporarily override the output
compare pin state of any other output compare channel.The next OC action for the specific channel will still be output to the pin.
A channel 3 output compare can cause bits in the output compare 3 data register to transfer to the GPT port data register,
depending on the output compare 3 mask register.
Table 20-24. GPT Interrupt Requests
Interrupt Request
Flag
Enable Bit
Channel 3 IC/OC
C3F
C3I
Channel 2 IC/OC
C2F
C2I
Channel 1 IC/OC
C1F
C1I
Channel 0 IC/OC
C0F
C0I
PA overflow
PAOVF
PAOVI
PA input
PAIF
PAI
Timer overflow
TOF
TOI
Table 20-23. GPT Settings and Pin Functions (continued)
Содержание ColdFire MCF5281
Страница 1: ...MCF5282UM D Rev 2 1 2004 MCF5282 ColdFire Microcontroller User s Manual Devices Supported MCF5281 ...
Страница 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Страница 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Страница 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Страница 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Страница 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Страница 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Страница 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Страница 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Страница 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Страница 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Страница 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Страница 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Страница 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Страница 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Страница 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Страница 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Страница 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...
Страница 800: ...A 22 MCF5282 User s Manual MOTOROLA ...