- reset_re:='0'; --clear reset flag
- adc_scs<='1'; --active-low SS
- adc_sclk<='0'; --lower clock
- data_ready:='0';
- --addresse are CH(A2,A1,A0): CH0:(0,0,1),CH1:(1,0,1),CH2:(0,1,0)
- adc_address<="001101010";
- channel:=ch0;
- adc_channels(35 downto 0)<=(others=>'1'); --for debug only - remove this line!
- adc_data(11 downto 0)<=(others=>'1');
- reset_count:=0;
+ reset_re:='0'; --clear reset flag
+ adc_scs<='1'; --active-low SS
+ adc_sclk<='0'; --lower clock
+ first_pass<='1'; --mark data as unprepared
+ channel:=ch0; --prepare channel0
+ adc_data<=(others=>'0'); --null working data
+ cumul_data<=(others=>'0'); --null working data
+ prepared_data<=(others=>'0'); --null the output
+ adc_channels<=(others=>'0'); --null the output
+ measur_count<=(others=>'0'); --null the count
+ m_count_sig<=(others=>'0'); --null the count
+ adc_address<="001"; --set its address
+ reset_count:="0000";