资源简介
基于STM32Cube生成的代码,添加DCache相关代码,实现以太网通信与TCP客户端,具体步骤可参考博客https://blog.csdn.net/qq_31847339/article/details/95051300
代码片段和文件信息
/**
******************************************************************************
* @file lan8742.c
* @author MCD Application Team
* @version V1.0.0
* @date 08-March-2017
* @brief This file provides a set of functions needed to manage the LAN742
* PHY devices.
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2017 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
* DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “lan8742.h“
/** @addtogroup BSP
* @{
*/
/** @addtogroup Component
* @{
*/
/** @defgroup LAN8742 LAN8742
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/** @defgroup LAN8742_Private_Defines LAN8742 Private Defines
* @{
*/
#define LAN8742_SW_RESET_TO ((uint32_t)500U)
#define LAN8742_INIT_TO ((uint32_t)2000U)
#define LAN8742_MAX_DEV_ADDR ((uint32_t)31U)
/**
* @}
*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -------------
相关资源
- stm32f407网络通讯工程 Freertos+lwip的t
- FATFS STM32H743.rar
- Automotive Ethernet - The Definitive Guide车载
- 工业以太网现场总线EtherCAT驱动程序设
- 基于RGMII的以太网MAC的FPGA实现代码
- 车载以太网权威指南 Automotive Etherne
- Automotive Etherent-The definitive guide.pdf
- 工业以太网现场总线EtherCAT驱动程序设
- ZNetCom 以太网串口转换设备配置工具
- 工业以太网现场总线EtherCAT驱动程序设
- 基于xilinx的以太网通信Verilog代码
- 千兆以太网技术与应用 pdf
- 工业以太网现场总线EtherCAT(国家标准
- GD32450ZF407平台100M以太网PHYSR8201F驱动补
- STM32F107+LwIP 实现TCP/IP协议栈搭建
- DE2-115开发板关于以太网88E1111与电脑通
- 802.3协议全套资料,一个都不少
- w5100以太网芯片完整开发资料
- FiberHomeS2800系列二层以太网交换机操作
- 前沿和目录(车载以太网).PDF
- 使用博途组态上位机与PLC之间的基于
- XYAZ-Setup-studio-6.2.1-ch74395100.exe.zip
- stm32h743 uCOS-iii
- 用51 单片机控制 RTL8019AS实现以太网通
- 米联客FPGA 千兆以太网部分代码1-2
- IEEE 802.3 以太网标准规范 目前的最
- MOTOPLUS以太网通信命令
- 米联客FPGA 千兆以太网部分2-2
- IEEE 802.1D -2004 规范
- RTL8111H(S)-CG_Datasheet_1.5.pdf
评论
共有 条评论