代码搜索:SCI模块
找到约 10,000 项符合「SCI模块」的源代码
代码结果 10,000
www.eeworm.com/read/168495/9911051
obj sci.obj
www.eeworm.com/read/168495/9911053
c sci.c
/* -------------------------------------------------------------------------*/
/* SCI library for my2406/2407 board */
/* */
/* Copyrig
www.eeworm.com/read/168197/9934427
c sci.c
void sci_int(void) interrupt 4 using 3 //串行口0中断处理程序
{
uchar temp;
bit md_temp=1;
if(RI) //接收中断
{
RI=0;
temp=SBUF;
switch(re_temp)
{
ca
www.eeworm.com/read/363105/9967354
paf sci.paf
www.eeworm.com/read/362702/9985143
h sci.h
#ifndef _SCI_H
#define _SCI_H
#define MaxDataLength 23 //最大祯长度,不包括起始和结束字符
#define SetPraLength 21 //参数设置信息帧的长度
extern int ReFreshPrameter;
void sci_dataProssi
www.eeworm.com/read/163124/10174730
asm sci.asm
;=====================================================
.include "2407.h" ;头文件,2407寄存器的设置
.include "intx.h" ;头文件,中断向量表的设置
.include "varx.h" ;头文件,变量的定义
.include "conx.h" ;头文件,常量的定义
;==
www.eeworm.com/read/163124/10174745
pjt sci.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\tic2xx\myprojects\sci\sci\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Co
www.eeworm.com/read/163124/10174746
paf sci.paf
www.eeworm.com/read/357542/10206931
h sci.h
#ifndef _SCI_H_
#define _SCI_H_
#define SCIMAXLENGTH 15
typedef unsigned char byte;
typedef unsigned int word;
typedef unsigned long dword;
typedef unsigned long dlong[2];
typedef union {
www.eeworm.com/read/357542/10206934
c sci.c
#include "sci.h"
#include "mc68hc908gz32.h"
#include "main.h"
#include "time.h"
//协议 LEN DAT0 DAT1.......DAT(n) CRC
// LEN = n + 1;
// CRC = LEN + DAT0 + DAT1 + ....+ DAT(n)
// Exa