|
4 | 4 | //! |
5 | 5 | //! Four basic transfer types are supported: |
6 | 6 | //! |
7 | | -//! * Incrementing-source to incrementing-destination |
8 | | -//! (normally used for memory-to-memory transfers) |
| 7 | +//! * Incrementing-source to incrementing-destination (normally used for |
| 8 | +//! memory-to-memory transfers) |
9 | 9 | //! |
10 | | -//! * Incrementing-source to fixed-destination (normally used |
11 | | -//! for memory-to-peripheral transfers) |
| 10 | +//! * Incrementing-source to fixed-destination (normally used for |
| 11 | +//! memory-to-peripheral transfers) |
12 | 12 | //! |
13 | 13 | //! * Fixed-source to incrementing-destination (normally used for |
14 | | -//! peripheral-to-memory transfers) |
| 14 | +//! peripheral-to-memory transfers) |
15 | 15 | //! |
16 | 16 | //! * Fixed-source to fixed-destination (normally used for |
17 | | -//! peripheral-to-peripheral transfers) |
| 17 | +//! peripheral-to-peripheral transfers) |
18 | 18 | //! |
19 | 19 | //! # Beat sizes |
20 | 20 | //! |
|
71 | 71 | //! Three trigger actions are available: |
72 | 72 | //! |
73 | 73 | //! * BLOCK: One trigger required for each block transfer. In the context of |
74 | | -//! this driver, |
75 | | -//! one Transfer is equivalent to one Block transfer. |
| 74 | +//! this driver, one Transfer is equivalent to one Block transfer. |
76 | 75 | //! |
77 | 76 | //! * BEAT: One trigger required for each beat transfer. In the context of this |
78 | | -//! driver, the beat |
79 | | -//! size will depend on the type of buffer used (8, 16 or 32 bits). |
| 77 | +//! driver, the beat size will depend on the type of buffer used (8, 16 or 32 |
| 78 | +//! bits). |
80 | 79 | //! |
81 | 80 | //! * TRANSACTION: One trigger required for a full DMA transaction. this is |
82 | | -//! useful for circular |
83 | | -//! transfers in the context of this driver. One trigger will set off the |
84 | | -//! transaction, that will now run uninterrupted until it is stopped. |
| 81 | +//! useful for circular transfers in the context of this driver. One trigger |
| 82 | +//! will set off the transaction, that will now run uninterrupted until it is |
| 83 | +//! stopped. |
85 | 84 |
|
86 | 85 | use super::{ |
87 | 86 | channel::{AnyChannel, Busy, CallbackStatus, Channel, ChannelId, InterruptFlags, Ready}, |
|
0 commit comments