PDK API Guide for J721E
csl_mdio_def.h
Go to the documentation of this file.
1 
50 #ifndef CSL_MDIO_DEF_H
51 #define CSL_MDIO_DEF_H
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56 
57 #include <ti/csl/soc.h>
58 #include <ti/csl/csl.h>
59 #include <ti/csl/cslr_mdio.h>
60 
77 typedef struct {
79  Uint32 revMin;
80 
82  Uint32 revMaj;
83 
85  Uint32 modId;
87  Uint32 scheme;
89  Uint32 revRtl;
91  Uint32 bu;
92 
94 
100 typedef struct {
102  Uint16 data;
103 
105  Uint32 phyAddr;
106 
108  Uint32 regAddr;
109 
111  Uint32 write;
112 
114  Uint32 ack;
115 
117  Uint32 go;
119 
125 typedef struct {
127  Uint16 linkSel;
128 
131 
133  Uint32 phyAddr;
134 
136 
137 
138 
139 #ifdef __cplusplus
140 }
141 #endif
142 
143 #endif /* CSL_MDIO_DEF_H */
144 
Uint32 revMin
Definition: csl_mdio_def.h:79
Uint32 ack
Definition: csl_mdio_def.h:114
Uint32 bLinkIntEnable
Definition: csl_mdio_def.h:130
Uint32 bu
Definition: csl_mdio_def.h:91
Uint32 go
Definition: csl_mdio_def.h:117
Uint32 write
Definition: csl_mdio_def.h:111
Uint32 regAddr
Definition: csl_mdio_def.h:108
Uint32 revMaj
Definition: csl_mdio_def.h:82
Uint16 data
Definition: csl_mdio_def.h:102
Uint32 phyAddr
Definition: csl_mdio_def.h:133
Uint32 scheme
Definition: csl_mdio_def.h:87
Holds the MDIO peripheral's version info.
Definition: csl_mdio_def.h:77
Holds the MDIO User Phy Select Register contents.
Definition: csl_mdio_def.h:125
Holds the MDIO User Access Register contents.
Definition: csl_mdio_def.h:100
Uint16 linkSel
Definition: csl_mdio_def.h:127
Uint32 revRtl
Definition: csl_mdio_def.h:89
Uint32 phyAddr
Definition: csl_mdio_def.h:105
Uint32 modId
Definition: csl_mdio_def.h:85