dma_x86_64 0.1.2

Low-level DMA driver for x86_64 systems in no_std environments.
Documentation
  • Coverage
  • 54.55%
    24 out of 44 items documented0 out of 20 items with examples
  • Size
  • Source code size: 12.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.63 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • doikoko/DMA_x86_64_driver
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • doikoko

dma_x86

dma_x86 #![no_std] DMA driver for x86/x86_64, used to bare-metal and OS dev or other drivers. It can configure DMA controller and use for transfer data from the periphery bypassing the processor

example

Example of work DMA with this crate example/floppy.

let floppy_disk = DmaMasterChannel::new(
        &dma_x86_64::PossibleMasterChannels::FloppyDisk
    );
let enternet = DmaSlaveChannel::new(
        &dma_x86_64::PossibleSlaveChannels::Enternet
    );

floppy.mask_channel();
enternet.reset_flip_flop();