SoCRocket
Transaction-Level Modeling Framework for Space Applications
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 |
| #define CY_INTMEM_BASE 0x4A4 |
| #define HPI_ADDR_ADDR (HPI_ADDR_PORT << 1) |
Referenced by lcd_hpi_read_word(), lcd_hpi_read_words(), lcd_hpi_write_word(), and lcd_hpi_write_words().
| #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) |
Referenced by lcd_hpi_read_word(), lcd_hpi_read_words(), lcd_hpi_write_word(), and lcd_hpi_write_words().
| #define HPI_DATA_PORT 0x0000 /* HPI Data Port */ |
local definitions
| #define HPI_INT_MASK (1 << 12) |
| #define HPI_MBX_ADDR (HPI_MBX_PORT << 1) |
Referenced by lcd_hpi_read_mailbox(), and lcd_hpi_write_mailbox().
| #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* |
Referenced by inw(), lcd_hpi_read_words(), lcd_hpi_write_words(), and outw().
| #define UBYTE unsigned char |
| #define USHORT unsigned short |
Referenced by lcd_hpi_read_mailbox(), lcd_hpi_read_status(), lcd_hpi_read_word(), lcd_hpi_write_mailbox(), lcd_hpi_write_word(), and main().
| #define VOID void |