pub struct SoundBlasterConfig {
pub base: u16,
pub irq: u8,
pub dma: u8,
}Expand description
ISA resources shared by Sound Blaster playback models.
Select the DSP generation and word DMA separately on SoundConfig.
The host may service DRQ or attach an emulated memory DMA controller.
Resources are validated when constructing the machine.
Fields§
§base: u16Base I/O address, aligned to 10h in 200h through 280h.
irq: u8ISA interrupt line: 2, 3, 5 or 7; SB16 also supports 10.
dma: u8Byte-wide DMA channel: 0, 1 or 3.
Trait Implementations§
Source§impl Clone for SoundBlasterConfig
impl Clone for SoundBlasterConfig
impl Copy for SoundBlasterConfig
Source§impl Debug for SoundBlasterConfig
impl Debug for SoundBlasterConfig
Source§impl Default for SoundBlasterConfig
impl Default for SoundBlasterConfig
impl Eq for SoundBlasterConfig
Source§impl PartialEq for SoundBlasterConfig
impl PartialEq for SoundBlasterConfig
impl StructuralPartialEq for SoundBlasterConfig
Auto Trait Implementations§
impl Forget for SoundBlasterConfig
impl Freeze for SoundBlasterConfig
impl RefUnwindSafe for SoundBlasterConfig
impl Send for SoundBlasterConfig
impl Sync for SoundBlasterConfig
impl Unpin for SoundBlasterConfig
impl UnsafeUnpin for SoundBlasterConfig
impl UnwindSafe for SoundBlasterConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more