/*******************************************************/

/*                                                     */ 

/*                Library for I-7188XB.                */

/*                                                     */ 

/*******************************************************/

Important notice:

(A) must call InitLib(); first.



=====================================================================

== [Ver 2.01] =======================================================

=====================================================================

[2005/07/05]

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]

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/04/08]

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/03/04]

1. Add small model version library. (7188XBS.LIB)



[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/08/02]

1.fix bug for COM6/7/8 for put input data to input buffer.

2.add function AllocateTopMemory().

3.add function CmdToArg().

4.add functions for COM3/4/5 to read MSR/set MCR on 16C550.



[2004/07/05]

1.fix bug for ReadComn_3()/ReadComn_4()/ReadComn_5()/ReadComn_6()/ReadComn_7()/ReadComn_8()



[2004/06/01]

1.fix bug for GetDi1().



[2004/03/08]

1.fix bug for EnableWDT()/DisableWDT().