/* * Copyright (c) 1999-2000 University of California, Riverside. * Permission to copy is granted provided that this header remains * intact. This software is provided with no warranties. * * Version : 1.0 */ /*---------------------------------------------------------------------------*/ static unsigned char xdata U_TX_REG_ADDR _at_ 65535; static unsigned char xdata U_STAT_REG_ADDR _at_ 65534; /*---------------------------------------------------------------------------*/ void UatInitialize(void) { /* no code */ } /*---------------------------------------------------------------------------*/ void UatSend(unsigned char d) { while( U_STAT_REG_ADDR == 1 ) { /* busy wait */ } U_TX_REG_ADDR = d; }