application code to suspend/off the mpu in connect core 6ul sbc pro using MCA

hi all,

I am working on Connect core 6ul sbc pro and wanted to know how to instruct MCA to suspend/off command to mpu. This can be done through hardware through a user button at PWR_ON. But i want to do it through software (in scenarios where i want to put the system into low power modes). Is there any application code/defined functions to implement this in eclipse?

Thanks in advance

We do not have a C APIs to do suspend, but we do have a shell script /bin/suspend or /bin/standby that is used to suspend system from software.
You can use system( ) call in C to call this script when need to suspend.