comparison src/g23m-aci/gdd_dio/gdd_dio_rxf.c @ 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 | 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