Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Monitor Initialization Code Freescale Semiconductor, Inc.

PGPUEN

equ

(M328BASE+$432)

;

Pullup

Enable Reg

PGSEL

equ

(M328BASE+$433)

;

Select

Reg

;PWM RegistersARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

PWMC

equ

(M328BASE+$500) ; Control Reg

PWMS

equ

(M328BASE+$502) ; Sample Reg

PWMCNT

equ

(M328BASE+$504) ; Count Reg

; Timer Registers

 

 

 

; Timer 1 Registers

TCTL

equ

(M328BASE+$600) ; Control Reg

TPRER

equ

(M328BASE+$602) ; Prescalar Reg

TCMP

equ

(M328BASE+$604) ; Compare Reg

TCR

equ

(M328BASE+$606) ; Capture Reg

TCN

equ

(M328BASE+$608) ; Counter

TSTAT

equ

(M328BASE+$60A) ; Status Reg

; SPI Registers

 

 

SPIMDATA

equ

(M328BASE+$800) ; Control/Status Reg

SPIMCONT

equ

(M328BASE+$802) ; Data Reg

; UART Registers

 

 

USTCNT

equ

(M328BASE+$900) ; Status Control Reg

UBAUD

equ

(M328BASE+$902) ; Baud Control Reg

UARTRX

equ

(M328BASE+$904) ; Rx Reg

UARTTX

equ

(M328BASE+$906) ; Tx Reg

UARTMISC

equ

(M328BASE+$908) ; Misc Reg

UARTNIPR

equ

(M328BASE+$90A) ; None-Integer Prscaler reg

; LCDC Registers

 

 

LSSA

equ

(M328BASE+$A00) ; Screen Start Addr Reg

LVPW

equ

(M328BASE+$A05) ; Virtual Page Width Reg

LXMAX

equ

(M328BASE+$A08) ; Screen Width Reg

LYMAX

equ

(M328BASE+$A0A) ; Screen Height Reg

LCXP

equ

(M328BASE+$A18) ; Cursor X Position

LCYP

equ

(M328BASE+$A1A) ; Cursor Y Position

LCWCH

equ

(M328BASE+$A1C) ; Cursor Width & Height Reg

LBLKC

equ

(M328BASE+$A1F) ; Blink Control Reg

LPICF

equ

(M328BASE+$A20) ; Panel Interface Config Reg

LPOLCF

equ

(M328BASE+$A21) ; Polarity Config Reg

LACDRC

equ

(M328BASE+$A23) ; ACD (M) Rate Control Reg

LPXCD

equ

(M328BASE+$A25) ; Pixel Clock Divider Reg

LCKCON

equ

(M328BASE+$A27) ; Clocking Control Reg

LRRA

equ

(M328BASE+$A29) ; Refresh Rate Adjust reg

LPOSR

equ

(M328BASE+$A2D) ; Panning Offset Reg

LFRCM

equ

(M328BASE+$A31) ; Frame Rate Control Mod Reg

LGPMR

equ

(M328BASE+$A33) ; Gray Palette Mapping Reg

LPWM

equ

(M328BASE+$A36) ; contrast control Reg

; RTC Registers

 

 

RTCHMSR

equ

(M328BASE+$B00) ; Hrs Mins Secs Reg

RTCALM0R

equ

(M328BASE+$B04) ; Alarm Register

RTCDAY

equ

(M328BASE+$B08) ; RTC date reg

RTCWD

equ

(M328BASE+$B0A) ; RTC watch dog timer reg

RTCCTL

equ

(M328BASE+$B0C) ; Control Reg

D-46M68EZ328ADS v2.0 USER’S MANUALMOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Page 47
Image 47
Motorola M68EZ328ADS user manual PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC