forked driver
Dependents: ESHD_L475VG_IOT01-Sensors-BSP
Diff: MB85RSxx_SPI.h
- Revision:
- 3:f31e1990e1f3
- Parent:
- 2:9a0f9faada7f
diff -r 9a0f9faada7f -r f31e1990e1f3 MB85RSxx_SPI.h --- a/MB85RSxx_SPI.h Fri Aug 18 05:27:05 2017 +0000 +++ b/MB85RSxx_SPI.h Fri Aug 30 06:13:56 2019 +0000 @@ -38,12 +38,15 @@ #define WRSR 0x01 #define READ 0x03 #define WRITE 0x02 +#define RDID 0x9f #define SR_WPEN 0x80 #define SR_BP0 0x08 #define SR_BP1 0x04 #define SR_WEL 0x02 + + /** Interface for accessing Fujitsu MB85RSxx FRAM * * @code @@ -148,6 +151,7 @@ SPI &_spi; DigitalOut *_di_p; DigitalOut &_di; + int _rdid; }; #endif