/*******************************************************/ /* */ /* Library for I-7188XA. */ /* */ /*******************************************************/ (A) must call InitLib(); first. ===================================================================== == [Ver 2.03] ======================================================= ===================================================================== [2006/01/17] 1.修正ReadComn_x()副程式。 如果程式中只用 ReadCom_x()的話沒有問題。只有用到 ReadComn_x() 而且要用 RTS/CTS flow control , 且使用 FLOW_CONTROL_AUTO_BY_SW 模式時才有問題。 [2005/08/17] 1.修正 ASCKEY 的判斷方式。 [2005/07/01] 1.修正:使用 RDC CPU 時,修改 RESET MODE 的判斷方式。 (以前的方式可能會把 POWER ON reset 誤判為 WDT reset) ===================================================================== == [Ver 2.01] ======================================================= ===================================================================== [2005/05/27] Add two functions: int SetDelayTimer(int no); int SetUserTimer(int no); for seting the timer used by the delay functions: Delay()/Delay_1()/Delay_2() & InstallUserTimerFunction_us()/InstallUserTimerFunction_ms(). By defualt all these functions will use timer 0, Now it can be set to use timer 1. [2005/03/22] 1. InitLib() will not call the function "setvbuf(stdout,NULL,_IONBF,0);" Because it is compatible with MSC/MSVC++. So user want to use "printf()" with TC/BC++ must add "setvbuf(stdout,NULL,_IONBF,0);" in his program. [2005/02/21] 1. Add the function AllocateTopMemory(). 2. Add the variables LsrError_1,LsrError_2,LsrError_5,LsrError_6,LsrError_7. [2004/10/13] 1. Add the function GetSerialNumber(). [2004/09/09] 1.Add "setvbuf(stdout,NULL,_IONBF,0);" to the function InitLib(). Then user's program can call printf()/puts() & work well. (The OS need update to the date 2004/09/09 or later. Old version also will work, but will lost the last byte it print out. ) 2.Add a variable "bLfMode" for Putch()/Puts()/Print(). when bLfMode is set to 1, these functions will translate '\n' to '\r'+'\n'. The default value of bLfMode is set to 0. [2004/09/07] 1.make a new version named 7188xa.lib (without 'L') remove the objs come from BC++ 3.1 library. [2004/07/05] 1.fix bug for ReadComn_1()/ReadComn_2()/ReadComn_5()/ReadComn_6()/ReadComn_7()