⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rs232.h

📁 Software I2C implimntation
💻 H
字号:
/*
*********************************************************************************************************
*									SIMPLE SOFTWARE DELAY FUNCTIONS
*
* File name		: RS232.h
* Programmer 	: Vinay Kumar Kondaparthi
* Note			: 
* Language		: Keil C 8.xx under uVision3 IDE
* Hardware		: Max 232
* Date			: Version 0.0 - 20th FEB 2009.
*********************************************************************************************************
*											DESCRIPTION
*
* This module provides interface for simple software delay functions adjusted for external
* crystal of 11.0592MHz
*********************************************************************************************************
*/

#ifndef _RS232_H_
#define _RS232_H_

/*
*********************************************************************************************************
*                         				serial communaication initilization Function
*
* Description : This function implements a software delay in usec. However, this is NOT an exact
*				usec delay function.
*				Timing calculation as (13*N+26)us at 11.0592MHz, (12*N+24)us at 12MHz
* Arguments   : 'N'		time to delay, (13*N+26)us, adjusted for external crystal of 11.0592MHz,
*						12 clock cycle timing
*			
* Returns     : none
*********************************************************************************************************
*/
void serial_init(void);


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -