当前位置:网站首页>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
边栏推荐
- “移动云杯”算力网络应用创新大赛火热报名中!
- 112页机器学习-数学基础回顾.pptx
- Preventing overfitting of deep neural networks (mysteries of neural networks Part II)
- OpenStack学习笔记(一)
- 多台云服务器的 Kubernetes 集群搭建
- Getting started with numpy Library
- Les neuf caractéristiques de la parole et les neuf temps en anglais
- Logistic Regression VS Linear Regression
- mysql数据库压缩备份_Mysql备份压缩及恢复数据库方法总结
- Dialogue: recommended system quick start route and summary of knowledge points
猜你喜欢

Rust, the best choice for programmers to start a business?

shell 数组

Preventing overfitting of deep neural networks (mysteries of neural networks Part II)

触觉智能分享-RK3568在金融自助终端的应用

作为一名软件测试工程师你认为怎么样才能保证软件质量?

用NumPy实现神经网络(Mysteries of Neural Networks Part III)

As a software testing engineer, how do you think to ensure software quality?

Getting started with numpy Library

NR-ARFCN和信道栅格、同步栅格和GSCN

Settings the PC must be turned on
随机推荐
mysql数据库压缩备份_Mysql备份压缩及恢复数据库方法总结
K-line diagram 24 classic diagrams (shadow)
Untiy force refresh UI
Is it safe for Guosen Securities to open an account?
Scope of ES6 variable
Preventing overfitting of deep neural networks (mysteries of neural networks Part II)
Table de hachage, conflit de hachage
语法'陷阱'
[proteus simulation] 51 MCU +ds1302+lcd1602 display
Turtlebot+lms111+gmapping practice
Gorm---- Association query
Installation and removal of MySQL under Windows
Replace element - counter use of content (2)
untiy强制刷新UI
shell 变量 入门
Is qiniu regular? Is it safe to open a stock account?
Websocket -- reverse proxy to solve cross domain problems
Getting started with numpy Library
戴尔电脑cpu温度过高怎么办
论文阅读:Graph Contrastive Learning with Augmentations