Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__writeFile

In this section:
Syntax
__writeFile(fileHandle, value)
Parameters
fileHandle

A macro variable used as filehandle by the __openFile macro.

value

An integer.

Return value

int 0

For use with

All C-SPY drivers.

Description

Prints the integer value in hexadecimal format (with a trailing space) to the file file.

Note

The __fmessage statement can do the same thing. The __writeFile macro is provided for symmetry with __readFile.