mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
rename iMX-RT
This commit is contained in:
1 parent
d70d9aff11
commit
c8f207c277
19 files changed
+135
-117
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
struct mg_tcpip_driver_imxrt_data {
|
||||
// MDC clock divider. MDC clock is derived from IPS Bus clock (ipg_clk),
|
||||
// must not exceed 2.5MHz. Configuration for clock range 2.36~2.50 MHz
|
||||
// 37.5.1.8.2, Table 37-46 : f = ipg_clk / (2(mdc_cr + 1))
|
||||
// ipg_clk mdc_cr VALUE
|
||||
// --------------------------
|
||||
// -1 <-- TODO() tell driver to guess the value
|
||||
// 25 MHz 4
|
||||
// 33 MHz 6
|
||||
// 40 MHz 7
|
||||
// 50 MHz 9
|
||||
// 66 MHz 13
|
||||
int mdc_cr; // Valid values: -1 to 63
|
||||
|
||||
uint8_t phy_addr; // PHY address
|
||||
};
|
||||
Reference in new issue
Block a user