diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h b/procsdk_audio_x_xx_xx_xx/tools/alpha/ml_a.h
similarity index 66%
rename from procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h
rename to procsdk_audio_x_xx_xx_xx/tools/alpha/ml_a.h
index 519f920b7bc52e2d4d458f74b1c7dc209d8a059d..72b6cc611f84638e9923ee619f42feabb01e2bae 100644 (file)
rename from procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h
rename to procsdk_audio_x_xx_xx_xx/tools/alpha/ml_a.h
index 519f920b7bc52e2d4d458f74b1c7dc209d8a059d..72b6cc611f84638e9923ee619f42feabb01e2bae 100644 (file)
+
/*
-* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+* Copyright (C) 2004-2014 Texas Instruments Incorporated - http://www.ti.com/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
//
//
-// MDFORMAT ASP alpha codes
+// MIPS Load Demonstration algorithm alpha codes
+//
+//
//
-#ifndef _MDFORMAT_A
-#define _MDFORMAT_A
+#ifndef _ML_A
+#define _ML_A
+
+#include <acpbeta.h>
+
+#define readMLMode 0xc200+STD_BETA_ML,0x0400
+
+#define writeMLModeDisable 0xca00+STD_BETA_ML,0x0400
+#define writeMLModeEnable 0xca00+STD_BETA_ML,0x0401
-// This has to be defined in cusbeta.h; cross check the definition in cusbeta.h or include that file here
-#include "stdbeta.h"
-#ifndef STD_BETA_MDFORMAT
- #define STD_BETA_MDFORMAT 0x87
- #warn STD_BETA_MDFORMAT should be defined in stdbeta.h.
-#endif
+#define readMLCount 0xc300+STD_BETA_ML,0x0006
+#define writeMLCountN(NN) 0xcb00+STD_BETA_ML,0x0006,NN
+#define wroteMLCount 0xcb00+STD_BETA_ML,0x0006
-#define readMDFORMATMode 0xc200+STD_BETA_MDFORMAT,0x0400
-#define writeMDFORMATModeDisable 0xca00+STD_BETA_MDFORMAT,0x0400
-#define writeMDFORMATModeEnable 0xca00+STD_BETA_MDFORMAT,0x0401
+#define readMLStatus 0xc508,STD_BETA_ML
+#define readMLControl \
+ readMLMode, \
+ readMLCount
-#define readMDFORMATMaxNumChMd 0xc200+STD_BETA_MDFORMAT,0x0800
-#define writeMDFORMATMaxNumChMd(N) 0xca00+STD_BETA_MDFORMAT,0x0800+((N)&0xff)
+#endif /* _ML_A */
-#endif /* _MDFORMAT_A */