Go to the source code of this file.
Data Structures | |
| struct | _AT25D_INFO |
| AT25D DataFlash parameter structure. More... | |
Typedefs | |
| typedef struct _AT25D_INFO | AT25D_INFO |
| AT25D DataFlash parameter structure type. | |
Functions | |
| int | At25dfInit (NUTDEVICE *dev) |
| Initialize dataflash at specified interface and chip select. | |
Variables | |
| NUTSPINODE | at25df |
| NUTDEVICE | devDataFlash0 |
| typedef struct _AT25D_INFO AT25D_INFO |
AT25D DataFlash parameter structure type.
| int At25dfInit | ( | NUTDEVICE * | dev | ) |
Initialize dataflash at specified interface and chip select.
| spibas | Interface base address. For ARM MCUs this may be the I/O base address of the hardware SPI. |
| spipcs | Device chip select. |
References at25d_known_types, _AT25D_INFO::at25d_pages, _AT25D_INFO::at25d_psize, _NUTBLOCKIO::blkio_blk_cnt, _NUTBLOCKIO::blkio_blk_siz, _NUTBLOCKIO::blkio_info, _NUTDEVICE::dev_dcb, _NUTDEVICE::dev_icb, NULL, and NUTASSERT.