Mercurial > ecos
changeset 2879:c212b2328003
* include/var_io.h: Provide additional SPI status register defines as
reported by Peter Niebert. [ Bugzilla 1000781 ]
| author | jld |
|---|---|
| date | Mon, 25 May 2009 13:52:26 +0000 |
| parents | 2e50876cc43d |
| children | c90c558e6c9f |
| files | packages/hal/arm/at91/var/current/ChangeLog packages/hal/arm/at91/var/current/include/var_io.h |
| diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/arm/at91/var/current/ChangeLog +++ b/packages/hal/arm/at91/var/current/ChangeLog @@ -1,3 +1,8 @@ +2009-05-25 John Dallaway <john@dallaway.org.uk> + + * include/var_io.h: Provide additional SPI status register defines as + reported by Peter Niebert. [ Bugzilla 1000781 ] + 2009-05-20 Vibi Sreenivasan <vibi_sreenivasan@cms.com> * include/var_io.h (HAL_ARM_AT91_GPIO_MULTIDRAIN): Add a macro to @@ -461,7 +466,7 @@ 2001-07-16 Gary Thomas <gthomas@redhat // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/arm/at91/var/current/include/var_io.h +++ b/packages/hal/arm/at91/var/current/include/var_io.h @@ -10,7 +10,7 @@ // ####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2009 Free Software Foundation, Inc. // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -1884,6 +1884,10 @@ #define AT91_SPI_SR_OVRES 0x00000008 // Overrun Error Status #define AT91_SPI_SR_ENDRX 0x00000010 // End of Receiver Transfer #define AT91_SPI_SR_ENDTX 0x00000020 // End of Transmitter Transfer +#define AT91_SPI_SR_RXBUFF 0x00000040 // RX Buffer Full +#define AT91_SPI_SR_TXBUFE 0x00000080 // TX Buffer Empty +#define AT91_SPI_SR_NSSR 0x00000100 // NSS Rising +#define AT91_SPI_SR_TXEMPTY 0x00000200 // Transmission Registers Empty #define AT91_SPI_SR_SPIENS 0x00010000 // SPI Enable Status #define AT91_SPI_IER 0x14 // Interrupt Enable Register #define AT91_SPI_IDR 0x18 // Interrupt Disable Register
