OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [lib/] [ser.c] - Diff between revs 13 and 32

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 13 Rev 32
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.