Hello,
I'm trying to minimize the power consumption between the interrupts of a system so I opted to use flexi mode. so I've written two functions using the DFP APIs.
Could you confirm or optimize this methodologies
Regards
#include <adi_pwr.h>
void Host_EnterFlexi(void)
{
bFlexiExitFlag = 0;
/* automatically exit flexi mode */
adi_pwr_EnterLowPowerMode(ADI_PWR_MODE_FLEXI, NULL, 0);
}
void Host_ExitFlexi(void)
{
bFlexiExitFlag = 1;
adi_pwr_ExitLowPowerMode(&bFlexiExitFlag);
}