Changeset 10677 for firmware/FSC/src/FSC_test.c
- Timestamp:
- 05/12/11 17:47:17 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/src/FSC_test.c
r10667 r10677 11 11 #include "parser.h" 12 12 #include "interpol.h" 13 #include "timer.h" 13 14 #include "w5100_spi_interface.h" 14 15 #include <avr/interrupt.h> … … 29 30 bool verbose; 30 31 bool heartbeat_enable; 31 32 /* 32 33 // USART global variables 33 34 U08 usart_rx_buffer[USART_RX_BUFFER_SIZE]; … … 39 40 // USART FLAGS 40 41 bool usart_tx_buffer_overflow = false; // true if usart_tx_buffer was full. 41 42 */ 42 43 // TIMER global variable 43 44 volatile U32 local_ms = 0; 44 45 45 46 // AD7719 global variables 46 U32 ad7719_values[ TEMP_CHANNELS];47 U08 ad7719_enables[ CHANNEL_BITMAP];48 U08 ad7719_channels_ready[ CHANNEL_BITMAP];47 U32 ad7719_values[RESISTANCE_CHANNELS]; 48 U08 ad7719_enables[RESISTANCE_CHANNELS/8]; 49 U08 ad7719_channels_ready[RESISTANCE_CHANNELS/8]; 49 50 U08 ad7719_readings_since_last_muxing = 0; 50 51 U08 ad7719_current_channel = 0; … … 53 54 54 55 // ATMEGA ADC global variables 55 U08 adc_values[V _CHANNELS + I_CHANNELS + H_CHANNELS]; // stores measured voltage in steps of 16mV56 U08 adc_enables[V _BITMAP + I_BITMAP + H_BITMAP];57 U08 adc_channels_ready[V _BITMAP + I_BITMAP + H_BITMAP];56 U08 adc_values[VOLTAGE_CHANNELS]; // stores measured voltage in steps of 16mV 57 U08 adc_enables[VOLTAGE_CHANNELS/8]; 58 U08 adc_channels_ready[VOLTAGE_CHANNELS/8]; 58 59 U08 adc_readings_since_last_muxing = 0; 59 60 U08 adc_current_channel = 0; … … 356 357 */ 357 358 358 359 /* 359 360 360 361 ISR (TIMER2_COMP_vect) … … 366 367 367 368 369 */
Note:
See TracChangeset
for help on using the changeset viewer.