summaryrefslogtreecommitdiff
path: root/wctdm24xxp/GpakHpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'wctdm24xxp/GpakHpi.h')
-rw-r--r--wctdm24xxp/GpakHpi.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/wctdm24xxp/GpakHpi.h b/wctdm24xxp/GpakHpi.h
new file mode 100644
index 0000000..9dbf67a
--- /dev/null
+++ b/wctdm24xxp/GpakHpi.h
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2001, Adaptive Digital Technologies, Inc.
+ *
+ * File Name: GpakHpi.h
+ *
+ * Description:
+ * This file contains common definitions related to the G.PAK interface
+ * between a host processor and a DSP processor via the Host Port Interface.
+ *
+ * Version: 1.0
+ *
+ * Revision History:
+ * 10/17/01 - Initial release.
+ *
+ */
+
+#ifndef _GPAKHPI_H /* prevent multiple inclusion */
+#define _GPAKHPI_H
+
+
+/* Definition of G.PAK Command/Reply message type codes. */
+#define MSG_NULL_REPLY 0 /* Null Reply (unsupported Command) */
+#define MSG_SYS_CONFIG_RQST 1 /* System Configuration Request */
+#define MSG_SYS_CONFIG_REPLY 2 /* System Configuration Reply */
+#define MSG_READ_SYS_PARMS 3 /* Read System Parameters */
+#define MSG_READ_SYS_PARMS_REPLY 4 /* Read System Parameters Reply */
+#define MSG_WRITE_SYS_PARMS 5 /* Write System Parameters */
+#define MSG_WRITE_SYS_PARMS_REPLY 6 /* Write System Parameters Reply */
+#define MSG_CONFIGURE_PORTS 7 /* Configure Serial Ports */
+#define MSG_CONFIG_PORTS_REPLY 8 /* Configure Serial Ports Reply */
+#define MSG_CONFIGURE_CHANNEL 9 /* Configure Channel */
+#define MSG_CONFIG_CHAN_REPLY 10 /* Configure Channel Reply */
+#define MSG_TEAR_DOWN_CHANNEL 11 /* Tear Down Channel */
+#define MSG_TEAR_DOWN_REPLY 12 /* Tear Down Channel Reply */
+#define MSG_CHAN_STATUS_RQST 13 /* Channel Status Request */
+#define MSG_CHAN_STATUS_REPLY 14 /* Channel Status Reply */
+
+#define MSG_TEST_MODE 17 /* Configure/Perform Test Mode */
+#define MSG_TEST_REPLY 18 /* Configure/Perform Test Mode Reply */
+
+#define MSG_ALG_CONTROL 27 /* algorithm control */
+#define MSG_ALG_CONTROL_REPLY 28 /* algorithm control reply */
+#define MSG_GET_TXCID_ADDRESS 29 /* get tx cid buffer start address */
+#define MSG_GET_TXCID_ADDRESS_REPLY 30 /* get tx cid buffer start addr reply */
+
+#define MSG_PING 35 /* ping command */
+#define MSG_PING_REPLY 36 /* ping command reply */
+#define MSG_SERIAL_TXVAL 37 /* transmit serial fixed value */
+#define MSG_SERIAL_TXVAL_REPLY 38 /* transmit serial fixed value reply */
+#define MSG_TDM_LOOPBACK 39 /* tdm loopback control */
+#define MSG_TDM_LOOPBACK_REPLY 40 /* tdm loopback control reply */
+#define MSG_RESET_USAGE_STATS 41 /* reset cpu usage stats */
+#define MSG_RESET_USAGE_STATS_REPLY 42 /* reset cpu usage stats reply */
+
+#define MSG_RESET_FRAME_STATS 47 /* reset framing stats */
+#define MSG_RESET_FRAME_STATS_REPLY 48 /* reset framing stats reply */
+
+#define MSG_READ_DSP_MEMORY 49 /* read small section of DSP's memory */
+#define MSG_READ_DSP_MEMORY_REPLY 50 /* read memory reply */
+
+#define MSG_ACCESSGPIO 51
+#define MSG_ACCESSGPIO_REPLY 52
+#endif /* prevent multiple inclusion */