Mercurial > hg > beaglert
comparison include/PRU.h @ 280:c55c6f6c233c prerelease
Added support for multiplexer capelet and command-line support for choosing PRU
author | andrewm |
---|---|
date | Tue, 17 May 2016 17:49:23 +0100 |
parents | 92145ba7aabf |
children | e4392164b458 |
comparison
equal
deleted
inserted
replaced
278:3c3d042dad12 | 280:c55c6f6c233c |
---|---|
34 // Clean up the GPIO at the end | 34 // Clean up the GPIO at the end |
35 void cleanupGPIO(); | 35 void cleanupGPIO(); |
36 | 36 |
37 // Initialise and open the PRU | 37 // Initialise and open the PRU |
38 int initialise(int pru_num, int frames_per_buffer, | 38 int initialise(int pru_num, int frames_per_buffer, |
39 int spi_channels, bool xenomai_test_pin = false); | 39 int spi_channels, int mux_channels = 0, |
40 bool xenomai_test_pin = false); | |
40 | 41 |
41 // Run the code image in pru_rtaudio_bin.h | 42 // Run the code image in pru_rtaudio_bin.h |
42 int start(char * const filename); | 43 int start(char * const filename); |
43 | 44 |
44 // Loop: read and write data from the PRU | 45 // Loop: read and write data from the PRU |