This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCIe设置PCIEMODE时的DEVSTAT寄存器



看手册时有提及,关于PCIEMODE可以通过改变拨码开关的SW6来确定是RC模式还是EP模式,或者更改DEVSTAT寄存器的PCIEMODE[1:0]来设定,在PCIE手册上没有找到关于DEVSTAT寄存器的相关说明,想请教下这两种方式是什么关系?比如手动设置SW6后还需要设置DEVSTAT寄存器吗?不明白为什么对模式的设定会有两种方法,修改DEVSTAT寄存器可以更改SW6对模式的设定吗?不一样的话以谁为准啊?刚学PCIE没多久,还是个小白,希望专家们能给予指点,感激不尽!