pub fn new(block_device: D, timesource: T) -> Controller<D, T> {
        debug!("Creating new embedded-sdmmc::Controller");
        Controller {
            block_device,
            timesource,
            open_dirs: [(VolumeIdx(0), Cluster::INVALID); 4],
            open_files: [(VolumeIdx(0), Cluster::INVALID); 4],
        }
    }
/// Create a new Disk Controller using a generic `BlockDevice`. From this
/// controller we can open volumes (partitions) and with those we can open
/// files.
Create a new Disk Controller using a generic `BlockDevice`. From this
controller we can open volumes (partitions) and with those we can open
files.
Create a new Disk Controller using a generic ` BlockDevice ` . From this controller we can open volumes ( partitions ) and with those we can open files .
pub fn new(block_device: D, timesource: T) -> Controller<D, T> {
        debug!("Creating new embedded-sdmmc::Controller");
        Controller {
            block_device,
            timesource,
            open_dirs: [(VolumeIdx(0), Cluster::INVALID); 4],
            open_files: [(VolumeIdx(0), Cluster::INVALID); 4],
        }
    }
pub fn new ( block_device : D , timesource : T ) -> Controller < D , T > { debug ! ( " " ) ; Controller { block_device , timesource , open_dirs : [ ( VolumeIdx ( 0 ) , Cluster :: INVALID ) ; 4 ] , open_files : [ ( VolumeIdx ( 0 ) , Cluster :: INVALID ) ; 4 ] , } }
Create a new Disk Controller using a generic `BlockDevice`.
Create a new Disk Controller using a generic ` BlockDevice ` .
block_device
D
timesource
T
block_device
D
timesource
T