diff --git a/arch/arm/src/lpc17xx/lpc17_internal.h b/arch/arm/src/lpc17xx/lpc17_internal.h index 06bf3a9f4c758275da02b1a7c954c04bcbc9216c..aa2ddc48993afdfd2c30b1fc100bf682d0c9d617 100755 --- a/arch/arm/src/lpc17xx/lpc17_internal.h +++ b/arch/arm/src/lpc17xx/lpc17_internal.h @@ -1,7 +1,7 @@ /************************************************************************************ * arch/arm/src/lpc17xx/lpc17_internal.h * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/Make.defs b/arch/arm/src/sam3u/Make.defs index 4aac19b40ea95c1e354c8cb761fb967e0a0223fe..b3bdac72b44e0827dd29014437e371868b90c26c 100644 --- a/arch/arm/src/sam3u/Make.defs +++ b/arch/arm/src/sam3u/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # arch/arm/src/sam3u/Make.defs # -# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/sam3u_spi.c b/arch/arm/src/sam3u/sam3u_spi.c index 3646134d10381a972e068a862c4c7dbda7027424..e3ba0a1bfce2ad0ca4cdfb5777c278088d9d97e4 100644 --- a/arch/arm/src/sam3u/sam3u_spi.c +++ b/arch/arm/src/sam3u/sam3u_spi.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/sam3u/sam3u_spi.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/sam3u_spi.h b/arch/arm/src/sam3u/sam3u_spi.h index 6fa0b6959cad8f102dd146e8ce0f35261aea1002..f0d3af4961427a531fc6a36bbdc17f43781351a9 100644 --- a/arch/arm/src/sam3u/sam3u_spi.h +++ b/arch/arm/src/sam3u/sam3u_spi.h @@ -1,7 +1,7 @@ /**************************************************************************************** * arch/arm/src/sam3u/sam3u_spi.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/sam3uek_internal.h b/configs/sam3u-ek/src/sam3uek_internal.h index 2bc6d397df67fd259dabdcf6807633882058cb7d..c7f9d42783bcb912d2d7a9b303b92db5b7c6a59e 100644 --- a/configs/sam3u-ek/src/sam3uek_internal.h +++ b/configs/sam3u-ek/src/sam3uek_internal.h @@ -2,7 +2,7 @@ * configs/sam3uek_eval/src/sam3uek_internal.h * arch/arm/src/board/sam3uek_internal.n * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/up_boot.c b/configs/sam3u-ek/src/up_boot.c index a6dde5e1f0456410d5d42224ddb8f81dce53268f..87e91f039385eb9bb001250466c1949b34481ac5 100644 --- a/configs/sam3u-ek/src/up_boot.c +++ b/configs/sam3u-ek/src/up_boot.c @@ -2,7 +2,7 @@ * configs/sam3u-ek/src/up_boot.c * arch/arm/src/board/up_boot.c * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/up_spi.c b/configs/sam3u-ek/src/up_spi.c index 99739983e36f336f95c461f3090b6baead378b07..3b5089238b08338c8293dfe38773856367ebb67d 100644 --- a/configs/sam3u-ek/src/up_spi.c +++ b/configs/sam3u-ek/src/up_spi.c @@ -2,7 +2,7 @@ * configs/sam3u-ek/src/up_spi.c * arch/arm/src/board/up_spi.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/include/nuttx/spi.h b/include/nuttx/spi.h index c5a9d0ff33f606d0d4f1ec0ba97b52e0fc0066f3..bd55ec5e2a4e5455874ea3df94b0d4b9cc62805d 100644 --- a/include/nuttx/spi.h +++ b/include/nuttx/spi.h @@ -49,14 +49,16 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ - /* Configuration ************************************************************/ - /* CONFIG_SPI_OWNBUS - Set if there is only one active device on the SPI bus. * No locking or SPI configuration will be performed. It is not necessary * for clients to lock, re-configure, etc.. * CONFIG_SPI_EXCHANGE - Driver supports a single exchange method * (vs a recvblock() and sndblock ()methods). + * CONFIG_SPI_CMDDATA - Devices on the SPI bus require out-of-band support + * to distinguish command transfers from data transfers. Such devices + * will often support either 9-bit SPI (yech) or 8-bit SPI and a GPIO + * output that selects between command and data. */ /* Access macros ************************************************************/