2014-10-06
This version append tow functions use to parse the UART transmit protocol.
We can call DEN_CatchPackage(U8 uByte) every time when we got a byte,
And finally DEN_CatchPackage will return CPS_COMPLETE,and then,we
can not call DEN_CatchPackage but we call DEN_GetPackage(U16*,U8*) to
get the decode bytes we need.

When DEN_CatchPackage returns CPS_COMPLETE,continue call DEN_CatchPackage
will not make any effect,equal to throw out the bytes.
After DEN_CatchPackage returns CPS_COMPLETE,we must call DEN_GetPackage
to get out the decode bytes,after that,a cycle is complete.
We can call DEN_CatchPackage again to parse the next package come from
the serial.
About the DataTransEnDecode_F.h .cpp
Change EnDecode function's prototype,read and write buf change frome
U8* to void*,when we call the function,pass a struct to inBuf,we no
need to transform it to U8*.