文件名称:Lin-Uart-500006

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 348kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Shi***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

本应用介绍了如何在各种模式下使用LIN-UART。

介绍了LIN-UART的各种功能和工作模式并给出了样本代码。LIN-UART具有4个工作模式。工作模式0是异步模式(正常模式) 工作模式1是异步(多处理器模式) 工作模式2是同步模式(正常模式) 工作模式3是异步模式(LIN模式)。-/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/

/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/

/* ELIGIBILITY FOR ANY PURPOSES.                      */

/*      (C) Fujitsu Microelectronics (Shanghai) Co., LTD.       */

/* Date:20080320       Version:1V0        Author:Glede      */

/*-------------------------------------------------------------------------*/



/******************************************************************************

NAME  :  Main.c

FUNCTION:  transmit a byte or receive a byte when the LIN-UART operates in

       asynchronous mode (mode 0).

******************************************************************************/



#include "mb95200.h"



/******************************************************************************

NAME  :  UART_init ()

FUNCTION:  Initialize the LIN-UART in operation mode 0(asynchronous mode)

*********************************************************
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Lin-Uart-500006

...............\LIN_Master

...............\..........\Debug

...............\..........\.....\ABS

...............\..........\.....\...\LIN_Master.abs

...............\..........\.....\LIN_Master.sup

...............\..........\.....\LST

...............\..........\.....\...\LIN_Master.mp1

...............\..........\.....\OBJ

...............\..........\.....\...\main.obj

...............\..........\.....\...\main.stk

...............\..........\.....\...\mb95200.obj

...............\..........\.....\...\startup.obj

...............\..........\.....\...\vectors.obj

...............\..........\.....\...\vectors.stk

...............\..........\.....\...\_f2mc8fx.obj

...............\..........\.....\...\_f2mc8fx.stk

...............\..........\.....\OPT

...............\..........\.....\...\LIN_Master.opa

...............\..........\.....\...\LIN_Master.opb

...............\..........\.....\...\LIN_Master.opc

...............\..........\.....\...\LIN_Master.opl

...............\..........\.....\...\LIN_Master.opv

...............\..........\LIN_Master.dat

...............\..........\LIN_Master.prj

...............\..........\LIN_Master.wsp

...............\..........\src

...............\..........\...\ioreg.txt

...............\..........\...\ioregj.txt

...............\..........\...\ioregj_a.txt

...............\..........\...\ioreg_a.txt

...............\..........\...\main.c

...............\..........\...\MB95200.h

...............\..........\...\mb95200_a.inc

...............\..........\...\startup.asm

...............\..........\...\vectors.c

...............\..........\...\_f2mc8fx.c

...............\..........\...\_f2mc8fx.h

...............\..........\...\_f2mc8fx_a.asm

...............\LIN_Slave

...............\.........\Debug

...............\.........\.....\ABS

...............\.........\.....\...\LIN_Slave.abs

...............\.........\.....\LST

...............\.........\.....\...\LIN_Slave.mp1

...............\.........\.....\OBJ

...............\.........\.....\...\main.obj

...............\.........\.....\...\main.stk

...............\.........\.....\...\mb95200.obj

...............\.........\.....\...\startup.obj

...............\.........\.....\...\vectors.obj

...............\.........\.....\...\vectors.stk

...............\.........\.....\...\_f2mc8fx.obj

...............\.........\.....\...\_f2mc8fx.stk

...............\.........\.....\OPT

...............\.........\.....\...\LIN_Slave.opa

...............\.........\.....\...\LIN_Slave.opb

...............\.........\.....\...\LIN_Slave.opc

...............\.........\.....\...\LIN_Slave.opl

...............\.........\.....\...\LIN_Slave.opv

...............\.........\LIN_Slave.dat

...............\.........\LIN_Slave.prj

...............\.........\LIN_Slave.wsp

...............\.........\src

...............\.........\...\ioreg.txt

...............\.........\...\ioregj.txt

...............\.........\...\ioregj_a.txt

...............\.........\...\ioreg_a.txt

...............\.........\...\main.c

...............\.........\...\MB95200.h

...............\.........\...\mb95200_a.inc

...............\.........\...\startup.asm

...............\.........\...\vectors.c

...............\.........\...\_f2mc8fx.c

...............\.........\...\_f2mc8fx.h

...............\.........\...\_f2mc8fx_a.asm

...............\LIN_UART_Asyn

...............\.............\Debug

...............\.............\.....\ABS

...............\.............\.....\...\LIN_UART_Asyn.abs

...............\.............\.....\LIN_UART_Asyn.sup

...............\.............\.....\LST

...............\.............\.....\...\LIN_UART_Asyn.mp1

...............\.............\.....\OBJ

...............\.............\.....\...\main.obj

...............\.............\.....\...\main.stk

...............\.............\.....\...\mb95200.obj

...............\.............\.....\...\startup.obj

...............\.............\.....\...\vectors.obj

...............\.............\.....\...\vectors.stk

...............\.............\.....\...\_f2mc8fx.obj

...............\.............\.....\...\_f2mc8fx.stk

...............\.............\.....\OPT

...............\.....

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org