pub struct Dma(pub *mut u8);
Expand description
DMA with separate read and write masters
Tuple Fields§
§0: *mut u8
Implementations§
Source§impl Dma
impl Dma
pub fn ch(self, n: usize) -> Channel
Sourcepub fn timer(self, n: usize) -> Reg<Timer, RW>
pub fn timer(self, n: usize) -> Reg<Timer, RW>
Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less.
Sourcepub fn multi_chan_trigger(self) -> Reg<MultiChanTrigger, RW>
pub fn multi_chan_trigger(self) -> Reg<MultiChanTrigger, RW>
Trigger one or more channels simultaneously
Sourcepub fn sniff_ctrl(self) -> Reg<SniffCtrl, RW>
pub fn sniff_ctrl(self) -> Reg<SniffCtrl, RW>
Sniffer Control
Sourcepub fn sniff_data(self) -> Reg<u32, RW>
pub fn sniff_data(self) -> Reg<u32, RW>
Data accumulator for sniff hardware Write an initial seed value here before starting a DMA transfer on the channel indicated by SNIFF_CTRL_DMACH. The hardware will update this register each time it observes a read from the indicated channel. Once the channel completes, the final result can be read from this register.
Sourcepub fn fifo_levels(self) -> Reg<FifoLevels, RW>
pub fn fifo_levels(self) -> Reg<FifoLevels, RW>
Debug RAF, WAF, TDF levels
Sourcepub fn chan_abort(self) -> Reg<ChanAbort, RW>
pub fn chan_abort(self) -> Reg<ChanAbort, RW>
Abort an in-progress transfer sequence on one or more channels
Sourcepub fn n_channels(self) -> Reg<Nchannels, RW>
pub fn n_channels(self) -> Reg<Nchannels, RW>
The number of channels this DMA instance is equipped with. This DMA supports up to 16 hardware channels, but can be configured with as few as one, to minimise silicon area.