Mercurial > hg > beaglert
comparison include/PRU.h @ 303:421a69d42943 prerelease
Changed BeagleRT -> Bela in defines and thread names; some preliminary mux capelet stuff
author | andrewm |
---|---|
date | Fri, 27 May 2016 17:40:44 +0100 |
parents | e4392164b458 |
children | ff5f346a293e |
comparison
equal
deleted
inserted
replaced
302:b26e7c61e3b6 | 303:421a69d42943 |
---|---|
62 bool running; // Whether the PRU is running | 62 bool running; // Whether the PRU is running |
63 bool analog_enabled; // Whether SPI ADC and DAC are used | 63 bool analog_enabled; // Whether SPI ADC and DAC are used |
64 bool digital_enabled; // Whether digital is used | 64 bool digital_enabled; // Whether digital is used |
65 bool gpio_enabled; // Whether GPIO has been prepared | 65 bool gpio_enabled; // Whether GPIO has been prepared |
66 bool led_enabled; // Whether a user LED is enabled | 66 bool led_enabled; // Whether a user LED is enabled |
67 int mux_channels; // How many mux channels are used (if enabled) | |
67 bool gpio_test_pin_enabled; // Whether the test pin was also enabled | 68 bool gpio_test_pin_enabled; // Whether the test pin was also enabled |
69 | |
68 | 70 |
69 volatile uint32_t *pru_buffer_comm; | 71 volatile uint32_t *pru_buffer_comm; |
70 uint16_t *pru_buffer_spi_dac; | 72 uint16_t *pru_buffer_spi_dac; |
71 uint16_t *pru_buffer_spi_adc; | 73 uint16_t *pru_buffer_spi_adc; |
72 uint32_t *pru_buffer_digital; | 74 uint32_t *pru_buffer_digital; |