/* param base PXP peripheral base address. param config Pointer to the configuration.  */
void PXP_SetPorterDuffConfig(PXP_Type *base, const pxp_porter_duff_config_t *config)
/* param base PXP peripheral base address. param config Pointer to the configuration.  */
void PXP_SetPorterDuffConfig(PXP_Type *base, const pxp_porter_duff_config_t *config)
{
    assert(NULL != config);
    union
    {
        pxp_porter_duff_config_t pdConfigStruct;
        uint32_t u32;
    } pdConfig;
    pdConfig.pdConfigStruct = *config;
    base->PORTER_DUFF_CTRL = pdConfig.u32;
}