MC68340PV16VE Freescale Semiconductor, MC68340PV16VE Datasheet - Page 373

no-image

MC68340PV16VE

Manufacturer Part Number
MC68340PV16VE
Description
IC MCU 32BIT 16MHZ 144-LQFP
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68340PV16VE

Processor Type
M683xx 32-Bit
Speed
16MHz
Voltage
3.3V
Mounting Type
Surface Mount
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68340PV16VE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
* Module configuration register:
* Timer1 module is set for normal operation, ignore FREEZE.
* Supervisor/user timer1 registers unrestricted.
* Interrupt arbitration at priority $03.
* Initialize timer1 interrupt level to 2 and vector to $0F
* Initialize preload 1 to 3
* Initialize the compare register to 0
* Control register 1:
* Enable timer1, no interrupts are enabled, TGATE signal has no effect.
* Use the selected clock for the counter clock, and enable it.
* Selected clock is 1/2 system's freq. Square-wave generation, toggle TOUT.
***************************************************************************
***************************************************************************
***************************************************************************
* 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 pulse-width measurement. In this mode, the number
* of clock cycles during a particular event are counted. The event is
* defined by the assertion and negation of TGATE.
***************************************************************************
***************************************************************************
* equates
***************************************************************************
MBAR
MODBASE EQU $FFFFF000 SIM40 MBAR address value
***************************************************************************
* Timer1 module equates
TIMER1
MCR1
MOTOROLA
MOVE.W
MOVE.W
MOVE.W
CLR.W
MOVE.W
END
EQU $600
EQU $0
EQU $0003FF00 Address of SIM40 Module Base Address Reg.
#$0003,MCR1(A0)
#$020F,IR1(A0)
#$0003,PRLD11(A0)
COM1(A0)
#$8205,CR1(A0)
Freescale Semiconductor, Inc.
For More Information On This Product,
MC68340 USER’S MANUAL
Go to: www.freescale.com
Offset from MBAR for timer1 module regs
MCR for timer1
8- 29

Related parts for MC68340PV16VE