1 /*
2  * Renesas SCP/MCP Software
3  * Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights
4  * reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef MOD_RCAR_MFISMH_H
10 #define MOD_RCAR_MFISMH_H
11 
12 #include <fwk_macros.h>
13 
14 #include <stdint.h>
15 
16 /*!
17  * \addtogroup GroupRCARModule RCAR Product Modules
18  * @{
19  */
20 
21 /*!
22  * \defgroup GroupRCARMHU Message Handling Unit (MHU) Driver
23  * @{
24  */
25 
26 /*!
27  * \brief MFISMB device
28  *
29  * \details Abstract representation of a bidirectional
30  *      MFISMB device that consists
31  *      of a single receive interrupt line and a pair of register sets, one for
32  *      each direction of communication.
33  */
34 struct mod_rcar_mfismh_device_config {
35     /*! IRQ number of the receive interrupt line */
36     unsigned int irq;
37 
38     /*! Base address of the registers of the incoming MFISMHU */
39     uintptr_t in;
40 
41     /*! Base address of the registers of the outgoing MFISMHU */
42     uintptr_t out;
43 };
44 
45 /*!
46  * @}
47  */
48 
49 /*!
50  * @}
51  */
52 
53 #endif /* MOD_RCAR_MFISMH_H */
54