/*******************************************************/ /* */ /* Library for I-7188XC. */ /* */ /*******************************************************/ Ver 2.10 [2010/09/08] 1.Enhanced: Adjust the optimization of BC++ 3.1 and re-compiler the library. 2.Enhanced: Enhance for ToComBufn_x(). [2010/08/25] 1.Enhanced: Enhance for com port ISR. ==> Add _asm cld; [2010/08/03] 1.Added: Support OS7_COM.lib Ver 1.1.0 Ver 2.09 [2009/07/30] 1.Added: Support new data format 8N2/8M1/8S1 for COM1/COM2. Ver 2.08 [2008/01/09] 1.Fixed: Fix bug for ToComBufn()/ToComStr()/printCom. Ver 2.07 [2008/01/09] 1.Enhanced: Enhance EE_WiteProtect() Ver 2.05 1.Added:Add three functions unsigned GetOsLibVersion(void); char *GetOsLibDate(void); char *GetOsLibName(void); Ver 2.04 1.Added: Add some COM port functions about MSR/trigger level/MCR... Ver 2.03 1.Fixed: Fix bug for the data loss problem of COM1/COM2 by using Com port DMA functions. Ver 2.01 [2005/07/05] [7188xc_lib_050705.zip] 1.Added:Add functions for the EEPROm on the X-board. (XEE_nnnn() series functions.) These functions will be used in the X-board library. [2005/05/27] 1.Added: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/05/23] 1.Added: Add function ReceiveResponseFrom7000_1(). [2005/02/21] 1.Added: Add the function AllocateTopMemory(). 2.Added: Add the variables LsrError_3,LsrError_4. [2004/09/09]([2004/10/13] make this version) 1.Added: 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.Added: 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/07/05] 1.Fixed: fix bug for ReadComn_3()/ReadComn_4() [2004/03/08] 1.Fixed:fix bug for EnableWDT()/DisableWDT(). ================================================================================ [Chinese Big5]------------------------------------------------------------------ == [改版說明] ================================================================== Ver 2.10 [2010/09/08] 1.調整BC++3.1的最佳化設定和重新編譯library. 2.改善ToComBufn_x()函數. [2010/08/25] 1.在com port ISR的程式碼中加入_asm cld. [2010/08/03] 1.支援OS7_COM.lib Ver 1.1.0 Ver 2.09 [2009/07/30] 1.COM1/COM2支援新的data format 8N2/8M1/8S1. Ver 2.08 [2008/01/09] 1.修正ToComBufn()/ToComStr()/printCom的bug Ver 2.07 [2008/01/09] 1.改善EE_WiteProtect() Ver 2.06 [2007/09/20] 1.修改LSR error的程式碼. [2007/09/05] 1.X-board 的UART中斷改用level trigger. [2007/07/24] 1.ToComBufn()的return值修正為送出data的byte 數 Ver 2.05 1.增加三個函數 unsigned GetOsLibVersion(void); char *GetOsLibDate(void); char *GetOsLibName(void); Ver 2.04 1.加上一些 com port 的副程式(跟 MSR/trigger level/MCR... 等有關)。 Ver 2.03 1.修正 COM1/2 使用 DMA 可能會掉 data 的問題。