Line 59... |
Line 59... |
/************************************************************************/
|
/************************************************************************/
|
/** Initializes the UART
|
/** Initializes the UART
|
* Initializes the UART for the serial Port 0 with 115,2 Kbaud, 1 start,
|
* Initializes the UART for the serial Port 0 with 115,2 Kbaud, 1 start,
|
* 1 stop and no parity bit.
|
* 1 stop and no parity bit.
|
*************************************************************************
|
*************************************************************************
|
* \param[in]
|
|
* \param[out]
|
|
* \return
|
|
*************************************************************************
|
|
* \author Christoph Zimmermann, SDCC Team
|
* \author Christoph Zimmermann, SDCC Team
|
* \date 21.Nov.2008
|
* \date 21.Nov.2008
|
************************************************************************/
|
************************************************************************/
|
void
|
void
|
ser_init(void)
|
ser_init(void)
|
Line 160... |
Line 156... |
}
|
}
|
|
|
/************************************************************************/
|
/************************************************************************/
|
/** \brief receives one char from the serial line
|
/** \brief receives one char from the serial line
|
*************************************************************************
|
*************************************************************************
|
* \return receive character
|
* \return received character
|
*************************************************************************
|
*************************************************************************
|
* \author Christoph Zimmermann, SDCC Team
|
* \author Christoph Zimmermann, SDCC Team
|
* \date 21.Nov.2008
|
* \date 21.Nov.2008
|
************************************************************************/
|
************************************************************************/
|
unsigned char
|
unsigned char
|
Line 185... |
Line 181... |
}
|
}
|
|
|
/************************************************************************/
|
/************************************************************************/
|
/** \brief sends a string of characters over the serial line
|
/** \brief sends a string of characters over the serial line
|
*************************************************************************
|
*************************************************************************
|
* \param[in] string to send
|
* \param[in] *String string to send
|
*************************************************************************
|
*************************************************************************
|
* \author Christoph Zimmermann, SDCC Team
|
* \author Christoph Zimmermann, SDCC Team
|
* \date 21.Nov.2008
|
* \date 21.Nov.2008
|
************************************************************************/
|
************************************************************************/
|
void
|
void
|