comparison src/g23m-aci/gdd_dio/gdd_dio_rxf.c @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +-----------------------------------------------------------------------------
3 | File : gdd_dio_rxf.c
4 +-----------------------------------------------------------------------------
5 | Copyright 2002 Texas Instruments Berlin, AG
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Texas
9 | Instruments Berlin, AG
10 | The receipt of or possession of this file does not convey
11 | any rights to reproduce or disclose its contents or to
12 | manufacture, use, or sell anything it may describe, in
13 | whole, or in part, without the specific written consent of
14 | Texas Instruments Berlin, AG.
15 +-----------------------------------------------------------------------------
16 | Purpose : This modul is part of the entity gdd_dio and implements the
17 | rx service functions.
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #define ENTITY_GDD_DIO
23
24 /*==== INCLUDES =============================================================*/
25
26 #include "typedefs.h" /* to get Condat data types */
27 #include "vsi.h" /* to get a lot of macros */
28
29
30 /* DIO stuff */
31 #include "dio.h"
32 #include "dio_il/dio_drv.h"
33
34 /* GDD_DIO stuff */
35
36 /* We must define P_DIO_H, in order to avoid inclusion of p_dio.h.
37 This is necessary due to the special fact, that "dio.h", which is included
38 in the header "dio_io/dio_drv.h", mirrors the header "p_dio.h". */
39 #define P_DIO_H
40
41 #include "gdd_dio.h" /* to get the global entity definitions */
42 #include "gdd_dio_con_mgr.h"
43 #include "gdd_dio_rxf.h"
44
45
46 /*==== CONST ================================================================*/
47
48 /*==== LOCAL VARS ===========================================================*/
49
50 /*==== PRIVATE FUNCTIONS ====================================================*/
51
52 /*==== PUBLIC FUNCTIONS =====================================================*/
53
54
55 void gdd_dio_rx_sig_send_data(T_GDD_CON_HANDLE con_handle,
56 T_dio_buffer * buf)
57 {
58 gdd_dio_send_signal_to_dio(get_con_data_from_handle(con_handle), DRV_SIGTYPE_READ);
59 }
60