Searched refs:aim_bits (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/driver/deprecated/driver/ |
D | i2s.h | 186 …s_port_t i2s_num, const void *src, size_t size, size_t src_bits, size_t aim_bits, size_t *bytes_wr…
|
/hal_espressif-latest/components/driver/deprecated/ |
D | i2s_legacy.c | 1666 …s_port_t i2s_num, const void *src, size_t size, size_t src_bits, size_t aim_bits, size_t *bytes_wr… in i2s_write_expand() argument 1677 …ESP_RETURN_ON_FALSE((aim_bits >= src_bits), ESP_ERR_INVALID_ARG, TAG, "aim_bits mustn't be less th… in i2s_write_expand() 1679 if (src_bits < I2S_BITS_PER_SAMPLE_8BIT || aim_bits < I2S_BITS_PER_SAMPLE_8BIT) { in i2s_write_expand() 1680 ESP_LOGE(TAG, "bits mustn't be less than 8, src_bits %d aim_bits %d", src_bits, aim_bits); in i2s_write_expand() 1683 if (src_bits > I2S_BITS_PER_SAMPLE_32BIT || aim_bits > I2S_BITS_PER_SAMPLE_32BIT) { in i2s_write_expand() 1684 … ESP_LOGE(TAG, "bits mustn't be greater than 32, src_bits %d aim_bits %d", src_bits, aim_bits); in i2s_write_expand() 1697 aim_bytes = aim_bits / 8; in i2s_write_expand()
|