![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 605](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630605.webp)
www.geehy.com Page 604
Field
Name
R/W
Description
source to clear this bit to 0. When this bit is high, an interrupt will
be generated after it is enabled.
28
PMTFLG
R
PMT Flag
This bit indicates an interrupt event in the PMT module of MAC.
The software must read the PMT control and state register in the
MAC to obtain the exact cause of the interrupt and clear its source
to clear this bit to 0. When this bit is high, an interrupt will be
generated after it is enabled.
29
TSTFLG
R
Timestamp Trigger Flag
This bit indicates an interrupt event in the timestamp generator
block of the MAC. The software must read the corresponding
register in the MAC to obtain the exact cause of the interrupt, and
clear its source to clear the bit to 0. When this bit is high, an
interrupt will be generated after it is enabled.
31:30
Reserved
Operation mode register (ETH_DMAOPMOD)
Offset address: 0x1018
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
Reserved
1
STRX
R/W
Start or Stop Receive
When this bit is set, the receiving process will be in running state. DMA
attempts to obtain the descriptor from the receive list and process the
incoming frames. Try to obtain the descriptor from the current location
in the list, and this location is the address set by the
ETH_DMARXDLADDR register, or the location reserved when
stopping before the receiving process. If DMA does not own this
descriptor, receive will be suspended and ETH_DMASTS[7][ will be
set. The "Start receiving" command is valid only after receiving stops. If
the command is issued before the ETH_DMARXDLADDR register is
set, DMA behavior is unpredictable.
When this bit is cleared, Rx DMA operation will stop after transmission
of the current frame. The location of next descriptor in the receive list
will be saved and become the current location after restarting the
receiving process. The stop receiving command is valid only when the
receiving process is in "running" or "suspended" state.
2
OSECF
R/W
Operate on Second Frame
When this bit is set, it indicates that DMA is processing the second
frame of transmitted data, even before obtaining the state of the first
frame.
4:3
RXTHCTRL R/W
Receive Threshold Control
These two bits control the threshold level of the receive FIFO. When
transmitting to the DMA starts, the frame size of receive FIFO is
greater than the threshold. In addition, the complete frame with the
length less than the threshold will be transmitted automatically.
When the configured “receive FIFO size” is 128 bytes, 11 will not be
used. These bits are valid only when the RXSF bit is 0 and will be
ignored when the RXSF bit is 1