Keil Logo

_ttywrch()

4.51 _ttywrch()

Defined in rt_sys.h, the _ttywrch() function writes a character to the console.

The console might have been redirected. You can use this function as a last resort error handling routine.

Syntax

void _ttywrch(int ch);

Usage

The default implementation of this function uses semihosting.
You can redefine this function, or __raise(), even if there is no other input/output. For example, it might write an error message to a log kept in nonvolatile memory.
Related information
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.