X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fser_at91.h;h=f7eb9869cea2df9d615a05016003f6e53287b092;hb=6fffd0614f75137e8fed424c87835d4e7d478ef7;hp=66535499a415b55bfc16b0e37dc2561e9e102134;hpb=b90e284547eab472e3d9e478a058304bdd6b2da7;p=bertos.git diff --git a/bertos/cpu/arm/drv/ser_at91.h b/bertos/cpu/arm/drv/ser_at91.h index 66535499..f7eb9869 100644 --- a/bertos/cpu/arm/drv/ser_at91.h +++ b/bertos/cpu/arm/drv/ser_at91.h @@ -33,7 +33,6 @@ * * \brief High level serial I/O API * - * \version $Id$ * \author Daniele Basile */ @@ -54,9 +53,9 @@ typedef uint32_t serstatus_t; #define SERRF_TXTIMEOUT BV(2) /**< Transmit timeout */ /* - * Hardware errors. - * These flags map directly to the ARM USART Channel Status Register (US_CSR). - */ + * Hardware errors. + * These flags map directly to the ARM USART Channel Status Register (US_CSR). + */ #define SERRF_RXSROVERRUN BV(5) /**< Rx shift register overrun */ #define SERRF_FRAMEERROR BV(6) /**< Stop bit missing */ #define SERRF_PARITYERROR BV(7) /**< Parity error */ @@ -73,7 +72,7 @@ enum SER_UART0, SER_UART1, SER_SPI0, -#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X256 +#if CPU_ARM_SAM7X SER_SPI1, #endif SER_CNT /**< Number of serial ports */