fix sdmmc bdma transferconfig fields

This commit is contained in:
JuliDi 2023-06-27 21:58:56 +02:00
parent 56dd22f0ac
commit 60c54107ce
No known key found for this signature in database
GPG Key ID: E1E90AE563D09D63

View File

@ -227,7 +227,11 @@ const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOp
fifo_threshold: Some(crate::dma::FifoThreshold::Full), fifo_threshold: Some(crate::dma::FifoThreshold::Full),
}; };
#[cfg(all(sdmmc_v1, not(dma)))] #[cfg(all(sdmmc_v1, not(dma)))]
const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOptions {}; const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOptions {
circular: false,
half_transfer_ir: false,
complete_transfer_ir: true,
};
/// SDMMC configuration /// SDMMC configuration
/// ///