EM78x156xx.H
/****************************************************
* Header file for the Elan *
* EM78P156E Chip *
* EM78P156N chip *
* Title: EM78X156 include file *
* Description: The Definition of EM78x156 *
* Registers and Bits *
* Company: ELAN MICROELECTRONICS (SZ) LTD. *
* Author: HongXi.Tang *
* Date: 10/05/2005 *
* Version: v1.0 *
****************************************************/
static unsigned int TCC @0x01:rpage 0;
static unsigned int PC @0x02:rpage 0;
static unsigned int STATUS @0x03:rpage 0;
static unsigned int RSR @0x04:rpage 0;
static unsigned int PORT5 @0x05:rpage 0;
static unsigned int PORT6 @0x06:rpage 0;
static unsigned int ISR @0x0F:rpage 0;
/*======================================================;
; Special Purpose Registers Define ;
; ======================================================;
;
; A: Accumulator
; It can’t be addressed.
;
; CONT: Control Register
;
;{
; bit 7 not used
mINT == 0x40 ; Interrupt enable flag
; "0" : Masked by DISI or hardware interrupt
; "1" : Enabled by ENI/RETI instructions
mTS == 0x20 ; TCC signal source
; "0" : Internal instruction cycle clock
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] 下一页