27.1.3.1 i2s_c_sync_init
Initialize the I2S Controller.
int32_t i2s_c_sync_init(
struct i2s_c_sync_desc * i2s,
const void * hw,
const enum i2s_c_iface iface
)
Parameters
- i2s
-
Type: struct i2s_c_sync_desc Struct *
Pointer to the I2S Controller instance.
- hw
-
Type: const void *
Pointer to the hardware base.
- iface
-
Type: const enum i2s_c_iface Enum
The I2S interface used.
Returns
Type: int32_t
Operation status.
- 0
-
Success.
- <0
-
Error.