X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fser_simple.c;h=7805892a9912769604962e288c271ccac2f1f521;hb=be5afe05ba0c8a2c885ee9b5a7251ac95d11ac20;hp=4a57e719b2a11589dfeb7adfce33a38463dd5bdc;hpb=89055a8545877865c37fbe0f590e7d429ae00c4a;p=bertos.git diff --git a/drv/ser_simple.c b/drv/ser_simple.c old mode 100755 new mode 100644 index 4a57e719..7805892a --- a/drv/ser_simple.c +++ b/drv/ser_simple.c @@ -1,6 +1,31 @@ -/*! +/** * \file * @@ -13,6 +38,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2006/07/19 12:56:26 bernie + *#* Convert to new Doxygen style. + *#* *#* Revision 1.1 2005/04/12 01:37:50 bernie *#* Import into DevLib. *#* @@ -46,7 +74,7 @@ #include -/*! +/** * Send a character over the serial line. * * \return the character sent. @@ -71,7 +99,7 @@ int _ser_putchar(int c) } -/*! +/** * Get a character from the serial line. * If ther is no character in the buffer this function wait until * one is received (no timeout). @@ -87,7 +115,7 @@ int _ser_getchar(void) } -/*! +/** * Get a character from the receiver buffer * If the buffer is empty, ser_getchar_nowait() returns * immediatly EOF. @@ -102,7 +130,7 @@ void _ser_settimeouts(void) { } -/*! +/** * Set the baudrate. */ void _ser_setbaudrate(unsigned long rate) @@ -114,7 +142,7 @@ void _ser_setbaudrate(unsigned long rate) UBRR0L = (period); } -/*! +/** * Send a string. */ int _ser_print(const char *s) @@ -130,7 +158,7 @@ void _ser_setparity(int parity) UCSR0C |= (UCSR0C & ~(BV(UPM1) | BV(UPM0))) | (parity << UPM0); } -/*! +/** * Dummy functions. */ void _ser_purge(void) @@ -138,7 +166,7 @@ void _ser_purge(void) while (_ser_getchar_nowait() != EOF) {} } -/*! +/** * Initialize serial. */ struct Serial * _ser_open(void) @@ -156,7 +184,7 @@ struct Serial * _ser_open(void) } -/*! +/** * Clean up serial port, disabling the associated hardware. */ void _ser_close(void)