Mercurial > ecos
changeset 2293:c081d2e2993f
* include/var_io.h: Added definition for SPI MODFDIS bit
| author | jlarmour |
|---|---|
| date | Sat, 09 Sep 2006 13:26:22 +0000 |
| parents | 102f517b1248 |
| children | 4a8aaf2d79cf |
| files | packages/hal/arm/at91/var/current/ChangeLog packages/hal/arm/at91/var/current/include/var_io.h |
| diffstat | 2 files changed, 7 insertions(+), 0 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,7 @@ +2006-09-08 John Eigelaar <jeigelaar@mweb.co.za> + + * include/var_io.h: Added definition for SPI MODFDIS bit + 2006-08-31 Oyvind Harboe <oyvind.harboe@zylin.com> * src/at91_misc.c: Now also resets external circuitry via
--- a/packages/hal/arm/at91/var/current/include/var_io.h +++ b/packages/hal/arm/at91/var/current/include/var_io.h @@ -1324,6 +1324,9 @@ #define AT91_SPI_MR_PS 0x00000002 // Peripheral Select #define AT91_SPI_MR_PCSDEC 0x00000004 // Chip Select Decode #define AT91_SPI_MR_DIV32 0x00000008 // Clock Selection +#if defined(CYGHWR_HAL_ARM_AT91SAM7) +#define AT91_SPI_MR_MODFDIS (1<<4) // Mode Failure Detect Disable +#endif #define AT91_SPI_MR_LLB 0x00000080 // Local Loopback Enable #define AT91_SPI_MR_PCS(x) (((x)&0x0F)<<16) // Peripheral Chip Select #define AT91_SPI_MR_DLYBCS(x) (((x)&0xFF)<<24) // Delay Between Chip Selects
