English
Language : 

CC78K4 Datasheet, PDF (192/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
4-9 putchar
I/O Functions
FUNCTION
putchar outputs a character to SFR.
HEADER
stdio.h
FUNCTION PROTOTYPE
int putchar (int c);
Function
putchar
Arguments
c ... Character to be output
Return Value
character to have been output
EXPLANATION
• Writes the character specified by c to the SFR symbol P0 (port 0) (converted to unsigned char type).
• An error check related to writing is not performed.
• To change the SFR to be written, it is necessary to either change the source and re-register to the library or
user create a new putchar function.
192
User’s Manual U15556EJ1V0UM