Freescale semiconductor, i, Freescale semiconductor, inc – Motorola M68EZ328ADS User Manual

Page 48

Advertising
background image

Monitor Initialization Code

D-47

M68EZ328ADS v2.0 USER’S MANUAL

MOTOROLA

RTCISR

equ

(M328BASE+$B0E) ; Interrupt Status Reg

RTCIENR

equ

(M328BASE+$B10) ; Interrupt Enable Reg

RSTPWCH

equ

(M328BASE+$B12) ; Stopwatch Minutes

;ICEM registers

ICEMACR

equ

(M328BASE+$D00)

ICEMAMR

equ

(M328BASE+$D04)

ICEMCCR

equ

(M328BASE+$D08)

ICEMCMR

equ

(M328BASE+$D0A)

ICEMCR

equ

(M328BASE+$D0C)

ICEMSR

equ

(M328BASE+$D0E)

****************************************************************************

*

ADDRESSING OPTIONS

****************************************************************************

;INTERVAL:

equ

2

INTERVAL:

equ

1

****************************************************************************

*

I/O DEVICE OPTIONS

****************************************************************************

*****************************************************************

*

WARNING: This file redefines _usr_gchar bypassing the BSP

*

*****************************************************************

****************************************

* Setting for ST16C2552

****************************************

#define DEV_IN

ST16C2552

#define DEV_OUT ST16C2552

BASE_IN:

equ

$FFFD0000

; base address

BASE_OUT:

equ

$FFFD0000

; base address

BAUD_IN:

equ

576

; baud rates = BAUD_IN/100 bps

BAUD_OUT:

equ

576

; baud rates = BAUD_OUT/100 bps

****************************************

* Setting for EZ-UART

****************************************

;#define DEV_IN

EZUART

;#define DEV_OUT EZUART

;BASE_IN:

equ

$fffd8000

; base address not applicable

;BASE_OUT:

equ

$fffd8000

; base address not applicable

;BAUD_IN:

equ

1152

; baud rates = 115200 bps

;BAUD_OUT:

equ

1152

; baud rates = 115200 bps

****************************************

* Seting for ADI PORT on EZ-ADS

****************************************

;#define DEV_IN

ADIPORT

;#define DEV_OUT ADIPORT

;BASE_IN:

equ

$fffd8000

; base address of input device

;BASE_OUT:

equ

$fffd8000

; base address of output device

;BAUD_IN:

equ

0

; baud rates not applicable

;BAUD_OUT:

equ

0

; baud rates not applicable

****************************************

Freescale Semiconductor, I

Freescale Semiconductor, Inc.

For More Information On This Product,

Go to: www.freescale.com

nc.

..

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

ARCHIVED BY FREESCALE SEMICONDUCT

OR,

INC.

2005

Advertising