ads编译通过,网上的ResetNic()代码如下 void ResetNic(void) { unsigned char temp; EN_CR = ENCR_PAGE0 + ENCR_NODMA + ENCR_START; Delay(100); rPCONC |= 0x10000000; #if NE_WORDMODE rPDATC |= 0x4000; #else rPDATC &= 0xbfff; #endif Delay(500); temp = EN_RESET; EN_RESET = temp; Delay(500); rPDATC &= 0xbfff; rPCONC &= 0xcfffffff; EN_CR = ENCR_PAGE0 + ENCR_NODMA + ENCR_STOP; Delay(100); if(EN_ISR & ENISR_RESET) { Uart_Printf("
NIC Reset OK!
"); } else { Uart_Printf("
NIC Reset Failed!
"); return; } …… } 硬件连接:RTL8019使用中断3,基址0x600_0300,44b0的DATA0-DATA15与RTL8019的SD0-SD15相连,而PCONC是DATA16-DATA31, 我的问题是rPCONC |= 0x10000000;是什么意思? |