Commit message (Expand) | Author | Age | Files | Lines | |||||
---|---|---|---|---|---|---|---|---|---|
* | Cosmetic changes | Rocco Marco Guglielmi | 2018-03-11 | 1 | -2/+1 | ||||
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11699 110e8d01-0319-4d1... | Rocco Marco Guglielmi | 2018-03-11 | 1 | -2/+2 | ||||
* | Driver pre-compile time settings aligned for all drivers. | Rocco Marco Guglielmi | 2018-03-11 | 6 | -153/+271 | ||||
* | Updated LIS3DSH driver and demos | Rocco Marco Guglielmi | 2018-03-10 | 2 | -333/+606 | ||||
* | Removed newline excess | Rocco Marco Guglielmi | 2018-03-10 | 4 | -4/+0 | ||||
* | Minor fixes | Rocco Marco Guglielmi | 2018-03-10 | 2 | -17/+12 | ||||
* | Updated LPS25H and added a thermometer interface to the driver | Rocco Marco Guglielmi | 2018-03-10 | 2 | -136/+747 | ||||
* | Improved EX drivers | Rocco Marco Guglielmi | 2018-03-10 | 5 | -32/+50 | ||||
* | Restored masks in HTS221 driver | Rocco Marco Guglielmi | 2018-03-10 | 1 | -0/+7 | ||||
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11683 110e8d01-0319-4d1... | Rocco Marco Guglielmi | 2018-03-10 | 1 | -0/+2 | ||||
* | Removed unused masks | Rocco Marco Guglielmi | 2018-03-10 | 1 | -7/+0 | ||||
* | Minor fixes | Rocco Marco Guglielmi | 2018-03-10 | 3 | -8/+8 | ||||
* | Minor fixes | Rocco Marco Guglielmi | 2018-03-10 | 1 | -3/+3 | ||||
* | Minor fixes in HTS221 driver | Rocco Marco Guglielmi | 2018-03-10 | 1 | -2/+2 | ||||
* | Updated HTS221 Driver and related demo | Rocco Marco Guglielmi | 2018-03-09 | 2 | -322/+769 | ||||
* | Minor adjustments on L3GD20 and LSMS303DLHC drivers | Rocco Marco Guglielmi | 2018-03-09 | 2 | -38/+38 | ||||
* | Updated L3GD20 | Rocco Marco Guglielmi | 2018-03-08 | 2 | -314/+593 | ||||
* | Improved LSM303DLHC driver | Rocco Marco Guglielmi | 2018-03-08 | 2 | -41/+47 | ||||
* | Minor documentation fixes | Rocco Marco Guglielmi | 2018-03-08 | 1 | /*
* This file is part of the flashrom project.
*
* Copyright (C) 2007, 2008 Carl-Daniel Hailfinger
*
* 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
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __SPI_H__
#define __SPI_H__ 1
/*
* Contains the generic SPI headers
*/
#define JEDEC_MAX_ADDR_LEN 0x04
/* Read Electronic ID */
#define JEDEC_RDID 0x9f
#define JEDEC_RDID_OUTSIZE 0x01
/* INSIZE may be 0x04 for some chips*/
#define JEDEC_RDID_INSIZE 0x03
/* Some ST M95X model */
#define ST_M95_RDID 0x83
#define ST_M95_RDID_3BA_OUTSIZE 0x04 /* 8b op, 24bit addr where size >64KiB */
#define ST_M95_RDID_2BA_OUTSIZE 0x03 /* 8b op, 16bit addr where size <=64KiB */
#define ST_M95_RDID_OUTSIZE_MAX 0x04 /* ST_M95_RDID_3BA_OUTSIZE */
#define ST_M95_RDID_INSIZE 0x03
/* Some Atmel AT25F* models have bit 3 as don't care bit in commands */
#define AT25F_RDID 0x15 /* 0x15 or 0x1d */
#define AT25F_RDID_OUTSIZE 0x01
#define AT25F_RDID_INSIZE 0x02
/* Read Electronic Manufacturer Signature */
#define JEDEC_REMS 0x90
#define JEDEC_REMS_OUTSIZE 0x04
#define JEDEC_REMS_INSIZE 0x02
/* Read Serial Flash Discoverable Parameters (SFDP) */
#define JEDEC_SFDP 0x5a
#define JEDEC_SFDP_OUTSIZE 0x05 /* 8b op, 24b addr, 8b dummy */
/* JEDEC_SFDP_INSIZE : any length */
/* Read Electronic Signature */
ChibiOS/commit/os/ex?id=c170c51a12327ce1a403144eb7d3e5150ca69a2e'>More MFS code. | Giovanni Di Sirio | 2017-11-13 | 2 | -37/+170 |
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10986 35acf78f-673a-041... | Giovanni Di Sirio | 2017-11-12 | 1 | -3/+3 | ||||
* | Simplified code. | Giovanni Di Sirio | 2017-11-12 | 1 | -130/+72 | ||||
* | More MFS code. | Giovanni Di Sirio | 2017-11-12 | 2 | -45/+188 | ||||
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10980 35acf78f-673a-041... | Giovanni Di Sirio | 2017-11-10 | 2 | -144/+264 | ||||
* | More MFS code. | Giovanni Di Sirio | 2017-11-10 | 2 | -88/+285 | ||||
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10978 35acf78f-673a-041... | Giovanni Di Sirio | 2017-11-09 | 2 | -145/+240 | ||||
* | Add calibration data inside the BMP085 drive. | Theodore Ateba | 2017-10-15 | 2 | -119/+109 | ||||
* | Minor doc improvement | Rocco Marco Guglielmi | 2017-09-24 | 1 | -1/+1 |