?? rs232.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 + -