27.1.3.6 i2s_c_sync_set_sck_div
Set the SCK division from MCK.
int32_t i2s_c_sync_set_sck_div(
struct i2s_c_sync_desc * i2s,
const uint32_t n_mck
)
Note that it works only when the I2S Controller is disabled.
Parameters
- i2s
-
Type: struct i2s_c_sync_desc Struct *
Pointer to the I2S Controller instance.
- n_mck
-
Type: const uint32_t
Describes how many MCK bits generates a SCK clock.
Returns
Type: int32_t
Operation status.
- 0
-
Success.
- <0
-
Error.