MC68340AG16E Freescale Semiconductor, MC68340AG16E Datasheet - Page 372

no-image

MC68340AG16E

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

Specifications of MC68340AG16E

Processor Type
M683xx 32-Bit
Speed
16MHz
Voltage
5V
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
Processor Series
M683xx
Core
CPU32
Maximum Clock Frequency
16 MHz
Maximum Operating Temperature
+ 105 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68340AG16E
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
MC68340AG16E
Manufacturer:
FREESCALE
Quantity:
329
Part Number:
MC68340AG16E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68340AG16E
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC68340AG16EB1
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
8.5.2 Timer Module Example Configuration Code
The following code is an example of a configuration sequence for the timer module.
***************************************************************************
* MC68340 basic timer module register initialization example code.
* This code is used to initialize the 68340's internal timer module
* registers, providing basic functions for operation.
* It sets up timer1 for square wave generation.
***************************************************************************
***************************************************************************
* equates
***************************************************************************
MBAR
MODBASE EQU $FFFFF000 SIM40 MBAR address value
***************************************************************************
* Timer1 module equates
TIMER1
MCR1
* Timer1 register offsets from timer1 base address
IR1
CR1
SR1
CNTR1
PRLD11
COM1
***************************************************************************
***************************************************************************
* Initialize Timer1
***************************************************************************
* Disable timer1
* Clear the TO, TG, and TC bits
8-28
• Enable the counter prescaler (CPE bit).
• Select the selected clock (CLK bit).
• If the PCLK bit is set, select the POTx bits.
• Select the mode of operation (MODEx bits).
• Select the operation of TOUT (OCx bits).
LEA
CLR.W
CLR.W
EQU
EQU
EQU
EQU
EQU
EQU
EQU $0003FF00 Address of SIM40 Module Base Address Reg.
EQU $600
EQU $0
MODBASE+TIMER1,A0
$604
$606
$608
$60A
$60C
$610
CR1(A0)
SR1(A0)
Freescale Semiconductor, Inc.
For More Information On This Product,
MC68340 USER’S MANUAL
Offset from MBAR for timer1 module regs
MCR for timer1
interrupt register timer1
control register timer1
status register timer1
counter register timer1
preload register 1 timer1
compare register timer1
Go to: www.freescale.com
Pointer to timer1 module
MOTOROLA

Related parts for MC68340AG16E