/* param base FlexCAN peripheral base address. param maskIdx The Index of individual Mask. param mask Rx Individual Mask value.  */
void FLEXCAN_SetRxIndividualMask(CAN_Type *base, uint8_t maskIdx, uint32_t mask)
/* param base FlexCAN peripheral base address. param maskIdx The Index of individual Mask. param mask Rx Individual Mask value.  */
void FLEXCAN_SetRxIndividualMask(CAN_Type *base, uint8_t maskIdx, uint32_t mask)
{
    assert(maskIdx <= (base->MCR & CAN_MCR_MAXMB_MASK));
    FLEXCAN_EnterFreezeMode(base);
    base->RXIMR[maskIdx] = mask;
    FLEXCAN_ExitFreezeMode(base);
}