Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: AT45_spi_flash_example AT45_spi_flash_example PLC1608-V1 RL0201-V1
Fork of AT45 by
Diff: AT45.h
- Revision:
- 1:f8e562ae5cc3
- Parent:
- 0:2e9d45485414
diff -r 2e9d45485414 -r f8e562ae5cc3 AT45.h --- a/AT45.h Tue Jan 10 09:20:38 2012 +0000 +++ b/AT45.h Tue Nov 14 14:53:37 2017 +0000 @@ -60,7 +60,7 @@ * @param spi The mbed SPI instance (make in main routine) * @param nCs The SPI chip select pin. */ - AT45(SPI& spi, PinName ncs); + AT45(SPI *spi, PinName ncs); /** Read a byte. * @@ -237,7 +237,7 @@ private: - SPI _spi; + SPI *_spi; DigitalOut _ncs; int _pages; // Integer number of pages