[][src]Function esp_idf_sys::i2s_read_bytes

pub unsafe extern "C" fn i2s_read_bytes(
    i2s_num: i2s_port_t,
    dest: *mut c_void,
    size: usize,
    ticks_to_wait: TickType_t
) -> c_int

@brief Read data from I2S DMA receive buffer

This function is deprecated. Use 'i2s_read' instead. This definition will be removed in a future release.

@return - The amount of bytes read, if timeout, bytes read will be less than the size passed in - ESP_FAIL Parameter error