/* param base FlexCAN peripheral base address. param mask Rx Message Buffer Global Mask value.  */
void FLEXCAN_SetRxMbGlobalMask(CAN_Type *base, uint32_t mask)
/* param base FlexCAN peripheral base address. param mask Rx Message Buffer Global Mask value.  */
void FLEXCAN_SetRxMbGlobalMask(CAN_Type *base, uint32_t mask)
{
    FLEXCAN_EnterFreezeMode(base);
    base->RXMGMASK = mask;
    base->RX14MASK = mask;
    base->RX15MASK = mask;
    FLEXCAN_ExitFreezeMode(base);
}