代码搜索结果
找到约 10,000 项符合
Serial 的代码
usb-serial.h
/*
* USB Serial Converter driver
*
* Copyright (C) 1999 - 2002
* Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the
tiny_serial.c
/*
* Tiny Serial driver
*
* Copyright (C) 2002-2004 Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G
serial_pal.v
module serial_pal(clk,reset,en,in,out);
input clk,reset,en,in;
output[3:0] out;
reg[3:0] out;
always @(posedge clk)
begin
if(reset) out
serial2.v
module serial2(q,a,clk);
output q,a;
input clk;
reg q,a;
always @(posedge clk)
begin
a=~q;
q=~q;
end
endmodule
serial1.v
module serial1(q,a,clk);
output q,a;
input clk;
reg q,a;
always @(posedge clk)
begin
q=~q;
a=~q;
end
endmodule
xwj_serial.h
//---------------- xwj_Serial.c //---------------串口相关
//串口函数集,仅需做简单调用即可完成串口输入输出的处理,出入均设有缓冲区,大小可任意设置
void serial_init ();
unsigned char getbyte(void); //从接收缓冲区取一个byte,如不想等待则在调用前检测inbufsign是否为1。