comparison src/cs/services/atp/atp_uart_env.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
1 /********************************************************************************/
2 /* */
3 /* File Name: atp_uart_env.h */
4 /* */
5 /* Purpose: This header file contains the prototypes used to: */
6 /* - get some information about the ATP-UART */
7 /* interface, such as its name or the memory */
8 /* requirements, */
9 /* - set the memory bank identifier dedicated to the */
10 /* ATP-UART interface, */
11 /* - initialize the ATP-UART interface, */
12 /* - activate the ATP-UART interface, */
13 /* - prepare the termination of the ATP-UART */
14 /* interface, */
15 /* - kill the ATP-UART interface. */
16 /* */
17 /* Note: None. */
18 /* */
19 /* Revision History: */
20 /* 10/04/01 Pascal Pompei */
21 /* - Create. */
22 /* */
23 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved. */
24 /* */
25 /********************************************************************************/
26 #ifndef _ATP_UART_ENV_
27 #define _ATP_UART_ENV_
28
29 #include "atp/atp_pool_size.h" /* Stack & Memory Bank sizes definitions */
30
31 /****************************** MEMORY REQUIREMENTS *****************************/
32 /* */
33 /* Define the memory requirements of the ATP-UART interface. */
34 #define ATP_UART_MB_PRIM_SIZE ATP_UART_MB1_SIZE
35 #define ATP_UART_MB_PRIM_WATERMARK (ATP_UART_MB_PRIM_SIZE - 256)
36
37
38 /*************************** LOCAL FUNCTION PROTOTYPES **************************/
39 /* */
40 /* Define the local fonction prototypes. */
41 T_RVM_RETURN atp_uart_get_info (T_RVM_INFO_SWE *info_software_entity_p);
42
43 T_RVM_RETURN atp_uart_set_info (T_RVF_ADDR_ID addr_id,
44 T_RV_RETURN return_path_p[],
45 T_RVF_MB_ID *mb_id_p,
46 T_RVM_CB_FUNC error_function_p);
47
48 T_RVM_RETURN atp_uart_init (void);
49
50 T_RVM_RETURN atp_uart_core (void);
51
52 T_RVM_RETURN atp_uart_stop (void);
53
54 T_RVM_RETURN atp_uart_kill (void);
55 #endif