资源简介
附件是RTEX的总线的驱动程序,欢迎大家下载测试。。同时还包含连个参考PDF文件
代码片段和文件信息
/****************************************************************************
*
* Example Code for MNM1221
*
* Copyright (c) 2004 Panasonic
* Motor Company Matsushita Electric Industrial Co. Ltd.
*
*----------------------------------------------------------------------------
*
* File Name: mnm1221_m.c
* Description: Example code to access MNM1221 as 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 2004/02/16 Y. Fujisaki Initial release
* 0.1 2004/03/01 Y. Fujisaki Cleanup
* 0.2 2004/05/20 Y. Fujisaki Minor edits
*
*****************************************************************************/
#include “mnm1221_m.h“ /* Modify path according to your file structure */
/****************************************************************************/
/* Definitions and Declarations */
/****************************************************************************/
/*
* Some of the followings accessed in also other files should be moved to
* the header file you provide separately.
*/
/*--------------------------------------------------------------------------*/
/* Definition of constants */
/*--------------------------------------------------------------------------*/
#define MAX_NS MAX_N_SLAVE_NODE
#ifdef MASTER_16BIT_ACCESS /* 16bits bus width */
#define N_DATA WORD_SIZE_OF_BLOCK
#else /* 32bits bus width */
#define N_DATA DWORD_SIZE_OF_BLOCK
#endif
#define RT_frame_FORM 3 /* Do not change this value. */
#define N_WDT_RATE 5 /* setting for timeout rate */
/*
* Consider the value about timeout according to your system.
* For safety large value is not recomended.
*/
/* phase to control MNM1221 --> see ctrl_mnm1221_m() */
enum {
PH_RESET = -1
PH_INIT = 0
PH_WAITING
PH_PREPARE
PH_START
PH_RUNNING
};
/*--------------------------------------------------------------------------*/
/* Definition of bit field
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 377898 2019-02-18 11:24 RTEX\firmware_develop_guide_r1e.pdf
I.A.... 293661 2019-02-18 11:24 RTEX\MNM1221_example_code_r01e.pdf
文件 34071 2019-02-18 11:25 RTEX\mnm1221_m.c
文件 15038 2019-02-18 11:27 RTEX\mnm1221_m.h
目录 0 2019-02-18 11:27 RTEX
----------- --------- ---------- ----- ----
720668 5
- 上一篇:单片机最小系统—蜂鸣器和proteus仿真
- 下一篇:传智播客云计算高手班第三期
相关资源
- Xilinx FPGA Virtex5 505的完整原理图
- cortex-A9 4412通过USB摄像头采集视频液晶
- DrawLine.rar
- ucos2在cortex-A8上的移植
- ARM Cortex-M0权威指南(中文高清PDF)
- MultiColorTextDemo.zip
- Separation of spin angular momenta in focal re
- Xilinx Zynq-7000 嵌入式系统设计与实现
- Cortex-M3权威指南(中文版详尽版).
- ARM Cortex-A53 MPCore开发手册
- 嵌入式系统原理及应用----基于ARM Co
- STM32 Cortex M3 ARM单片机纯汇编及MDK配置
- Keil.ARMCortex_DFP.0.0.1.pack
- The definitive guide to the ARM Cortex-M3.pdf
- ARM Cortex-M7 内核编程技术说明文档
- ARMCortexM4中文手册.rar
- Cortex-M4技术参考手册
- Cortex-M3 STM32F103VET6管脚分布图
- stm32f10x固件库文件cortexm3_macro.h stm32
- Exynos4412 开发板资料
- Cortex M4技术参考手册
- TI Cortex-M4 TM4C123GH6PM例程
- cortexm3_macro
- 在LPC1114上移植uCos ii
- ALIENTEK MINISTM32 汉字显示实验
- 基于新型Cortex-M3内核STM32的三相多功能
- 在KEIL下Cortex-M3更改FLASH启动和调试地
评论
共有 条评论