aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/eth/generic_smi.rs
Commit message (Collapse)AuthorAgeFilesLines
* stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.Dario Nieuwenhuis2025-01-261-165/+0
| | | | | We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that actually cause UB.
* split PHY constructor to `new` and `new_auto`nikvoid2025-01-231-4/+31
|
* run rustfmtnikvoid2025-01-221-2/+2
|
* remove cortex-m delaynikvoid2025-01-221-1/+0
|
* use `Delay` from `embassy-time` to wait for PHY responsenikvoid2025-01-221-6/+8
|
* Option to detect Ethernet PHY address automaticallynikvoid2025-01-221-2/+20
|
* Reduce use of the full `futures` crate.Dario Nieuwenhuis2024-04-261-2/+3
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-0/+1
|
* stm32/eth: Move `phy_addr` from `Ethernet` to `PHY`Gabriel Górski2023-10-091-16/+17
| | | | | | | | | Previously, PHY addressing was a concern of the `Ethernet` struct which limited the `PHY` implementations which very often have to manage multiple PHYs internally and thus possibly need to address many of them. This change extends `StationManagement` to allow addressing different PHY addresses via SMI.
* stm32/eth: fix cfg(not(time))xoviat2023-07-171-6/+6
|
* stm32/eth: add set_poll_intervalxoviat2023-07-151-2/+8
|
* stm32/eth: impl. poll intervalxoviat2023-07-151-1/+24
|
* stm32/eth: convert static methoxoviat2023-07-151-2/+2
|
* stm32/eth: refactor genericsmixoviat2023-07-151-3/+7
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-4/+1
|
* embassy-stm32/eth: convert LAN8742 driver to generic SMI driverDavid Lenfesty2022-04-301-0/+86
SMI Ethernet PHYs all share a common base set of registers that can do 90% of all tasks. The LAN8742 driver used some vendor-specific registers to check link negotiation status, but the need for that was debatable, so I migrated it to a generic driver instead, anybody who wants extra functionality can copy it and impl their own on top of it.