Project

General

Profile

Revision 275

implementing transmission with queues

View differences:

nctp.h
3 3

  
4 4
#include "uart.h"
5 5

  
6
int nctp_get_char_poll   (int base_addr, uint8_t *p);
7
int nctp_send_char_poll  (int base_addr, uint8_t  c);
6
int nctp_init(void);
7
int nctp_free(void);
8 8

  
9
/**
10
 * @brief Send stuff to COM #port.
11
 * @param   port    Port to send message to
12
 * @param   num     Number of pairs of address/numbytes to send
13
 */
14
int nctp_send(int base_addr, size_t num, uint8_t* ptr[], size_t sz[]);
9
int nctp_send(size_t num, uint8_t* ptr[], size_t sz[]);
15 10

  
16
int nctp_get (int base_addr, uint8_t **dest);
11
int nctp_ih_err;
12
void nctp_ih(void);
17 13

  
18 14
#endif //NCTP_H_INCLUDED

Also available in: Unified diff