Monitor Initialization Code
C-45
M68VZ328ADS USER’S MANUAL
MOTOROLA
; PWM Registers
PWMC
equ
(M$500) ; Control Reg
PWMS
equ
(M$502) ; Sample Reg
PWMCNT
equ
(M$504) ; Count Reg
; Timer Registers
; Timer 1 Registers
TCTL
equ
(M$600) ; Control Reg
TPRER
equ
(M$602) ; Prescalar Reg
TCMP
equ
(M$604) ; Compare Reg
TCR
equ
(M$606) ; Capture Reg
TCN
equ
(M$608) ; Counter
TSTAT
equ
(M$60A) ; Status Reg
; SPI Registers
SPIMDATA
equ
(M$800) ; Control/Status Reg
SPIMCONT
equ
(M$802) ; Data Reg
; UART Registers
USTCNT
equ
(M$900) ; Status Control Reg
UBAUD
equ
(M$902) ; Baud Control Reg
UARTRX
equ
(M$904) ; Rx Reg
UARTTX
equ
(M$906) ; Tx Reg
UARTMISC
equ
(M$908) ; Misc Reg
UARTNIPR
equ
(M$90A) ; None-Integer Prscaler reg
; LCDC Registers
LSSA
equ
(M$A00) ; Screen Start Addr Reg
LVPW
equ
(M$A05) ; Virtual Page Width Reg
LXMAX
equ
(M$A08) ; Screen Width Reg
LYMAX
equ
(M$A0A) ; Screen Height Reg
LCXP
equ
(M$A18) ; Cursor X Position
LCYP
equ
(M$A1A) ; Cursor Y Position
LCWCH
equ
(M$A1C) ; Cursor Width & Height Reg
LBLKC
equ
(M$A1F) ; Blink Control Reg
LPICF
equ
(M$A20) ; Panel Interface Config Reg
LPOLCF
equ
(M$A21) ; Polarity Config Reg
LACDRC
equ
(M$A23) ; ACD (M) Rate Control Reg
LPXCD
equ
(M$A25) ; Pixel Clock Divider Reg
LCKCON
equ
(M$A27) ; Clocking Control Reg
LRRA
equ
(M$A29) ; Refresh Rate Adjust reg
LPOSR
equ
(M$A2D) ; Panning Offset Reg
LFRCM
equ
(M$A31) ; Frame Rate Control Mod Reg
LGPMR
equ
(M$A33) ; Gray Palette Mapping Reg
LPWM
equ
(M$A36) ; contrast control Reg
; RTC Registers
RTCHMSR
equ
(M$B00) ; Hrs Mins Secs Reg
RTCALM0R
equ
(M$B04) ; Alarm Register
RTCDAY
equ
(M$B08) ; RTC date reg
RTCWD
equ
(M$B0A) ; RTC watch dog timer reg
RTCCTL
equ
(M$B0C) ; Control Reg
RTCISR
equ
(M$B0E) ; Interrupt Status Reg
RTCIENR
equ
(M$B10) ; Interrupt Enable Reg
RSTPWCH
equ
(M$B12) ; Stopwatch Minutes
;ICEM registers
ICEMACR
equ
(M$D00)
ICEMAMR
equ
(M$D04)
ICEMCCR
equ
(M$D08)
ICEMCMR
equ
(M$D0A)
ICEMCR
equ
(M$D0C)
ICEMSR
equ
(M$D0E)
****************************************************************************
*
ADDRESSING OPTIONS
****************************************************************************
INTERVAL:
equ
2
****************************************************************************
*
I/O DEVICE OPTIONS
****************************************************************************
*****************************************************************
*
WARNING: This file redefines _usr_gchar bypassing the BSP
*
*****************************************************************
;****************************************************
;* Chosing suitable Debug Port
;*
;* by deleting the comment that you want
;****************************************************
****************************************
* Setting for VZ-UART2
****************************************
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..