Skip to content

Commit ada73f3

Browse files
khoatranyjKhiemNguyenT
authored andcommitted
portable: rp_ssi: add runtime reconfigure for SSIE
Add runtime configure for SSIE driver Signed-off-by: Khoa Tran <[email protected]>
1 parent dd66061 commit ada73f3

File tree

3 files changed

+500
-0
lines changed

3 files changed

+500
-0
lines changed

zephyr/ra/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ zephyr_library_sources_ifdef(CONFIG_USE_RA_FSP_AGT
1010
portable/src/rp_agt/rp_agt.c)
1111
zephyr_library_sources_ifdef(CONFIG_USE_RA_FSP_CRC
1212
portable/src/rp_crc/rp_crc.c)
13+
zephyr_library_sources_ifdef(CONFIG_USE_RA_FSP_SSI
14+
portable/src/rp_ssi/rp_ssi.c)

zephyr/ra/portable/inc/rp_ssi.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
* Copyright (c) 2020 - 2025 Renesas Electronics Corporation and/or its affiliates
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*/
6+
7+
/*******************************************************************************************************************//**
8+
* @addtogroup SSI
9+
* @{
10+
**********************************************************************************************************************/
11+
12+
#ifndef RP_SSI_H
13+
#define RP_SSI_H
14+
15+
/***********************************************************************************************************************
16+
* Includes
17+
**********************************************************************************************************************/
18+
#include "r_i2s_api.h"
19+
20+
/* Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file. */
21+
FSP_HEADER
22+
23+
/***********************************************************************************************************************
24+
* Macro definitions
25+
**********************************************************************************************************************/
26+
27+
/***********************************************************************************************************************
28+
* Typedef definitions
29+
**********************************************************************************************************************/
30+
31+
/**********************************************************************************************************************
32+
* Exported global variables
33+
**********************************************************************************************************************/
34+
35+
/**********************************************************************************************************************
36+
* Function Prototypes
37+
**********************************************************************************************************************/
38+
39+
fsp_err_t RP_SSI_Open (i2s_ctrl_t * const p_ctrl, i2s_cfg_t const * const p_cfg);
40+
fsp_err_t RP_SSI_Close (i2s_ctrl_t * const p_ctrl);
41+
fsp_err_t RP_SSI_Reconfigure(i2s_ctrl_t * const p_ctrl, i2s_cfg_t const * const p_cfg);
42+
43+
44+
/* Common macro for FSP header files. There is also a corresponding FSP_HEADER macro at the top of this file. */
45+
FSP_FOOTER
46+
47+
#endif // RP_SSI_H
48+
49+
/*******************************************************************************************************************//**
50+
* @} (end defgroup SSI)
51+
**********************************************************************************************************************/

0 commit comments

Comments
 (0)