Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Classes | Macros
hpi_defs.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

union  CTRL_REG
 

Macros

#define USHORT   unsigned short
 
#define PUSHORT   unsigned short*
 
#define VOID   void
 
#define UBYTE   unsigned char
 
#define PUBYTE   unsigned char*
 
#define HPI_BASE   0xfff24000
 
#define HPI_CTRL   0xfff34000
 
#define HPI_DATA_PORT   0x0000 /* HPI Data Port */
 
#define HPI_MBX_PORT   0x0001 /* HPI Mailbox Port */
 
#define HPI_ADDR_PORT   0x0002 /* HPI Address Port */
 
#define HPI_STAT_PORT   0x0003 /* HPI Status Port */
 
#define HPI_STAT_ADDR   (HPI_STAT_PORT << 1)
 
#define HPI_MBX_ADDR   (HPI_MBX_PORT << 1)
 
#define HPI_DATA_ADDR   (HPI_DATA_PORT << 1)
 
#define HPI_ADDR_ADDR   (HPI_ADDR_PORT << 1)
 
#define HPI_INT_MASK   (1 << 12)
 
#define CY_INTMEM_BASE   0x4A4
 

Macro Definition Documentation

#define CY_INTMEM_BASE   0x4A4
#define HPI_ADDR_ADDR   (HPI_ADDR_PORT << 1)
#define HPI_ADDR_PORT   0x0002 /* HPI Address Port */
#define HPI_BASE   0xfff24000
#define HPI_CTRL   0xfff34000

Referenced by main().

#define HPI_DATA_ADDR   (HPI_DATA_PORT << 1)
#define HPI_DATA_PORT   0x0000 /* HPI Data Port */

local definitions

#define HPI_INT_MASK   (1 << 12)
#define HPI_MBX_ADDR   (HPI_MBX_PORT << 1)
#define HPI_MBX_PORT   0x0001 /* HPI Mailbox Port */
#define HPI_STAT_ADDR   (HPI_STAT_PORT << 1)

Referenced by lcd_hpi_read_status().

#define HPI_STAT_PORT   0x0003 /* HPI Status Port */
#define PUBYTE   unsigned char*
#define PUSHORT   unsigned short*
#define UBYTE   unsigned char
#define USHORT   unsigned short
#define VOID   void