doc: dts: touch up api
Just a few minor things from a periodic review. Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
c35d83f95d
commit
7812bedb09
1 changed files with 6 additions and 5 deletions
11
doc/build/dts/api/api.rst
vendored
11
doc/build/dts/api/api.rst
vendored
|
@ -3,14 +3,15 @@
|
||||||
Devicetree API
|
Devicetree API
|
||||||
##############
|
##############
|
||||||
|
|
||||||
This is a reference page for the ``<devicetree.h>`` API. The API is macro
|
This is a reference page for the ``<zephyr/devicetree.h>`` API. The API is macro
|
||||||
based. Use of these macros has no impact on scheduling. They can be used from
|
based. Use of these macros has no impact on scheduling. They can be used from
|
||||||
any calling context and at file scope.
|
any calling context and at file scope.
|
||||||
|
|
||||||
Some of these require a special macro named ``DT_DRV_COMPAT`` to be defined
|
Some of these -- the ones beginning with ``DT_INST_`` -- require a special
|
||||||
before they can be used; these are discussed individually below. These macros
|
macro named ``DT_DRV_COMPAT`` to be defined before they can be used; these are
|
||||||
are generally meant for use within :ref:`device drivers <device_model_api>`,
|
discussed individually below. These macros are generally meant for use within
|
||||||
though they can be used outside of drivers with appropriate care.
|
:ref:`device drivers <device_model_api>`, though they can be used outside of
|
||||||
|
drivers with appropriate care.
|
||||||
|
|
||||||
.. contents:: Contents
|
.. contents:: Contents
|
||||||
:local:
|
:local:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue