
MOTOROLA
Chapter 20. General Purpose Timer Modules (GPTA and GPTB)
20-19
Functional Description
20.6.6 Gated Time Accumulation Mode
Setting the PAMOD bit configures the PA for gated time accumulation operation. An active
level on the PAI pin enables a divide-by-64 clock to drive the PA. The PA edge bit, PEDGE,
selects low levels or high levels to enable the divide-by-64 clock.
The trailing edge of the active level at the PAI pin sets the PA input flag, PAIF. The PA input
interrupt enable bit, PAI, enables the PAIF flag to generate interrupt requests.
NOTE
The PAI input and GPT channel 3 use the same pin. To use the
PAI input, disconnect it from the output logic by clearing the
channel 3 output mode and output level bits, OM3 and OL3.
Also clear the channel 3 output compare mask bit, OC3M3.
The PA counter register, GPTPACNT, reflects the number of pulses from the divide-by-64
clock since the last reset.
NOTE
The GPT prescaler generates the divide-by-64 clock. If the
timer is not active, there is no divide-by-64 clock.
Figure 20-22. Channel 3 Output Compare/Pulse Accumulator Logic
20.6.7 General-Purpose I/O Ports
An I/O pin used by the timer defaults to general-purpose I/O unless an internal function
which uses that pin is enabled.
The PORTT
n
pins can be configured for either an input capture function or an output
compare function. The IOS
n
bits in the GPT IC/OC select register configure the PORTT
n
pins as either input capture or output compare pins.
The PORTT
n
data direction register controls the data direction of an input capture pin.
External pin conditions trigger input captures on input capture pins configured as inputs.
PAD
OM3
OL3
CHANNEL 3 OUTPUT COMPARE
PULSE
ACCUMULATOR
OC3M3
Содержание 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 ...