Expose EASY_DMA_SIZE.

This commit is contained in:
Richard Dodd
2021-08-22 00:23:03 +01:00
parent fde24dba3c
commit ed1ed5225f
8 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,6 @@
pub use nrf52833_pac as pac;
/// The maximum buffer size that the EasyDMA can send/recv in one operation.
pub const EASY_DMA_SIZE: usize = (1 << 16) - 1;
pub const FORCE_COPY_BUFFER_SIZE: usize = 512;