当前位置:网站首页>About reconnection of STM32 using lan8720a plug-in network cable
About reconnection of STM32 using lan8720a plug-in network cable
2022-06-25 14:02:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
About STM32 Use LAN8720A Plug in and reconnect the network cable
In fact, when doing this function, we must be calm , Don't think it's too complicated , See more DATASHEET, Of course, there will be some problems later , So after stepping through the pit , It's been almost a year , It can also be regarded as going back and making a record . 1. About LAN8720 Interpretation of the manual By looking up lan8720 Data collection :
Yellow part , In register mapping, the first register is the basic status register , Then we look up this register and find ,
In the register bit2 It says , When detecting the insertion of network cable, this bit is 1, Otherwise 0. If you know this, it's easy to do , We can judge the access status of the network cable according to this status bit , Then decide whether to operate on Ethernet .
2. Program realization In my program planning, I mainly involve functions : 1. This function is put into While In circulation , Or in the interrupt function of a time base :
2. The function is placed in Net_Rest_Connect Function
3.Net_Rest_Connect function
Here, after judging the connection to the network cable , Initialize the protocol stack and TCP Initialization of the server .
4. Attach project link :https://download.csdn.net/download/tiange1996/85045262
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/151704.html Link to the original text :https://javaforall.cn
边栏推荐
- Installation and removal of MySQL under Windows
- 国信证券股票账户开户安全吗?请问。
- Kubernetes cluster construction of multiple ECS
- Network remote access using raspberry pie
- NVM installation and use tutorial
- As a software testing engineer, how do you think to ensure software quality?
- Settings the PC must be turned on
- Untiy force refresh UI
- sql导入这样怎么解决
- OpenStack学习笔记(一)
猜你喜欢

Test your earning power? What will you do in the future?

Logistic Regression VS Linear Regression

Discuz copy today's headlines template /discuz news and information business GBK template

When the input tag type is number, the input of E, e, -, + is blocked

shell 运算符

【开源鸿蒙系统展示】RK3568开发板搭载OpenHarmony 3.1 Release

楼宇自动化专用BACnet网关BL103
![leetcode:456. 132 mode [monotone stack]](/img/fa/44a5194b244f30383409ef40966453.png)
leetcode:456. 132 mode [monotone stack]

英语中的九大词性与九大时态

测一测你的挣钱能力有多强?未来的你将从事什么职业?
随机推荐
Implementation of a small book system
Discriminative v.s.Generative
Beego--- notes
How to determine if a web worker has been created or closed
Test your earning power? What will you do in the future?
JVM 用工具分析OOM经典案例
Gorm---- Association query
shell 运算符
Class usage and inheritance in ES6
“移动云杯”算力网络应用创新大赛火热报名中!
【Proteus仿真】51单片机+DS1302+lcd1602显示
Openstack learning notes (II)
Discuz仿今日头条模板/Discuz新闻资讯商业版GBK模板
国信证券股票开户是安全的吗?
Discriminative v.s.Generative
广发易淘金和同花顺哪个更好,更安全一些
go---- mgo
Numpy库使用入门
Typescript and go --- essence
Getting started with numpy Library