/* Returns transmit event start address in message RAM */
struct fdcan_tx_event_element* fdcan_get_txevt_addr(uint32_t canport)
/* Returns transmit event start address in message RAM */
struct fdcan_tx_event_element* fdcan_get_txevt_addr(uint32_t canport)
{
	struct fdcan_tx_event_element *rxfifo = (struct fdcan_tx_event_element *)
		(CAN_MSG_BASE + FDCAN_TXEVT_OFFSET(canport));
	return rxfifo;
}