Project

General

Profile

Revision 287

implemented final, working version of uart and protocol

View differences:

uart.h
50 50
int uart_disable_int_tx(int base_addr);
51 51

  
52 52
/// NCTP - Non-critical transmission protocol
53
int nctp_init(void);
53
int nctp_init(void (*proc_func)(const uint8_t*, const size_t));
54 54
int nctp_free(void);
55 55

  
56 56
int nctp_send(size_t num, uint8_t* ptr[], size_t sz[]);
......
58 58
int nctp_ih_err;
59 59
void nctp_ih(void);
60 60

  
61
/// HLTP - High-level transmission protocol
62
int hltp_send_string(const char *p);
63

  
64 61
#endif //UART_H_INCLUDED

Also available in: Unified diff