还有想问一下port->DCLR和DSET是做什么用的
gaoyang9992006:
DCLR
Data receive/transmit clear
CLR一般就是清楚命令,D一般代表数据
——————————————-出处—————————–
Data receive/transmit clear. Use this bit to clear the data receive ready (DRRDY) bit and the data transmit ready (DXRDY) bit in the MMC status register 0 (MMCST0) before a new read or write sequence. This clears any previous status. 0 Do not clear DRRDY and DXRDY bits in MMCST0. 1 Clear DRRDY and DXRDY bits in MMCST0.
www.ti.com.cn/…/sprufo6b.pdf
user5820093:
回复 gaoyang9992006:
好的谢谢啦