home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
SIMTEL
/
HITECH-C
/
MOTOROLA.EXE
/
68HC05E0.H
< prev
next >
Wrap
Text File
|
1993-04-21
|
2KB
|
48 lines
/*
* Ports and interrupts for the 68HC05E0 processor
*/
/* Port Data registers */
volatile static unsigned char PADR @ 0x00;
volatile static unsigned char PBDR @ 0x01;
volatile static unsigned char PCDR @ 0x02;
volatile static unsigned char PDDR @ 0x03;
volatile static unsigned char PEDR @ 0x04;
/* Port Data Direction registers */
static unsigned char PADDR @ 0x05;
static unsigned char PBDDR @ 0x06;
static unsigned char PCDDR @ 0x07;
static unsigned char PDDDR @ 0x08;
static unsigned char PEDDR @ 0x09;
/* Timer control registers */
static unsigned char TAPR @ 0x0A; /* timer A prescaler register */
static unsigned char TBSR @ 0x0B; /* timer B scaler register */
static unsigned char TCR @ 0x0C; /* timer control register */
volatile static unsigned char ICR @ 0x0E; /* interrupt control register */
volatile static unsigned char SIDR @ 0x0F; /* serial interface data register */
static unsigned char PEMR @ 0x10; /* Port E Mode register */
static unsigned char SISR @ 0x11; /* Serial Interface S register */
static unsigned char PDMR @ 0x12; /* Port E Mode register */
static unsigned char WAER @ 0x13; /* Wake up enable register */
static unsigned char WAPR @ 0x14; /* Wake up phase register */
volatile static unsigned char RTICTR @ 0x18; /* RTI control register */
volatile static unsigned char RTICNR @ 0x19; /* RTI count register */
/*
* Interrupt vectors
*/
#define INTX_VEC 0xFFFA /* real time, external and wake up interrupt */
#define TIMERA_VEC 0xFFF8 /* timer a interrupt */
#define TIMERB_VEC 0xFFF6 /* timer b interrupt */
#define SERIAL_VEC 0xFFF4 /* serial interface interrupt */