Revision 282
removing stuff
proj/include/hltp.h | ||
---|---|---|
1 | 1 |
#ifndef HLTP_H_INCLUDED |
2 | 2 |
#define HLTP_H_INCLUDED |
3 | 3 |
|
4 |
#include "nctp.h" |
|
5 |
|
|
6 |
int hltp_send_string(const char *p); |
|
7 |
|
|
8 | 4 |
#endif //HLTP_H_INCLUDED |
proj/include/nctp.h | ||
---|---|---|
1 | 1 |
#ifndef NCTP_H_INCLUDED |
2 | 2 |
#define NCTP_H_INCLUDED |
3 | 3 |
|
4 |
#include "uart.h" |
|
5 |
|
|
6 |
int nctp_init(void); |
|
7 |
int nctp_free(void); |
|
8 |
|
|
9 |
int nctp_send(size_t num, uint8_t* ptr[], size_t sz[]); |
|
10 |
|
|
11 |
int nctp_ih_err; |
|
12 |
void nctp_ih(void); |
|
13 |
|
|
14 | 4 |
#endif //NCTP_H_INCLUDED |
proj/libs/peripherals/include/uart.h | ||
---|---|---|
49 | 49 |
int uart_enable_int_tx (int base_addr); |
50 | 50 |
int uart_disable_int_tx(int base_addr); |
51 | 51 |
|
52 |
/// NCTP - Non-critical transmission protocol |
|
53 |
int nctp_init(void); |
|
54 |
int nctp_free(void); |
|
55 |
|
|
56 |
int nctp_send(size_t num, uint8_t* ptr[], size_t sz[]); |
|
57 |
|
|
58 |
int nctp_ih_err; |
|
59 |
void nctp_ih(void); |
|
60 |
|
|
61 |
/// HLTP - High-level transmission protocol |
|
62 |
int hltp_send_string(const char *p); |
|
63 |
|
|
52 | 64 |
#endif //UART_H_INCLUDED |
proj/src/interrupts_func.c | ||
---|---|---|
4 | 4 |
#include "timer.h" |
5 | 5 |
#include "keyboard.h" |
6 | 6 |
#include "mouse.h" |
7 |
#include "nctp.h"
|
|
7 |
#include "uart.h"
|
|
8 | 8 |
#include "utils.h" |
9 | 9 |
#include "errors.h" |
10 | 10 |
|
proj/src/proj.c | ||
---|---|---|
12 | 12 |
#include "mouse.h" |
13 | 13 |
#include "graph.h" |
14 | 14 |
#include "rtc.h" |
15 |
#include "hltp.h"
|
|
15 |
#include "uart.h"
|
|
16 | 16 |
#include "interrupts_func.h" |
17 | 17 |
#include "makecode_map.h" |
18 | 18 |
|
Also available in: Unified diff