]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/hyplnk/device/c6678/src/hyplnk_device.c
hypnlk-lld: add to PDK
[processor-sdk/pdk.git] / packages / ti / drv / hyplnk / device / c6678 / src / hyplnk_device.c
1 /**
2  *   @file  k2e/src/hyplnk_device.c
3  *
4  *   @brief   
5  *      This file contains the device specific configuration and initialization routines
6  *      for hyperlink Low Level Driver.
7  *
8  *  \par
9  *  ============================================================================
10  *  @n   (C) Copyright 2013-2016, Texas Instruments, Inc.
11  * 
12  *  Redistribution and use in source and binary forms, with or without 
13  *  modification, are permitted provided that the following conditions 
14  *  are met:
15  *
16  *    Redistributions of source code must retain the above copyright 
17  *    notice, this list of conditions and the following disclaimer.
18  *
19  *    Redistributions in binary form must reproduce the above copyright
20  *    notice, this list of conditions and the following disclaimer in the 
21  *    documentation and/or other materials provided with the   
22  *    distribution.
23  *
24  *    Neither the name of Texas Instruments Incorporated nor the names of
25  *    its contributors may be used to endorse or promote products derived
26  *    from this software without specific prior written permission.
27  *
28  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
29  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
30  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
32  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
33  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
34  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
37  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
38  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39  *
40  *  \par
41 */
43 /** 
44  * This file contains an example device configuration for the hyperlink LLD.
45  * It is not precompiled to facilitate user modification of the file.
46  */
48 #include <stdint.h>
49 #include <stdlib.h>
51 /* CSL RL includes */
52 #include <ti/csl/cslr_device.h>
54 /* hyplnk LLD includes */
55 #include <ti/drv/hyplnk/device/hyplnk_device.h>
56 #include <ti/drv/hyplnk/hyplnk.h>
58 /** @addtogroup HYPLNK_LLD_DATASTRUCT
59 @{ 
60 */
62 /** @brief HYPLNK LLD initialization parameters */
63 Hyplnk_InitCfg hyplnkInitCfg =
64 {
65   {
66     {
67       {
68         (void *)CSL_MCM_CONFIG_REGS,
69         (void *)CSL_MCM_REGS
70       },
71       {
72         NULL,
73         NULL
74       },
75       {
76         NULL,
77         NULL
78       },
79       {
80         NULL,
81         NULL
82       }
83     } 
84   }
85 };
87 /**
88 @}
89 */