1
1
.. currentmodule :: network
2
- .. _ mimxrt_network .LAN :
2
+ .. _ network .LAN :
3
3
4
- class LAN -- control Ethernet modules of the MIMXRT port
5
- ========================================================
4
+ class LAN -- control an Ethernet module
5
+ =======================================
6
6
7
- This class allows you to control the Ethernet interface of the MIMXRT
8
- MCUs. The PHY hardware type is board-specific.
7
+ This class allows you to control the Ethernet interface. The PHY hardware type is board-specific.
9
8
10
9
Example usage::
11
10
@@ -29,7 +28,7 @@ Constructors
29
28
30
29
- *id * is the number of the Ethernet port, either 0 or 1.
31
30
- *phy_type * is the name of the PHY driver. For most board the on-board PHY has to be used and
32
- is the default. Suitable values are PHY_KSZ8081, PHY_DP83825, PHY_DP83848, PHY_LAN8720, and PHY_RTL8211F .
31
+ is the default. Suitable values are port specific .
33
32
- *phy_addr * specifies the address of the PHY interface. As with *phy_type *, the hardwired value has
34
33
to be used for most boards and that value is the default.
35
34
- *phy_clock * specifies, whether the data clock is provided by the Ethernet controller or the PYH interface.
@@ -83,3 +82,11 @@ Methods
83
82
84
83
low_power=True | False Set or clear low power mode.
85
84
85
+
86
+ Specific LAN class implementations
87
+ ----------------------------------
88
+
89
+ MIMXRT port:
90
+
91
+ Suitable values for the *phy_type * constructor argument are
92
+ PHY_KSZ8081, PHY_DP83825, PHY_DP83848, PHY_LAN8720, and PHY_RTL8211F.
0 commit comments