mFrame
載入中...
搜尋中...
無符合項目
Multi-Component

System:

// Configure LPR for complex system with multiple power domains
void setup_system_power_coordination() {
LowPowerRequestConfig system_config;
// Enable LPR for system-wide power coordination
system_config.enable = true;
// Configure polarity based on external power management requirements
if (external_pmic_expects_active_low()) {
system_config.polarity = LowPowerRequestPinPolarity::ACTIVE_LOW;
} else {
system_config.polarity = LowPowerRequestPinPolarity::ACTIVE_HIGH;
}
// Use automatic control for normal operation
system_config.override = LowPowerRequestOutputOverride::AUTO;
spc_configure_low_power_request(&system_config);
}