summaryrefslogtreecommitdiffstats
path: root/c-user/config/device-driver.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-09 16:31:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-10-04 10:26:38 +0200
commit0fc5c0336d0cd07b3f6c298381fc97dbee9705b0 (patch)
treec78c6a02674cda72d794dbfdfad013a616417f90 /c-user/config/device-driver.rst
parenteng: Add memory benachmark type refinement (diff)
downloadrtems-docs-0fc5c0336d0cd07b3f6c298381fc97dbee9705b0.tar.bz2
c-user: Add application config info directives
Close #4267. Close #4269.
Diffstat (limited to 'c-user/config/device-driver.rst')
-rw-r--r--c-user/config/device-driver.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/c-user/config/device-driver.rst b/c-user/config/device-driver.rst
index 87ed27a..971bb9e 100644
--- a/c-user/config/device-driver.rst
+++ b/c-user/config/device-driver.rst
@@ -237,7 +237,7 @@ The Console Driver is responsible for providing the :file:`/dev/console`
device file. This device is used to initialize the standard input, output,
and error file descriptors.
-BSPs should be constructed in a manner that allows :c:func:`printk` to work
+BSPs should be constructed in a manner that allows :ref:`InterfacePrintk` to work
properly without the need for the Console Driver to be configured.
The
@@ -439,9 +439,9 @@ This device driver is responsible for providing the :file:`/dev/console`
device file. This device is used to initialize the standard input, output,
and error file descriptors.
-This device driver reads via :c:func:`getchark`.
+This device driver reads via :ref:`InterfaceGetchark`.
-This device driver writes via :c:func:`rtems_putc`.
+This device driver writes via :ref:`InterfaceRtemsPutc`.
The Termios framework is not used. There is no support to change device
settings, e.g. baud, stop bits, parity, etc.
@@ -493,14 +493,14 @@ This device driver is responsible for providing the :file:`/dev/console`
device file. This device is used to initialize the standard input, output,
and error file descriptors.
-This device driver reads via :c:func:`getchark`.
+This device driver reads via :ref:`InterfaceGetchark`.
This device driver writes into a write buffer. The count of characters
written into the write buffer is returned. It might be less than the
requested count, in case the write buffer is full. The write is
non-blocking and may be called from interrupt context. A dedicated task
reads from the write buffer and outputs the characters via
-:c:func:`rtems_putc`. This task runs with the least important priority.
+:ref:`InterfaceRtemsPutc`. This task runs with the least important priority.
The write buffer size is 2047 characters and it is not configurable.
Use ``fsync( STDOUT_FILENO )`` or ``fdatasync( STDOUT_FILENO )`` to drain the