代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.c
/*
Interface PIC
Designed by Shane Tolmie Feb 2001.
Microprocessor: Microchip PIC16F87x
Compiled with: Hitech-C v7.87, developed using MPLAB v5.3
Note: all references are to PIC16C
serial.lst
C51 COMPILER V8.02 SERIAL 05/31/2006 10:17:00 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.h
/**********************************************************************************************
**
**
**
**
**
**
**------------------------------------文件信息-------------------------------------
serial.c
/**********************************************************************************************
**
**
**
**
**
**
**------------------------------------文件信息-------------------------------------
serial.h
#ifndef _SNMP_SERIAL_H_
#define _SNMP_SERIAL_H_
#include "define.h"
#define UARTSEND(status) (TI = status)
typedef enum { OK = 0, ERROR = ~OK } IDBSTATUS;
#define RECEIVE_TIME_START 0
#de
serial.h
//-----------------------------------------------------------------------------
// Contents: main module of a simple firmware
//
// Copyright: Inventec Electronics(Tianjin) Co., Ltd.
// $Archive:
serial.c
//-----------------------------------------------------------------------------
// Contents: main module of a simple firmware
//
// Copyright: Inventec Electronics(Tianjin) Co., Ltd.
// $Archive:
serial.h
#ifndef _SERIAL_H
#define _SERIAL_H
#define UART_CNT 5 //串口设备的个数
typedef struct
{
INT8U len; //数据位 5,6,7,8
INT8U parity; //校验位 0-e,1-o,4-n
INT8U stop; //停止位 1,2,15-1.5
int baud;
serial.c
#include "includes.h"
#include "serial.h"
#include "interrupt.h"
//#include
//#include
#include
#include
/****************************************