/* return The status flags. This is the logical OR of members of the enumeration ::pwm_status_flags_t  */
uint32_t PWM_GetStatusFlags(PWM_Type *base, pwm_submodule_t subModule)
/* return The status flags. This is the logical OR of members of the enumeration ::pwm_status_flags_t  */
uint32_t PWM_GetStatusFlags(PWM_Type *base, pwm_submodule_t subModule)
{
    uint32_t statusFlags;
    statusFlags = base->SM[subModule].STS;
    statusFlags |= (((uint32_t)base->FSTS & PWM_FSTS_FFLAG_MASK) << 16UL);
    return statusFlags;
}