Mercurial > hg > beaglert
comparison include/PRU.h @ 288:771a0920c626 prerelease
merge
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 18 May 2016 01:50:01 +0100 |
parents | c55c6f6c233c |
children | e4392164b458 |
comparison
equal
deleted
inserted
replaced
287:4815ed0f21de | 288:771a0920c626 |
---|---|
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 |