AM64x MCU+ SDK  10.01.00
dp83tg721.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) Texas Instruments Incorporated 2024
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the
15  * distribution.
16  *
17  * Neither the name of Texas Instruments Incorporated nor the names of
18  * its contributors may be used to endorse or promote products derived
19  * from this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32  */
33 
50 #ifndef DP83TG721_H_
51 #define DP83TG721_H_
52 
53 /* ========================================================================== */
54 /* Include Files */
55 /* ========================================================================== */
56 
57 #include <stdint.h>
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 /* ========================================================================== */
64 /* Macros */
65 /* ========================================================================== */
66 
68 #define DP83TG721_LED_NUM (2U)
69 
70 /* ========================================================================== */
71 /* Structures and Enums */
72 /* ========================================================================== */
73 
77 typedef struct Dp83tg721_Cfg_s
78 {
79  /* No extended config params at the moment */
81 
82 /* ========================================================================== */
83 /* Global Variables Declarations */
84 /* ========================================================================== */
85 
86 /* None */
87 
88 /* ========================================================================== */
89 /* Function Declarations */
90 /* ========================================================================== */
91 
100 
101 /* ========================================================================== */
102 /* Deprecated Function Declarations */
103 /* ========================================================================== */
104 
105 /* None */
106 
107 /* ========================================================================== */
108 /* Static Function Definitions */
109 /* ========================================================================== */
110 
111 /* None */
112 
113 #ifdef __cplusplus
114 }
115 #endif
116 
117 #endif /* DP83TG721_H_ */
118 
Dp83tg721_initCfg
void Dp83tg721_initCfg(Dp83tg721_Cfg *cfg)
Initialize DP83TC811 PHY specific config params.
Dp83tg721_Cfg
DP83TG721 PHY configuration parameters.
Definition: dp83tg721.h:78