A SERVICE OF

logo

Cypress CY3640 USB Starter Kit
User’s Guide
Cypress Semiconductor Ver 0.993
Page 37
CY6300X.INC
;;******************************************************************************
;; C7C63x0x.h - Cypress Semiconductor Cy7C63x0x micrprocessor definitions
;; Copyright (c) Slade Systems, Inc, 1997
;;
;; Cypress Semiconductor Corp.
;; 12032 113th Ave NE, Kirkland, WA 98034
;; 206-821-9202 - 206-820-8959(f)
;;
;;******************************************************************************
;*******************************************************************************
;
; M8 - 8bit microprocessor
; registers: accumulator 'acc'
; index 'x'
; stack pointer 'dsp'
; program SP 'psp'
; program counter 'pc' 16 bits (14 bit addressing)
; PC low 'pcl'
; PC high 'pch'
; When PC is pushed on stack
; carry flag is stored in bit 14
; zero flag is stored in bit 15
;
; Program ROM 4096 bytes in 256 byte pages
; Program RAM 128 bytes
; Processor PORTs contain 16k-ohm resistor (pull-up and slew control)
;
; After reset:
; Port 0 and Port 1 are set high
;
;
;*******************************************************************************
;*************************************************
;
; I/O ports defined
SysPort0 :equ 00h ; GPIO data port 0 (P00-P07)
SysPort1 :equ 01h ; GPIO data port 1 (P10-P13)
SysPort0IntEnable :equ 04h ; Port0 Interrupt Enable
SysPort1IntEnable :equ 05h ; Port1 Interrupt Enable
SysPort0PullUp :equ 08h ; Port0 PullUp Resistor Enable (0=active)
SysPort1PullUp :equ 09h ; Port1 PullUp Resistor Enable (0=active)
; General
SysStatus :equ FFh ;
SysStatusRun :equ 01h ;
SysStatusReserved2 :equ 02h ; nul
SysStatusReserved3 :equ 04h ; nul
SysStatusSuspend :equ 08h ; write only (restart =256us)
SysStatusPowerOn :equ 10h ;
SysStatusUSBReset :equ 20h ;
SysStatusWDReset :equ 40h ;
SysStatusReserved7 :equ 80h ; nul
SysWatchDog :equ 21h ; WatchDog controller
SysTimerExternal :equ 22h ; Timer also ???
SysTimer :equ 23h ; Timer (read only) {6MHZ=1us resolution}
SysInterrupt :equ 20h ; Global interrupt
SysIntReserved0 :equ 01h ;
SysIntTimer128us :equ 02h ;
SysIntTimer1024us :equ 04h ;
SysIntUSBEndP0 :equ 08h ;
SysIntUSBEndP1 :equ 10h ;
SysIntReserved5 :equ 20h ;
SysIntGPIO :equ 40h ;
SysIntWakeUp :equ 80h ;