FreeCalypso > hg > freecalypso-reveng
comparison fluid-mnf/target.h @ 311:9cecc930d78f
fluid-mnf: original source from TI,
defenestrated line endings and rearranged directory structure,
but no *.[ch] source file content changes yet
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 29 Feb 2020 05:36:07 +0000 |
parents | |
children | 37b5f94de802 |
comparison
equal
deleted
inserted
replaced
310:ae39d76d5b7a | 311:9cecc930d78f |
---|---|
1 /****************************************************************************** | |
2 * FLUID (Flash Loader Utility Independent of Device) | |
3 * | |
4 * Copyright Texas Instruments, 2001. | |
5 * Mads Meisner-Jensen, mmj@ti.com. | |
6 * | |
7 * Target Connection and Control | |
8 * | |
9 * $Id: target.h 1.8 Thu, 01 Aug 2002 11:17:20 +0200 mmj $ | |
10 * | |
11 ******************************************************************************/ | |
12 | |
13 | |
14 int target_uart_baudrate_divider_get(int clk, int bps); | |
15 | |
16 int target_driver_init(int uart, int baudrate, char *flowcontrol); | |
17 int target_driver_baudrate(int baudrate); | |
18 | |
19 int target_send(char *buf, int size); | |
20 int target_putchar(char ch); | |
21 | |
22 int target_wait(int size, int time); | |
23 int target_recv(void *buf, int size); | |
24 int target_getchar(void); | |
25 int target_expect_char(char ch, int time); | |
26 void target_recv_reset(void); | |
27 | |
28 int buf_put1(char *buf, unsigned char); | |
29 int buf_put2(char *buf, unsigned short data); | |
30 int buf_put4(char *buf, unsigned int data); | |
31 int buf_put2no(char *buf, unsigned short data); | |
32 int buf_put4no(char *buf, unsigned int data); | |
33 | |
34 void error_proto(char ch, char chx); | |
35 | |
36 void target_power(char state); | |
37 void target_reset(char state); | |
38 | |
39 int target_trace_enable(int flag); | |
40 int target_trace(unsigned char ch); |