diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 8876372c..ee3bc85f 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -198,7 +198,7 @@ #endif /** - * @brief Number of bits per channel for I2S/TDM. Supported values: 16/24/32-bit. + * @brief Number of bits per channel for I2S/TDM. Supported values: 16/32-bit. * * Default: 32 bits */ @@ -206,8 +206,8 @@ #define XUA_I2S_N_BITS (32) #endif -#if (XUA_I2S_N_BITS != 16) && (XUA_I2S_N_BITS != 24) && (XUA_I2S_N_BITS != 32) -#error Unsupported value for XUA_I2S_N_BITS (only values 16/24/32 supported) +#if (XUA_I2S_N_BITS != 16) && (XUA_I2S_N_BITS != 32) +#error Unsupported value for XUA_I2S_N_BITS (only values 16/32 supported) #endif /** diff --git a/lib_xua/doc/rst/opt_i2s.rst b/lib_xua/doc/rst/opt_i2s.rst index 7547f419..005030b0 100644 --- a/lib_xua/doc/rst/opt_i2s.rst +++ b/lib_xua/doc/rst/opt_i2s.rst @@ -29,7 +29,7 @@ The defines in :ref:`opt_i2s_defines` effect the I2S implementation. - Sets if xCORE is I2S master or slave - ``0`` (xCORE is master) * - ``XUA_I2S_N_BITS`` - - I2S/TDM word length (16, 24 or 32bit supported) + - I2S/TDM word length (16, 32-bit supported) - ``32`` The I2S code expects that the ports required for I2S (master clock, LR-clock, bit-clock and data lines) are be defined in the application XN file in the relevant `Tile``. diff --git a/lib_xua/doc/rst/overview.rst b/lib_xua/doc/rst/overview.rst index d014a45d..be8a2d27 100644 --- a/lib_xua/doc/rst/overview.rst +++ b/lib_xua/doc/rst/overview.rst @@ -25,7 +25,7 @@ Overview | +---------------------------------------------------------------------------------------------+ | | `USB Midi Device Class 1.0 `_ | +---------------------------------+---------------------------------------------------------------------------------------------+ - | Audio | I2S/TDM (16/24/32-bit) | + | Audio | I2S/TDM (16/32-bit) | | +---------------------------------------------------------------------------------------------+ | | S/PDIF | | +---------------------------------------------------------------------------------------------+