Skip to content

Commit 0ae0265

Browse files
author
Johannes Draaijer
committed
Add comment about pin speeds for stm32f107 hal
1 parent e1b8a5d commit 0ae0265

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ pub struct EthernetMAC {
9999
/// accessible by the peripheral. Core-Coupled Memory (CCM) is
100100
/// usually not accessible.
101101
/// - HCLK must be at least 25 MHz.
102+
/// - The pin speed for `stm32f107` is currenctly implicitly set to the required 50 MHz speed by the HAL.
103+
/// However, we can not guarantee this expicitly so double-check before using.
102104
pub fn new<'rx, 'tx, REFCLK, CRS, TXEN, TXD0, TXD1, RXD0, RXD1>(
103105
eth_mac: ETHERNET_MAC,
104106
eth_mmc: ETHERNET_MMC,

0 commit comments

Comments
 (0)