Subversion Repositories Projects

Rev

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

Rev 783 Rev 835
Line 21... Line 21...
21
#ifndef _USART1_H
21
#ifndef _USART1_H
22
#define _USART1_H
22
#define _USART1_H
Line 23... Line 23...
23
 
23
 
Line 24... Line 24...
24
#define baud 57600
24
#define baud 57600
25
 
25
 
Line 26... Line 26...
26
#define RXD_BUFFER_LEN          160
26
#define RXD_BUFFER_LEN          180
27
#define TXD_BUFFER_LEN          20 // not so much needed
27
#define TXD_BUFFER_LEN          20 // not so much needed
28
 
28
 
Line 85... Line 85...
85
 * portions taken and adapted from
85
 * portions taken and adapted from
86
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.72p%2Fuart.c
86
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.72p%2Fuart.c
87
 */
87
 */
88
void Decode64(void);
88
void Decode64(void);
Line 89... Line 89...
89
 
89
 
90
/**
90
/**
91
 * Request Data through usart1 until a answer is received
91
 * Request Data through usart1 until a answer is received
92
 */
92
 */
Line 93... Line 93...
93
void usart1_request_blocking(unsigned char answer, const char* message);
93
void usart1_request_blocking(unsigned char answer, const char* message);
94
 
94
 
95
/**
95
/**
96
 * Request UART Redirect from NC to itself
96
 * Request UART Redirect from NC to itself
Line 97... Line 97...
97
 */
97
 */
98
void usart1_request_nc_uart(void);
98
void usart1_request_nc_uart(void);