add missing TransferOptions fields for DMA
This commit is contained in:
parent
a56b3e9a44
commit
8e230bf6ec
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOp
|
||||||
mburst: crate::dma::Burst::Incr4,
|
mburst: crate::dma::Burst::Incr4,
|
||||||
flow_ctrl: crate::dma::FlowControl::Peripheral,
|
flow_ctrl: crate::dma::FlowControl::Peripheral,
|
||||||
fifo_threshold: Some(crate::dma::FifoThreshold::Full),
|
fifo_threshold: Some(crate::dma::FifoThreshold::Full),
|
||||||
|
circular: false,
|
||||||
|
half_transfer_ir: false,
|
||||||
|
complete_transfer_ir: true,
|
||||||
};
|
};
|
||||||
#[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 {
|
||||||
|
|
Loading…
Reference in a new issue