- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 348kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- Shijie
Description: /* 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)
To Search:
File list (Check if you may need any files):
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
...............\.....