diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-27 00:03:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-27 00:03:05 +0000 |
commit | c455dee2b9bf6a37956071f5b9a16f786ccc0f0a (patch) | |
tree | 38da3785a4f263bd47dadc31dcd5016866bf81d4 /nuttx/drivers/mtd/sst25.c | |
parent | d07a361adc938b7c8f671d91da4300b8c4a5df7a (diff) | |
download | px4-nuttx-c455dee2b9bf6a37956071f5b9a16f786ccc0f0a.tar.gz px4-nuttx-c455dee2b9bf6a37956071f5b9a16f786ccc0f0a.tar.bz2 px4-nuttx-c455dee2b9bf6a37956071f5b9a16f786ccc0f0a.zip |
Mirtoo README.txt and SST25 comments update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4874 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mtd/sst25.c')
-rw-r--r-- | nuttx/drivers/mtd/sst25.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/mtd/sst25.c b/nuttx/drivers/mtd/sst25.c index 81b5dc1bf..83fbdc347 100644 --- a/nuttx/drivers/mtd/sst25.c +++ b/nuttx/drivers/mtd/sst25.c @@ -60,9 +60,9 @@ * Pre-processor Definitions ************************************************************************************/ /* Configuration ********************************************************************/ -/* Per the data sheet, the SST25 parts can be driven with either SPI mode 0 (CPOL=0 and - * CPHA=0) or mode 3 (CPOL=1 and CPHA=1). But I have heard that other devices can - * operated in mode 0 or 1. So you may need to specify CONFIG_SST25_SPIMODE to +/* Per the data sheet, the SST25 parts can be driven with either SPI mode 0 (CPOL=0 + * and CPHA=0) or mode 3 (CPOL=1 and CPHA=1). But I have heard that other devices + * can operate in mode 0 or 1. So you may need to specify CONFIG_SST25_SPIMODE to * select the best mode for your device. If CONFIG_SST25_SPIMODE is not defined, * mode 0 will be used. */ |