Last change
on this file since 1030 was
992,
checked in by alain, 9 years ago
|
Introduce a new driver for SD Card using the 4bits wide SD bus.
THere is now 5 supported block device peripherals, and the driver names
have been re-organised: reset_ioc_xxx with xxx in (bdv, hba, rdk, spi, sdc)
|
File size:
527 bytes
|
Rev | Line | |
---|
[758] | 1 | /** |
---|
| 2 | * \file reset_ioc.h |
---|
| 3 | * \date December 14, 2013 |
---|
| 4 | * \author Cesar Fuguet |
---|
| 5 | * |
---|
| 6 | * \brief API for accessing the disk controller |
---|
| 7 | * |
---|
| 8 | * \note These functions call the specific disk controller driver depending |
---|
[962] | 9 | * on the USE_IOC_BDV, USE_IOC_SDC or USE_IOC_HBA USE_IOC_RDK flags |
---|
[758] | 10 | */ |
---|
[992] | 11 | |
---|
[586] | 12 | #ifndef RESET_IOC_H |
---|
| 13 | #define RESET_IOC_H |
---|
[292] | 14 | |
---|
[758] | 15 | int reset_ioc_init(); |
---|
[653] | 16 | |
---|
[758] | 17 | int reset_ioc_read( unsigned int lba, void* buffer, unsigned int count ); |
---|
[292] | 18 | |
---|
[653] | 19 | #endif /* RESET_IOC_H */ |
---|
[347] | 20 | |
---|
[292] | 21 | /* |
---|
[758] | 22 | * vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab |
---|
[292] | 23 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.