|
Last change
on this file since 1003 was
992,
checked in by alain, 10 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
|
| Line | |
|---|
| 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 |
|---|
| 9 | * on the USE_IOC_BDV, USE_IOC_SDC or USE_IOC_HBA USE_IOC_RDK flags |
|---|
| 10 | */ |
|---|
| 11 | |
|---|
| 12 | #ifndef RESET_IOC_H |
|---|
| 13 | #define RESET_IOC_H |
|---|
| 14 | |
|---|
| 15 | int reset_ioc_init(); |
|---|
| 16 | |
|---|
| 17 | int reset_ioc_read( unsigned int lba, void* buffer, unsigned int count ); |
|---|
| 18 | |
|---|
| 19 | #endif /* RESET_IOC_H */ |
|---|
| 20 | |
|---|
| 21 | /* |
|---|
| 22 | * vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab |
|---|
| 23 | */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.