![ARTERY AT32F435 Series Скачать руководство пользователя страница 695](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592695.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 695
Rev 2.03
Bit 2
DTERRIEN
0x0
rw
Data transfer error interrupt enable
0: TE interrupt disabled
1: TE interrupt enabled
Bit 1
DMERRIEN
0x0
rw
Direct mode error interrupt enable
0: DME interrupt disabled
1: DME interrupt enabled
Bit 0
SEN
0x0
rw
Stream enable
0: Stream disabled
1: Stream enabled
This bit may be cleared by hardware under the following
conditions:
-DMA end of transfer
-If a transfer error occurs on the AHB master buses
-When the FIFO threshold on memory AHB port is not
compatible with the burst size.
Note: Before setting SEN=1 to start a new transfer, the
event flags corresponding to the stream in DMA_STS1 or
DMA_STS2 must be cleared.
29.5.6 DMA stream-x data register (DMA_SxDTCNT) (x= 1
…
8)
Access: 0 wait state, accessible by bytes, half-words or words.
Bit
Register
Reset value
Type
Description
Bit 31
: 16 Reserved
0x0000
resd
Kept at its default value.
Bit15
: 0
CNT
0x0000
rw
Number of data to be transferred 0~65535
This register can be written only when SEN=0.
This register is read-only when SEN=1, indicating the
remaining data to be transmitted. This register is
decremented after each transfer.
Typically, this register remains 0 after the completion of
data transfer. But this register may be automatically
reloaded with the previously programmed value in the
following cases:
·When the stream is configured to be loop mode
·When the stream is enabled again by setting SEN=1.
If this register is zero, no transaction can be served even
if SEN=1
29.5.7 DMA stream-x peripheral address register
(DMA_SxPADDR) (x= 1
…
8)
Access: 0 wait state, accessible by bytes, half-words or words.
Bit
Register
Reset value
Type
Description
Bit 31
: 0
PADDR
0x0000 0000 rw
Peripheral address
Base address of the peripheral address.
This field can be written only if SEN=0.