#include <net_config.h>
BOOL com_putchar (
U8 c ); /* The character to write to the output buffer. */
Description
The com_putchar function writes the character specified by
the argument c to the serial output buffer and activates the
serial transmission if it is not already active.
The com_putchar function is part of RL-TCPnet. The
prototype is defined in net_config.h.
note
The serial driver functions must not use waiting loops because
loops block the TCPnet system.
You must provide the com_putchar function if the serial
controller you use is different from the ones provided in the
TCPnet source.
Return Value
The com_putchar function returns __TRUE if it successfully
wrote the character into the output buffer. Otherwise, for example if
the buffer is full, it returns __FALSE.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.