void NwpPowerOn(void) { #if CC3200_ES_1_2_1 //SPI CLK GATING HWREG(0x440250C8) = 0; //WLAN PD ON HWREG(OCP_SHARED_MAC_RESET_REG) &= ~(0xC00); //Remove NWP Reset HWREG(APPS_SOFT_RESET_REG) &= ~4; #else //bring the 1.32 eco out of reset HWREG(0x4402E16C) &= 0xFFFFFFFD; #endif //UnMask Host Interrupt //NWP Wakeup //PRCMNWPEnable(); //NWP Wakeup HWREG(0x44025118) = 1; UtilsDelay(8000000); NwpUnMaskInterrupt(); }
/*! \brief Enable the Network Processor \sa sl_DeviceDisable \note belongs to \ref ported_sec */ void NwpPowerOn(void) { #ifdef CC3200_ES_1_2_1 //SPI CLK GATING HWREG(0x440250C8) = 0; //WLAN PD ON HWREG(OCP_SHARED_MAC_RESET_REG) &= ~(0xC00); //Remove NWP Reset HWREG(APPS_SOFT_RESET_REG) &= ~4; #else //bring the 1.32 eco out of reset HWREG(0x4402E16C) &= 0xFFFFFFFD; #endif HWREG(0x44025118) = 1; #ifndef DISABLE_DEBUGGER_RECONNECT UtilsDelay(8000000); #endif //UnMask Host Interrupt NwpUnMaskInterrupt(); }
/*! \brief Enable the Network Processor \sa sl_DeviceDisable \note belongs to \ref ported_sec */ void NwpPowerOn(void) { //bring the 1.32 eco out of reset HWREG(0x4402E16C) &= 0xFFFFFFFD; //NWP Wakeup HWREG(0x44025118) = 1; #ifdef DEBUG UtilsDelay(8000000); #endif //UnMask Host Interrupt NwpUnMaskInterrupt(); }