MC68340AG16VE Freescale Semiconductor, MC68340AG16VE Datasheet - Page 371

no-image

MC68340AG16VE

Manufacturer Part Number
MC68340AG16VE
Description
IC MPU 32BIT 16MHZ 144-LQFP
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68340AG16VE

Processor Type
M683xx 32-Bit
Speed
16MHz
Voltage
3.3V
Mounting Type
Surface Mount
Package / Case
144-LQFP
Controller Family/series
68K
Core Size
32 Bit
No. Of I/o's
16
Cpu Speed
16MHz
No. Of Timers
2
Embedded Interface Type
UART
Digital Ic Case Style
LQFP
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68340AG16VE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Caution must be exercised when accessing the COM. If it were to be accessed
simultaneously by the compare logic and by a write, the old compare value may get
compared to the counter value.
8.5 TIMER MODULE INITIALIZATION SEQUENCE
The following paragraphs discuss a suggested method for initializing the timer module.
Since both timers are functionally equivalent, only one timer module will be referenced.
8.5.1 Timer Module Configuration
If the timer capability of the MC68340 is being used, the following steps should be
followed to initialize a timer module properly. Note that this sequence must be done for
each timer module used.
The following steps begin operation:
MOTOROLA
Control Register (CR)
Status Register (SR)
Module Configuration Register (MCR)
Interrupt Register (IR)
Preload Registers (PREL1 and PREL2)
Compare Register (COM)
Control Register (CR)
• Clear the SWR bit to disable the timer.
• Clear the TO, TG, and TG bits to reset the interrupts.
• Initialize the STP for normal operation.
• Select whether to respond to or ignore FREEZE (FRZx bits).
• Select the access privilege for the supervisor/user registers (SUPV bit).
• Select the interrupt arbitration level for the timer module (IARBx bits).
• Program the interrupt priority level for the timer interrupts (ILx bits).
• Program the interrupt vector number for the timer interrupts (IVx bits).
• If required, initialize the preload registers for mode of operation.
• If desired, initialize the compare register.
• Set the SWR bit to enable the timer.
• Enable the desired interrupts (IEx bits).
• Enable TGATE if required for mode of operation (TGE bit).
• Select the prescaler clock (PCLK bit).
Freescale Semiconductor, Inc.
For More Information On This Product,
MC68340 USER’S MANUAL
Go to: www.freescale.com
8- 27

Related parts for MC68340AG16VE