Mercurial > hg > beaglert
comparison include/PRU.h @ 81:92145ba7aabf
Updated PRU code to allow pinModeFrame() and [untested] digitalWriteFrame() and analogWriteFrame() to be called from setup(). Updated basic_blink example accordingly.
author | andrewm |
---|---|
date | Fri, 17 Jul 2015 22:16:53 +0100 |
parents | 579c86316008 |
children | 3068421c0737 c55c6f6c233c |
comparison
equal
deleted
inserted
replaced
79:90e0c7750df3 | 81:92145ba7aabf |
---|---|
70 uint16_t *pru_buffer_spi_adc; | 70 uint16_t *pru_buffer_spi_adc; |
71 uint32_t *pru_buffer_digital; | 71 uint32_t *pru_buffer_digital; |
72 int16_t *pru_buffer_audio_dac; | 72 int16_t *pru_buffer_audio_dac; |
73 int16_t *pru_buffer_audio_adc; | 73 int16_t *pru_buffer_audio_adc; |
74 | 74 |
75 float *last_analog_out_frame; | |
76 uint32_t *digital_buffer0, *digital_buffer1, *last_digital_buffer; | |
77 | |
75 int xenomai_gpio_fd; // File descriptor for /dev/mem for fast GPIO | 78 int xenomai_gpio_fd; // File descriptor for /dev/mem for fast GPIO |
76 uint32_t *xenomai_gpio; // Pointer to GPIO registers | 79 uint32_t *xenomai_gpio; // Pointer to GPIO registers |
77 }; | 80 }; |
78 | 81 |
79 | 82 |