I2s comm fmt (#4250)

Co-authored-by: PxPert <pxpert@pxpert.cloud>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Pietro 2024-09-19 06:16:43 +02:00 committed by GitHub
parent 10996e384d
commit e72c0f1b79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,18 @@ Configuration variables:
- **use_apll** (*Optional*, boolean): I2S using APLL as main I2S clock, enable it to get accurate clock. Defaults to ``false``. - **use_apll** (*Optional*, boolean): I2S using APLL as main I2S clock, enable it to get accurate clock. Defaults to ``false``.
- **i2s_mode** (*Optional*, enum): The I²S mode to use. One of ``primary`` (clock driven by the host) or ``secondary`` (clock driven by the attached device). Defaults to ``primary``. - **i2s_mode** (*Optional*, enum): The I²S mode to use. One of ``primary`` (clock driven by the host) or ``secondary`` (clock driven by the attached device). Defaults to ``primary``.
- **i2s_audio_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`I²S Audio <i2s_audio>` you wish to use for this speaker. - **i2s_audio_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`I²S Audio <i2s_audio>` you wish to use for this speaker.
- **i2s_comm_fmt** (*Optional*, enum): The I²S communication standard format used by this speaker.
- ``stand_i2s`` (Default)
- ``stand_msb``
- ``stand_pcm_short``
- ``stand_pcm_long``
- ``stand_max``
- ``i2s_msb``
- ``i2s_lsb``
- ``pcm``
- ``pcm_short``
- ``pcm_long``
- **timeout** (*Optional*, :ref:`config-time`): How long to wait after finishing playback before releasing the bus. Defaults to ``100ms``. - **timeout** (*Optional*, :ref:`config-time`): How long to wait after finishing playback before releasing the bus. Defaults to ``100ms``.
External DAC External DAC