Project

General

Profile

Statistics
| Revision:

root / proj / include / nctp.h @ 269

History | View | Annotate | Download (472 Bytes)

1 264 up20180642
#ifndef NCTP_H_INCLUDED
2
#define NCTP_H_INCLUDED
3
4
#include "uart.h"
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);
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 269 up20180642
int nctp_send(int base_addr, size_t num, uint8_t* ptr[], size_t sz[]);
15 264 up20180642
16 269 up20180642
int nctp_get (int base_addr, uint8_t **dest);
17 266 up20180642
18 264 up20180642
#endif //NCTP_H_INCLUDED