projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "Found unknown command" doxygen warnings.
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
ser_avr.c
diff --git
a/bertos/cpu/avr/drv/ser_avr.c
b/bertos/cpu/avr/drv/ser_avr.c
index c94bf6b0be950c99191295698264ee8a1e3be8f3..d6de8243dbb27056be9a71158b2d97090bd97da2 100644
(file)
--- a/
bertos/cpu/avr/drv/ser_avr.c
+++ b/
bertos/cpu/avr/drv/ser_avr.c
@@
-454,10
+454,7
@@
static void spi_init(UNUSED_ARG(struct SerialHardware *, _hw), UNUSED_ARG(struct
* - as input but tied high forever!
* This driver set the pin as output.
*/
* - as input but tied high forever!
* This driver set the pin as output.
*/
- #if (ARCH & ARCH_NIGHTTEST)
- #warning __FILTER_NEXT_WARNING__
- #endif
- #warning SPI SS pin set as output for proper operation, check schematics for possible conflicts.
+ #warning FIXME:SPI SS pin set as output for proper operation, check schematics for possible conflicts.
ATOMIC(SPI_DDR |= BV(SPI_SS_BIT));
ATOMIC(SPI_DDR &= ~BV(SPI_MISO_BIT));
ATOMIC(SPI_DDR |= BV(SPI_SS_BIT));
ATOMIC(SPI_DDR &= ~BV(SPI_MISO_BIT));
@@
-648,7
+645,7
@@
struct SerialHardware *ser_hw_getdesc(int unit)
#if CONFIG_SER_HWHANDSHAKE
/// This interrupt is triggered when the CTS line goes high
#if CONFIG_SER_HWHANDSHAKE
/// This interrupt is triggered when the CTS line goes high
-
SIGNAL
(SIG_CTS)
+
DECLARE_ISR
(SIG_CTS)
{
// Re-enable UDR empty interrupt and TX, then disable CTS interrupt
UCSR0B = BV(BIT_RXCIE0) | BV(BIT_UDRIE0) | BV(BIT_RXEN0) | BV(BIT_TXEN0);
{
// Re-enable UDR empty interrupt and TX, then disable CTS interrupt
UCSR0B = BV(BIT_RXCIE0) | BV(BIT_UDRIE0) | BV(BIT_RXEN0) | BV(BIT_TXEN0);
@@
-661,7
+658,7
@@
SIGNAL(SIG_CTS)
/**
* Serial 0 TX interrupt handler
*/
/**
* Serial 0 TX interrupt handler
*/
-
SIGNAL
(USART0_UDRE_vect)
+
DECLARE_ISR
(USART0_UDRE_vect)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-709,7
+706,7
@@
SIGNAL(USART0_UDRE_vect)
* otherwise we'd stop the serial port with some data
* still pending in the buffer.
*/
* otherwise we'd stop the serial port with some data
* still pending in the buffer.
*/
-
SIGNAL
(SIG_UART0_TRANS)
+
DECLARE_ISR
(SIG_UART0_TRANS)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-732,7
+729,7
@@
SIGNAL(SIG_UART0_TRANS)
/**
* Serial 1 TX interrupt handler
*/
/**
* Serial 1 TX interrupt handler
*/
-
SIGNAL
(USART1_UDRE_vect)
+
DECLARE_ISR
(USART1_UDRE_vect)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-770,7
+767,7
@@
SIGNAL(USART1_UDRE_vect)
*
* \sa port 0 TX complete handler.
*/
*
* \sa port 0 TX complete handler.
*/
-
SIGNAL
(USART1_TX_vect)
+
DECLARE_ISR
(USART1_TX_vect)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-805,7
+802,7
@@
SIGNAL(USART1_TX_vect)
* RXCIE is cleared. Unfortunately the RXC flag is read-only
* and can't be cleared by code.
*/
* RXCIE is cleared. Unfortunately the RXC flag is read-only
* and can't be cleared by code.
*/
-
SIGNAL
(USART0_RX_vect)
+
DECLARE_ISR
(USART0_RX_vect)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-853,9
+850,9
@@
SIGNAL(USART0_RX_vect)
* is heavily loaded, because an interrupt could be retriggered
* when executing the handler prologue before RXCIE is disabled.
*
* is heavily loaded, because an interrupt could be retriggered
* when executing the handler prologue before RXCIE is disabled.
*
- * \see
SIGNAL
(USART1_RX_vect)
+ * \see
DECLARE_ISR
(USART1_RX_vect)
*/
*/
-
SIGNAL
(USART1_RX_vect)
+
DECLARE_ISR
(USART1_RX_vect)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-896,7
+893,7
@@
SIGNAL(USART1_RX_vect)
/**
* SPI interrupt handler
*/
/**
* SPI interrupt handler
*/
-
SIGNAL
(SIG_SPI)
+
DECLARE_ISR
(SIG_SPI)
{
SER_STROBE_ON;
{
SER_STROBE_ON;