mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Add defines for duplex modes
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
#define PHY_SDS_CTRL 30
|
#define PHY_SDS_CTRL 30
|
||||||
#define PHY_MMD_CTRL 31
|
#define PHY_MMD_CTRL 31
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define registers in Auto-Negotiation page
|
* Define registers in Auto-Negotiation page
|
||||||
*/
|
*/
|
||||||
@@ -34,4 +33,11 @@
|
|||||||
* Define registers in Control page
|
* Define registers in Control page
|
||||||
*/
|
*/
|
||||||
#define PHY_CTRL_5 0x7582
|
#define PHY_CTRL_5 0x7582
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Duplex settings
|
||||||
|
*/
|
||||||
|
#define PHY_DUPLEX_HALF 0
|
||||||
|
#define PHY_DUPLEX_FULL 1
|
||||||
|
#define PHY_DUPLEX_BOTH 2
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user