Merge branch 'docs/add_note_about_twai_instance_install_v5.4' into 'release/v5.4'

docs: Add a note about TWAI multiple instances install (v5.4)

See merge request espressif/esp-idf!37965
This commit is contained in:
morris
2025-04-01 10:03:02 +08:00
2 changed files with 4 additions and 0 deletions

View File

@@ -404,6 +404,8 @@ The usage of macro initializers is not mandatory and each of the configuration s
Install Multiple TWAI Instances
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Note:** You can create {IDF_TARGET_CONFIG_SOC_TWAI_CONTROLLER_NUM} functional TWAI instance(s) because the {IDF_TARGET_NAME} has {IDF_TARGET_CONFIG_SOC_TWAI_CONTROLLER_NUM} physical TWAI controller(s).
The following code snippet demonstrates how to install multiple TWAI instances via the use of the :cpp:func:`twai_driver_install_v2` function.
.. code-block:: c