/* param base MCAN peripheral base address. param config The receive buffer configuration structure.  */
void MCAN_SetRxBufferConfig(CAN_Type *base, const mcan_rx_buffer_config_t *config)
/* param base MCAN peripheral base address. param config The receive buffer configuration structure.  */
void MCAN_SetRxBufferConfig(CAN_Type *base, const mcan_rx_buffer_config_t *config)
{
    base->RXBC |= CAN_RXBC_RBSA(config->address >> CAN_RXBC_RBSA_SHIFT);
    base->RXESC |= CAN_RXESC_RBDS(config->datafieldSize);
}