代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.lst
C51 COMPILER V7.00 SERIAL 03/05/2008 16:42:38 PAGE 1
C51 COMPILER V7.00, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.src
; serial.SRC generated from: serial.c
; COMPILER INVOKED BY:
; C:\Keil\C51\BIN\C51.EXE serial.c OPTIMIZE(6,SPEED) BROWSE DEBUG OBJECTEXTEND TABS(3)
$NOMOD51
NAME SERIAL
P0 DATA 080H
serial.c
// 题目:串口初始化C代码
// 要求:
// 1.波特率1200bps,无奇偶校验,停止位1,数据位8
// 2.定时器T1做波特率发生器
// 软件模拟测试说明:
// 1.这个测试采用查询方式进行串口通讯
// 2.将软件仿真环境的晶震设为11.0592 MHz
// 3.软件模拟全速运行, 观察波特率是1200bps
// 4.在串口1中输入数字或字母,可观察到通讯是 ...
serial.cpp
// Serial.cpp: implementation of the Serial class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GTcfg.h"
#include "Serial.h"
//////
serial.h
// Serial.h: interface for the Serial class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SERIAL_H__0FF9F86C_190F_42C2_940B_BC56D84E57D1__INCLUDED_)
serial.c
/*
* serial.c
*
* This module implements the rs232 io functions
* void rs_write(struct tty_struct * queue);
* void rs_init(void);
* and all interrupts pertaining to serial IO.
*/
#include
serial.c
/*********************************************************************************************************
** Small RTOS(51)
** Th