代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
#include"mb95100.h"
/*-----------------------------------------------------------------------------
函数原型: unsigned char UART_readbyte_wait (void)
输入参数:无
输出参数:RDR0
功能描述: 串口读程序,返回
uart.stk
@e:\fujitsu program\2008-05-18-mb95f108\src\uart.c
# E=Extern S=Static I=Interrupt
# {Stack} {E|S|I} {function name}
# -> {E|S} {call function}
# ...
#
2 E _UAR
uart.lst
_____________________________________________________________________________
F2MC-8L/8FX Family SOFTUNE Assembler V30L08 2008-05-20 09:44:34 Page: 1
- ASSEMBLE INFORMATION - ( uart )
|
uart.dpj
ADSP-
uart.h
#ifndef _UART_H_
#define _UART_H_
extern volatile unsigned char firstinflag;
extern volatile unsigned char Uartshortkeyflag;
extern volatile unsigned char UartReceiveErrorflag;
extern volatil
uart.lst
1 .file "uart.c"
2 .arch atmega32
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6
uart.c
#include "uart.h"
#include "system.h"
#define MSGHEAD 0xfa //数据头
//#define DeviceAddr 1 //设备地址 01
#define ReadCommand 0x0f //读设备功能码
#define WriteCommand 0x10 //写设备功能码
#define sendC
uart.lst
1 .file "uart.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __CCP__ = 0x34
6