PLOC MPSoC dir content report #634
@ -160,6 +160,7 @@ void PlocMPSoCHandler::doStartUp() {
|
|||||||
powerState = PowerState::BOOTING;
|
powerState = PowerState::BOOTING;
|
||||||
break;
|
break;
|
||||||
case PowerState::ON:
|
case PowerState::ON:
|
||||||
|
hkReport.setReportingEnabled(true);
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
uartIsolatorSwitch.pullHigh();
|
uartIsolatorSwitch.pullHigh();
|
||||||
break;
|
break;
|
||||||
@ -168,11 +169,13 @@ void PlocMPSoCHandler::doStartUp() {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
powerState = PowerState::ON;
|
powerState = PowerState::ON;
|
||||||
|
hkReport.setReportingEnabled(true);
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
uartIsolatorSwitch.pullHigh();
|
uartIsolatorSwitch.pullHigh();
|
||||||
#endif /* not MSPOC_JTAG_BOOT == 1 */
|
#endif /* not MSPOC_JTAG_BOOT == 1 */
|
||||||
#else
|
#else
|
||||||
powerState = PowerState::ON;
|
powerState = PowerState::ON;
|
||||||
|
hkReport.setReportingEnabled(true);
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
#endif /* XIPHOS_Q7S */
|
#endif /* XIPHOS_Q7S */
|
||||||
}
|
}
|
||||||
@ -188,6 +191,7 @@ void PlocMPSoCHandler::doShutDown() {
|
|||||||
break;
|
break;
|
||||||
case PowerState::OFF:
|
case PowerState::OFF:
|
||||||
sequenceCount = 0;
|
sequenceCount = 0;
|
||||||
|
hkReport.setReportingEnabled(false);
|
||||||
setMode(_MODE_POWER_DOWN);
|
setMode(_MODE_POWER_DOWN);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -196,6 +200,7 @@ void PlocMPSoCHandler::doShutDown() {
|
|||||||
#else
|
#else
|
||||||
sequenceCount = 0;
|
sequenceCount = 0;
|
||||||
uartIsolatorSwitch.pullLow();
|
uartIsolatorSwitch.pullLow();
|
||||||
|
hkReport.setReportingEnabled(false);
|
||||||
setMode(_MODE_POWER_DOWN);
|
setMode(_MODE_POWER_DOWN);
|
||||||
powerState = PowerState::OFF;
|
powerState = PowerState::OFF;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user