dynamically enable/disable MPSoC
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
parent
329027f9f8
commit
254ce78414
@ -160,6 +160,7 @@ void PlocMPSoCHandler::doStartUp() {
|
||||
powerState = PowerState::BOOTING;
|
||||
break;
|
||||
case PowerState::ON:
|
||||
hkReport.setReportingEnabled(true);
|
||||
setMode(_MODE_TO_ON);
|
||||
uartIsolatorSwitch.pullHigh();
|
||||
break;
|
||||
@ -168,11 +169,13 @@ void PlocMPSoCHandler::doStartUp() {
|
||||
}
|
||||
#else
|
||||
powerState = PowerState::ON;
|
||||
hkReport.setReportingEnabled(true);
|
||||
setMode(_MODE_TO_ON);
|
||||
uartIsolatorSwitch.pullHigh();
|
||||
#endif /* not MSPOC_JTAG_BOOT == 1 */
|
||||
#else
|
||||
powerState = PowerState::ON;
|
||||
hkReport.setReportingEnabled(true);
|
||||
setMode(_MODE_TO_ON);
|
||||
#endif /* XIPHOS_Q7S */
|
||||
}
|
||||
@ -188,6 +191,7 @@ void PlocMPSoCHandler::doShutDown() {
|
||||
break;
|
||||
case PowerState::OFF:
|
||||
sequenceCount = 0;
|
||||
hkReport.setReportingEnabled(false);
|
||||
setMode(_MODE_POWER_DOWN);
|
||||
break;
|
||||
default:
|
||||
@ -196,6 +200,7 @@ void PlocMPSoCHandler::doShutDown() {
|
||||
#else
|
||||
sequenceCount = 0;
|
||||
uartIsolatorSwitch.pullLow();
|
||||
hkReport.setReportingEnabled(false);
|
||||
setMode(_MODE_POWER_DOWN);
|
||||
powerState = PowerState::OFF;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user