读写函数
-----------------------------------------------------
void xWriteCH375Cmd( u16 mCmd )//1
{
UsartSendData(USART1, mCmd | 0x100);
}
void xWriteCH375Data( u16 mData ) //0
{
UsartSendData(USART1,mData &0x0ff) ;
}
u8 xReadCH375Data( void )
{
u8 rdata;
rdata=UsartReceiveData(USART1);
return rdata;
}