资源简介
压缩文件包括:
A5 manual.pdf
A5N_RTEX_monitor
A5N使用说明书(接口).pdf
A5N功能介绍.pdf
A5N技术简介.pdf
example_code_m_120210
example_code_s_120210
MNM1221主机设计指南.pdf
MNM1221伺服参考电路.pdf
MNM1221伺服参考电路BOM.pdf
MNM1221伺服设计指南.pdf
MNM1221参考电路1.pdf
MNM1221参考电路1BOM表.pdf
MNM1221参考电路3 BOM表.pdf
MNM1221参考电路3.pdf
MNM1221数据手册.pdf
PCB设计指南.pdf
RTEX主机测试.pdf
RTEX通信手册.pdf
上电顺序指南.pdf
参考电路2.pdf
参考电路2BOM表.pdf
参考电路注意事项.pdf
输入输出伺服设计指南.pdf
A5N_RTEX_monitor\A5N_RTEX_LogReader_man_r3e.pdf
A5N_RTEX_monitor\A5N_RTEX_LogReader_man_r3j.pdf
A5N_RTEX_monitor\setup_LogReader.exe
example_code_m_120210\example_code_m_120210
\example_code_m_120210\example_code_m_120210\mii_register_access_m_120210.c
\example_code_m_120210\example_code_m_120210\MNM1221_example_code_r1e.pdf
\example_code_m_120210\example_code_m_120210\MNM1221_example_code_r1j.pdf
\example_code_m_120210\example_code_m_120210\mnm1221_m.c
\example_code_m_120210\example_code_m_120210\mnm1221_m.h
example_code_s_120210\example_code_s_120210
\example_code_s_120210\example_code_s_120210\mii_register_access_s_120210.c
\example_code_s_120210\example_code_s_120210\mnm1221_s.c
\example_code_s_120210\example_code_s_120210\mnm1221_s.h
代码片段和文件信息
/****************************************************************************
*
* Example Code for MNM1221
*
* Copyright (c) 2006-2012 Panasonic Corporation
*
*----------------------------------------------------------------------------
*
* File Name: mii_register_access_m.c
* Description: Example code to access PHY registers in MASTER mode
* Notes:
* - This code is just for reference so that Panasonic does NOT assume
* responsibility or liability for actual use based upon this code.
* - This file is NOT for warranty of correct behavior
* and might include bugs so that you have to be careful.
* - The codes are very basic only therefore you will need additional code
* such as the process at the occurrence of errors.
* - It is assumed that TAB of your PC is set to 4space width.
*
*----------------------------------------------------------------------------
* Revision: Date(y/m/d): Author: Comments:
* 0.0 2006/07/13 Y. Fujisaki Initial release
* 0.1 2007/11/06 Y. Fujisaki Cleanup
* 0.2 2009/09/09 Y. Fujisaki Added KSZ8041
* 0.3 2010/09/14 Y. Fujisaki Added wait after writing
* 1.0 2012/02/10 Y. Fujisaki Cleanup
*
*****************************************************************************/
#include “mnm1221_m.h“ /* Modify path according to your file structure */
/****************************************************************************/
/* The following definitions should be moved into the “mnm1221_m.h“. */
/****************************************************************************/
/*--------------------------------------------------------------------------*/
/* Definition of address value (unit: byte address) */
/*--------------------------------------------------------------------------*/
/*--- for MASTER control ---------------------------------------------------*/
#define ADDR_M_MDIO_WDAT (ADDR_MNM1221 + 0x0448)
#define ADDR_M_MDIO_ADDR (ADDR_MNM1221 + 0x044C)
#define ADDR_M_MDIO_WR (ADDR_MNM1221 + 0x0450)
#define ADDR_M_MDIO_RD (ADDR_MNM1221 + 0x0454)
/*--- for MASTER status ----------------------------------------------------*/
#define ADDR_M_MDIO_RDAT (ADDR_MNM1221 + 0x04F8)
/*--------------------------------------------------------------------------*/
#ifdef MASTER_16BIT_ACCESS
/*--------------------------------------------------------------------------*/
/* Register definition for MASTER 16bit-bus access */
/*--------------------------------------------------------------------------*/
/*--- for control ----------------------------------------------------------*/
#define MNM1221_M_MDIO_WDAT (*((volatile unsigned short *)ADDR_M_MDIO_WDAT))
#define MNM1221_M_MDIO_ADDR (*((volatile unsigned short *)ADDR_M_MDIO_ADDR))
#define MNM1221_M_MDIO_WR (*((volatile unsigned short *)ADDR_M_MDIO_WR))
#define MNM1221_M_MDIO_RD (*((volatile unsigned short *)ADDR_M_MDIO_RD))
/*--- for status ---------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4456246 2012-04-02 17:30 RTEX设计参考资料\A5 manual.pdf
文件 37350 2012-04-20 08:49 RTEX设计参考资料\a5.htm
文件 296162 2011-11-12 16:57 RTEX设计参考资料\A5N_RTEX_monitor\A5N_RTEX_LogReader_man_r3e.pdf
文件 352561 2011-11-12 16:54 RTEX设计参考资料\A5N_RTEX_monitor\A5N_RTEX_LogReader_man_r3j.pdf
文件 1388407 2010-10-20 18:05 RTEX设计参考资料\A5N_RTEX_monitor\setup_LogReader.exe
文件 3108683 2012-07-17 13:57 RTEX设计参考资料\A5N使用说明书(接口).pdf
文件 1410656 2012-07-17 14:40 RTEX设计参考资料\A5N功能介绍.pdf
文件 3132498 2012-07-17 13:55 RTEX设计参考资料\A5N技术简介.pdf
文件 8523 2012-02-10 15:33 RTEX设计参考资料\example_code_m_120210\example_code_m_120210\mii_register_access_m_120210.c
文件 197364 2012-02-10 13:15 RTEX设计参考资料\example_code_m_120210\example_code_m_120210\MNM1221_example_code_r1e.pdf
文件 342742 2012-02-10 13:13 RTEX设计参考资料\example_code_m_120210\example_code_m_120210\MNM1221_example_code_r1j.pdf
文件 28132 2004-05-20 21:49 RTEX设计参考资料\example_code_m_120210\example_code_m_120210\mnm1221_m.c
文件 14751 2004-05-20 21:47 RTEX设计参考资料\example_code_m_120210\example_code_m_120210\mnm1221_m.h
文件 8758 2012-02-10 15:30 RTEX设计参考资料\example_code_s_120210\example_code_s_120210\mii_register_access_s_120210.c
文件 15662 2006-02-02 18:02 RTEX设计参考资料\example_code_s_120210\example_code_s_120210\mnm1221_s.c
文件 9038 2006-02-02 18:01 RTEX设计参考资料\example_code_s_120210\example_code_s_120210\mnm1221_s.h
文件 1407354 2012-07-17 14:45 RTEX设计参考资料\MNM1221主机设计指南.pdf
文件 112671 2012-04-20 08:46 RTEX设计参考资料\MNM1221伺服参考电路.pdf
文件 114189 2012-04-20 08:46 RTEX设计参考资料\MNM1221伺服参考电路BOM.pdf
文件 417024 2012-04-20 08:48 RTEX设计参考资料\MNM1221伺服设计指南.pdf
文件 43941 2012-07-17 15:06 RTEX设计参考资料\MNM1221参考电路1.pdf
文件 50499 2012-04-20 08:45 RTEX设计参考资料\MNM1221参考电路1BOM表.pdf
文件 47430 2012-04-20 08:45 RTEX设计参考资料\MNM1221参考电路3 BOM表.pdf
文件 44012 2012-04-20 08:45 RTEX设计参考资料\MNM1221参考电路3.pdf
文件 924910 2012-07-17 15:07 RTEX设计参考资料\MNM1221数据手册.pdf
文件 78005 2012-04-20 08:45 RTEX设计参考资料\PCB设计指南.pdf
文件 100664 2012-04-20 08:49 RTEX设计参考资料\RTEX主机测试.pdf
文件 1319056 2012-07-17 14:41 RTEX设计参考资料\RTEX通信手册.pdf
文件 72656 2012-04-20 08:48 RTEX设计参考资料\上电顺序指南.pdf
文件 49416 2012-04-20 08:45 RTEX设计参考资料\参考电路2.pdf
............此处省略12个文件信息
评论
共有 条评论