comparison src/g23m-aci/aci/ati_io.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-F&D (8411)
4 | Modul : ATI
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose :
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef ATI_IO_H
22 #define ATI_IO_H
23
24 EXTERN void io_sendChar ( CHAR a, UBYTE srcId );
25
26 EXTERN UBYTE uart_new_source( UBYTE device, UBYTE dlci );
27 #ifdef UART
28 EXTERN void uart_InitCmdStruct( T_ACI_DTI_PRC *cmd_struct );
29 #endif
30 #define IS_END_CRLF_OUTPUT(x) (x & ATI_END_CRLF_OUTPUT)
31 #define IS_BEGIN_CRLF_OUTPUT(x) (x & ATI_BEGIN_CRLF_OUTPUT)
32
33 #define IS_ECHO_OUTPUT(x) (x & ATI_ECHO_OUTPUT)
34 #define IS_NORMAL_OUTPUT(x) (x & ATI_NORMAL_OUTPUT)
35 #define IS_CONFIRM_OUTPUT(x) (x & ATI_CONFIRM_OUTPUT)
36 #define IS_INDICATION_OUTPUT(x) (x & ATI_INDICATION_OUTPUT)
37 #define IS_FORCED_OUTPUT(x) (x & ATI_FORCED_OUTPUT)
38 #define IS_ERROR_OUTPUT(x) (x & ATI_ERROR_OUTPUT)
39 #define IS_INFORMATION_TEXT_OUTPUT(x) (x & ATI_INFORMATION_TEXT_OUTPUT)
40 #define IS_RESULT_CODE_OUTPUT(x) (x & ATI_RESULT_CODE_OUTPUT)
41 #endif