X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fser_at91.h;h=4f2b4187a23f4529b93bf8e67db36cb3ed99c8ed;hb=c5c1386457a0c9d4d37c8574d1626553449d4c4a;hp=fd836c4150fa475076574181525135c4c4b3f0f5;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git diff --git a/bertos/cpu/arm/drv/ser_at91.h b/bertos/cpu/arm/drv/ser_at91.h index fd836c41..4f2b4187 100644 --- a/bertos/cpu/arm/drv/ser_at91.h +++ b/bertos/cpu/arm/drv/ser_at91.h @@ -27,13 +27,13 @@ * the GNU General Public License. * * Copyright 2003,2004 Develer S.r.l. (http://www.develer.com/) - * Copyright 2000 Bernardo Innocenti + * Copyright 2000 Bernie Innocenti * * --> * * \brief High level serial I/O API * - * \version $Id: ser_at91.h 20552 2008-02-14 16:40:41Z batt $ + * \version $Id$ * \author Daniele Basile */ @@ -54,9 +54,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 +73,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 */