Subversion Repositories Projects

Rev

Rev 783 | Rev 826 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 783 Rev 800
Line 16... Line 16...
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
Line -... Line 20...
-
 
20
 
20
 
21
#include "main.h"
21
#include <avr/io.h>
22
#include <avr/io.h>
22
#include <avr/interrupt.h>
23
#include <avr/interrupt.h>
23
#include <util/delay.h>
-
 
24
#include "main.h"
24
#include <util/delay.h>
Line 25... Line 25...
25
#include "usart1.h"
25
#include "usart1.h"
Line 26... Line 26...
26
 
26
 
Line 211... Line 211...
211
    }
211
    }
212
    pRxData = &rxd_buffer[3];
212
    pRxData = &rxd_buffer[3];
213
    RxDataLen = ptrOut - 3;
213
    RxDataLen = ptrOut - 3;
214
}
214
}
Line 215... Line -...
215
 
-
 
216
 
215
 
217
/**
216
/**
218
 * Request Data through usart1 until a answer is received
217
 * Request Data through usart1 until a answer is received
219
 */
218
 */
220
void usart1_request_blocking(unsigned char answer, const char* message) {
219
void usart1_request_blocking(unsigned char answer, const char* message) {