代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.vec
;INTERRUPT VECTORS
JMP __RESET
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0x00
JMP 0
serial.c~
#include
#define F_CPU 11059200
#define UDRE 0x20
#define RXEN 0x10
#define TXEN 0x08
#define URSEL 0x80
#define RXC 0x80
const unsigned char buffer[]="Hi,Ho
serial.h
#ifndef __SERIAL_H__
#define __SERIAL_H__
typedef int (*serial_init_func_t)(int);
typedef int (*serial_read_func_t)(void);
typedef int (*serial_write_func_t)(int);
typedef int (*serial_poll_fun
serial.h
#ifndef __SERIAL__H
#define __SERIAL__H
void putchar(char);
char getchar(void);
void printf(char *p);
char kbhit(void);
void SendToDis(unsigned char bits,unsigned char Value);
void sendhe
serial.c
#include "ks0108.h"
#include "board.h"
#include "KS0108.h"
#include
#include "init.h"
#include
void putchar(char data){
while(!(UCSRA & (1
serial.h
/****************************************************************************
*
* MODULE: serial.h
*
* COMPONENT: $RCSfile: $
*
* VERSION: $Name: $
*
* REVISION
serial.c
/****************************************************************************
*
* MODULE: uart.c
*
* COMPONENT: $RCSfile: $
*
* VERSION: $Name: $
*
* RE
serial.h
/****************************************************************************
*
* MODULE: serial.h
*
* COMPONENT: $RCSfile: serial.h,v $
*
* VERSION: $Name:
serial.c
/****************************************************************************
*
* MODULE: uart.c
*
* COMPONENT: $RCSfile: serial.c,v $
*
* VERSION: $Name:
serial.h
#ifndef _SERIAL_H
#define _SERIAL_H 1
typedef int INT32;
typedef short INT16;
typedef char INT8;
typedef unsigned int UNIT32;
typedef unsigned short UINT16;
typedef unsigned char UINT8;
/*