/* param base PGMC basic power controller base address. param setPointMap Should be the OR'ed value of _pgmc_setpoint_map. param option The pointer of pgmc_bpc_setpoint_mode_option_t structure.  */
void PGMC_BPC_ControlPowerDomainBySetPointMode(PGMC_BPC_Type *base, uint32_t setPointMap, const pgmc_bpc_setpoint_mode_option_t *option)
/* param base PGMC basic power controller base address. param setPointMap Should be the OR'ed value of _pgmc_setpoint_map. param option The pointer of pgmc_bpc_setpoint_mode_option_t structure.  */
void PGMC_BPC_ControlPowerDomainBySetPointMode(PGMC_BPC_Type *base, uint32_t setPointMap, const pgmc_bpc_setpoint_mode_option_t *option)
{
    assert(option != NULL);
    setPointMap &= 0xFFFFU;
    base->BPC_MODE = PGMC_BPC_BPC_MODE_CTRL_MODE(kPGMC_ControlledBySetPoint);
    if (option->powerOff)
    {
        base->BPC_POWER_CTRL |= PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP(setPointMap);
    }
    if (option->stateSave)
    {
        base->BPC_SSAR_SAVE_CTRL = PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP(setPointMap);
    }
}