29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ethernet (ETH): media access control (MAC) with DMA controller<br />

RM0008<br />

ETH_DMASR register[16:0] clears them <strong>and</strong> writing 0 has no effect. Each field (bits [16:0])<br />

can be masked by masking the appropriate bit in the ETH_DMAIER register.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

TSTS<br />

PMTS<br />

MMCS<br />

Reserved<br />

EBS<br />

TPS<br />

RPS<br />

r r r r r r r r r r r r<br />

NIS<br />

AIS<br />

ERS<br />

FBES<br />

Reserved<br />

ETS<br />

RWTS<br />

RPSS<br />

RBUS<br />

RS<br />

TUS<br />

ROS<br />

TJTS<br />

TBUS<br />

TPSS<br />

TS<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

rcw1<br />

Bits 31:30 Reserved<br />

Bit 29 TSTS: Time stamp trigger status<br />

This bit indicates an interrupt event in the MAC core's Time stamp generator block. The<br />

software must read the MAC core’s status register, clearing its source (bit 9), to reset this bit to<br />

0. When this bit is high an interrupt is generated if enabled.<br />

Bit 28 PMTS: PMT status<br />

This bit indicates an event in the MAC core’s PMT. The software must read the corresponding<br />

registers in the MAC core to get the exact cause of interrupt <strong>and</strong> clear its source to reset this bit<br />

to 0. The interrupt is generated when this bit is high if enabled.<br />

Bit 27 MMCS: MMC status<br />

This bit reflects an event in the MMC of the MAC core. The software must read the<br />

corresponding registers in the MAC core to get the exact cause of interrupt <strong>and</strong> clear the<br />

source of interrupt to make this bit as 0. The interrupt is generated when this bit is high if<br />

enabled.<br />

Bit 26 Reserved<br />

Bits 25:23 EBS: Error bits status<br />

These bits indicate the type of error that caused a bus error (error response on the AHB<br />

interface). Valid only with the fatal bus error bit (ETH_DMASR register [13]) set. This field does<br />

not generate an interrupt.<br />

Bit 23 1 Error during data transfer by TxDMA<br />

0 Error during data transfer by RxDMA<br />

Bit 24 1 Error during read transfer<br />

0 Error during write transfer<br />

Bit 25 1 Error during descriptor access<br />

0 Error during data buffer access<br />

Bits 22:20 TPS: Transmit process state<br />

These bits indicate the Transmit DMA FSM state. This field does not generate an interrupt.<br />

000: Stopped; Reset or Stop Transmit Comm<strong>and</strong> issued<br />

001: Running; Fetching transmit transfer descriptor<br />

010: Running; Waiting for status<br />

011: Running; Reading Data from host memory buffer <strong>and</strong> queuing it to transmit buffer (Tx<br />

FIFO)<br />

100, 101: Reserved for future use<br />

110: Suspended; Transmit descriptor unavailable or transmit buffer underflow<br />

111: Running; Closing transmit descriptor<br />

936/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!