diff include/pru_rtaudio_bin.h @ 15:901d205d1a3c

Updated to latest PRU library; external PRU file no longer needed. Also catch SIGTERM as well as SIGINT to clean up gracefully.
author andrewm
date Sat, 07 Feb 2015 16:41:56 +0000
parents
children 670be80463a3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/pru_rtaudio_bin.h	Sat Feb 07 16:41:56 2015 +0000
@@ -0,0 +1,531 @@
+
+
+/* This file contains the PRU instructions in a C array which are to  */
+/* be downloaded from the host CPU to the PRU instruction memory.     */
+/* This file is generated by the PRU assembler.                       */
+
+const unsigned int PRUcode[] =  {
+     0x240002c3,
+     0x24202083,
+     0x240000e2,
+     0xe1002382,
+     0x240002c3,
+     0x24202883,
+     0x240120e2,
+     0xe1002382,
+     0x240001d9,
+     0x24000099,
+     0x244803da,
+     0x2401009a,
+     0x244803dd,
+     0x2480009d,
+     0x91042480,
+     0x1d04e0e0,
+     0x81042480,
+     0x240000f8,
+     0x240008e9,
+     0xf1243982,
+     0x5100e202,
+     0x1f01f8f8,
+     0xc901f868,
+     0xf1283989,
+     0x6108e903,
+     0x240008e9,
+     0x79000005,
+     0x6104e903,
+     0x240004e9,
+     0x79000002,
+     0x240002e9,
+     0x240002e2,
+     0x2444e0c3,
+     0x24004c83,
+     0xe1002382,
+     0x240002e2,
+     0xe1103a82,
+     0xf1143a82,
+     0xcf00e2ff,
+     0x240000e2,
+     0xe1343a82,
+     0xe1483a82,
+     0x240000e2,
+     0xe1283a82,
+     0x241801c2,
+     0x240fc582,
+     0xe12c3a82,
+     0x241801c2,
+     0x24078482,
+     0xe1403a82,
+     0x240001e2,
+     0xe1343a82,
+     0xe1483a82,
+     0x240700c2,
+     0x24000082,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471909c,
+     0xe1003c9b,
+     0xe1383a82,
+     0xf1303a9b,
+     0xcf00fbff,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471949c,
+     0xe1003c9b,
+     0xf13c3a9b,
+     0x24f120e2,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1909c,
+     0xe1003c9b,
+     0xe14c3a82,
+     0xf1443a9b,
+     0xcf00fbff,
+     0xf1503a82,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1949c,
+     0xe1003c9b,
+     0x240800c2,
+     0x24000182,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471909c,
+     0xe1003c9b,
+     0xe1383a82,
+     0xf1303a9b,
+     0xcf00fbff,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471949c,
+     0xe1003c9b,
+     0xf13c3a9b,
+     0x24f120e2,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1909c,
+     0xe1003c9b,
+     0xe14c3a82,
+     0xf1443a9b,
+     0xcf00fbff,
+     0xf1503a82,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1949c,
+     0xe1003c9b,
+     0x24f320e2,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1909c,
+     0xe1003c9b,
+     0xe14c3a82,
+     0xf1443a9b,
+     0xcf00fbff,
+     0xf1503a82,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1949c,
+     0xe1003c9b,
+     0x240000fb,
+     0xe1443d9b,
+     0x240000fb,
+     0x240180fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x240184fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x240188fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x24018cfc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x240190fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x240194fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240002fb,
+     0xe1043d9b,
+     0x240000fb,
+     0xe1103d9b,
+     0x240800db,
+     0x2400049b,
+     0xe1143d9b,
+     0x240000fb,
+     0xe14c3d9b,
+     0x240000fb,
+     0xe1503d9b,
+     0x24fffffb,
+     0xe1643d9b,
+     0x24807cfb,
+     0xe1683d9b,
+     0x240100fb,
+     0xe16c3d9b,
+     0x240080fb,
+     0xe1703d9b,
+     0x248001fb,
+     0xe1743d9b,
+     0x240003fb,
+     0xe1783d9b,
+     0x240000fb,
+     0xe17c3d9b,
+     0x24fffffb,
+     0xe1a43d9b,
+     0x24807cfb,
+     0xe1a83d9b,
+     0x240100fb,
+     0xe1ac3d9b,
+     0x240000fb,
+     0xe1b03d9b,
+     0x248001fb,
+     0xe1b43d9b,
+     0x240003fb,
+     0xe1b83d9b,
+     0x240000fb,
+     0xe1bc3d9b,
+     0x240002fb,
+     0x240180fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240001fb,
+     0x240188fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x241000fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240000fb,
+     0x241008fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x2400fffb,
+     0xe1c03d9b,
+     0x2400fffb,
+     0xe1803d9b,
+     0x240002fb,
+     0xf1603d9c,
+     0x12fbfcfc,
+     0xe1603d9c,
+     0xf1603d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240200fb,
+     0xf1a03d9c,
+     0x12fbfcfc,
+     0xe1a03d9c,
+     0xf1a03d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x241000c2,
+     0x24000082,
+     0x244804c3,
+     0x24c19483,
+     0xe1002382,
+     0x240001c2,
+     0x2486a082,
+     0x0501e2e2,
+     0x6f00e2ff,
+     0x241000c2,
+     0x24000082,
+     0x244804c3,
+     0x24c19083,
+     0xe1002382,
+     0x240001fb,
+     0xf1603d9c,
+     0x12fbfcfc,
+     0xe1603d9c,
+     0xf1603d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240100fb,
+     0xf1a03d9c,
+     0x12fbfcfc,
+     0xe1a03d9c,
+     0xf1a03d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240004fb,
+     0xf1603d9c,
+     0x12fbfcfc,
+     0xe1603d9c,
+     0xf1603d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240400fb,
+     0xf1a03d9c,
+     0x12fbfcfc,
+     0xe1a03d9c,
+     0xf1a03d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240008fb,
+     0xf1603d9c,
+     0x12fbfcfc,
+     0xe1603d9c,
+     0xf1603d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240800fb,
+     0xf1a03d9c,
+     0x12fbfcfc,
+     0xe1a03d9c,
+     0xf1a03d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x240000fb,
+     0x240208fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0x240010fb,
+     0xf1603d9c,
+     0x12fbfcfc,
+     0xe1603d9c,
+     0xf1603d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0x241000fb,
+     0xf1a03d9c,
+     0x12fbfcfc,
+     0xe1a03d9c,
+     0xf1a03d9c,
+     0x10fbfcfc,
+     0x5700fcfe,
+     0xf108398b,
+     0x240000f0,
+     0x0901ebf1,
+     0x2701e9e2,
+     0x08e2f1f1,
+     0x240000f4,
+     0x08e2ebf5,
+     0x1d00f8f8,
+     0x240000e2,
+     0xe1203982,
+     0xf1c03d82,
+     0xcf05e2ff,
+     0x240000fb,
+     0x240208fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0xf1803d82,
+     0xcf05e2ff,
+     0x240280fc,
+     0x00fcfdfc,
+     0xf1003c82,
+     0x10f0f0f2,
+     0x2701e9e2,
+     0x08e2ebf3,
+     0x0902f3f3,
+     0x00f2f3f3,
+     0x10f4f4f6,
+     0x08e2ebf7,
+     0x0901f7f7,
+     0x02f6f7f7,
+     0x240000ea,
+     0x240000e1,
+     0xc901f805,
+     0x90f2388c,
+     0x240000e2,
+     0x80f23882,
+     0x0104f2f2,
+     0xd102f808,
+     0x90f63c8e,
+     0x240000e2,
+     0x80f63c82,
+     0x0104f6f6,
+     0x24ffffe2,
+     0x10e2eee7,
+     0x79000002,
+     0x0b10eee7,
+     0xf1c03d82,
+     0xcf05e2ff,
+     0x10e7e7fb,
+     0x240208fc,
+     0x00fcfdfc,
+     0xe1003c9b,
+     0xd102f80a,
+     0x240000ef,
+     0xf1803d82,
+     0xcf05e2ff,
+     0x240280fc,
+     0x00fcfdfc,
+     0xf1003c83,
+     0x24ffffe2,
+     0x10e2e3ef,
+     0x7900000a,
+     0xf1803d82,
+     0xcf05e2ff,
+     0x240280fc,
+     0x00fcfdfc,
+     0xf1003c83,
+     0x0910e3e3,
+     0x12e3efef,
+     0x80f73c8f,
+     0x0104f7f7,
+     0xc901f85c,
+     0x24ffffe2,
+     0x10e2ece7,
+     0x0904e7e7,
+     0x240300c8,
+     0x24000088,
+     0x12e8e7e7,
+     0x0914e1e8,
+     0x12e8e7e7,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471909c,
+     0xe1003c9b,
+     0xe1383a87,
+     0xf1303a9b,
+     0xcf00fbff,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471949c,
+     0xe1003c9b,
+     0xf13c3a9b,
+     0x240000ed,
+     0x0102e1e8,
+     0x0501e9e7,
+     0x10e7e8e8,
+     0x0909e8e8,
+     0x24f120e7,
+     0x12e8e7e7,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1909c,
+     0xe1003c9b,
+     0xe14c3a87,
+     0xf1443a9b,
+     0xcf00fbff,
+     0xf1503a87,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1949c,
+     0xe1003c9b,
+     0x24ffffe2,
+     0x10e2e7ed,
+     0x0101e1e1,
+     0x0b10ece7,
+     0x0904e7e7,
+     0x240300c8,
+     0x24000088,
+     0x12e8e7e7,
+     0x0914e1e8,
+     0x12e8e7e7,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471909c,
+     0xe1003c9b,
+     0xe1383a87,
+     0xf1303a9b,
+     0xcf00fbff,
+     0x240020fb,
+     0x2444e0dc,
+     0x2471949c,
+     0xe1003c9b,
+     0xf13c3a9b,
+     0x0102e1e8,
+     0x0501e9e7,
+     0x10e7e8e8,
+     0x0909e8e8,
+     0x24f120e7,
+     0x12e8e7e7,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1909c,
+     0xe1003c9b,
+     0xe14c3a87,
+     0xf1443a9b,
+     0xcf00fbff,
+     0xf1503a87,
+     0x240001db,
+     0x2400009b,
+     0x244804dc,
+     0x24c1949c,
+     0xe1003c9b,
+     0x0910e7e7,
+     0x12e7eded,
+     0x80f3388d,
+     0x0104f3f3,
+     0x1504f8f8,
+     0x0101e1e1,
+     0x6ee9e17f,
+     0x79000004,
+     0x1504f8f8,
+     0x0102e1e1,
+     0x6ee9e17b,
+     0x0101eaea,
+     0x6eebea78,
+     0x10f0f0e2,
+     0x10f1f1f0,
+     0x10e2e2f1,
+     0x10f4f4e2,
+     0x10f5f5f4,
+     0x10e2e2f5,
+     0x1501f8f8,
+     0x1101f8e2,
+     0xe1043982,
+     0xf1203982,
+     0x00ebe2e2,
+     0xe1203982,
+     0xf1183983,
+     0x5100e30d,
+     0x241000e1,
+     0x10e1e2e2,
+     0x5100e206,
+     0xf11c3982,
+     0x240194e1,
+     0x00e1e3e3,
+     0xe1002382,
+     0x79000005,
+     0xf11c3982,
+     0x240190e1,
+     0x00e1e3e3,
+     0xe1002382,
+     0xc900f807,
+     0x241000c2,
+     0x24000082,
+     0x244804c3,
+     0x24c19483,
+     0xe1002382,
+     0x79000006,
+     0x241000c2,
+     0x24000082,
+     0x244804c3,
+     0x24c19083,
+     0xe1002382,
+     0xf1003982,
+     0x5700e246,
+     0x240000fb,
+     0xe1443d9b,
+     0xc901f80c,
+     0x244803c3,
+     0x24012c83,
+     0xf1002382,
+     0x1d0de2e2,
+     0x1d1be2e2,
+     0xe1002382,
+     0x244803c3,
+     0x24013483,
+     0xf1002382,
+     0x1d01e2e2,
+     0xe1002382,
+     0x2400231f,
+     0x2a000000 };
+