English
Language : 

CC78K0S Datasheet, PDF (207/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
4-7 getchar
I/O Functions
FUNCTION
getchar reads a character from SFR
HEADER
stdio.h
FUNCTION PROTOTYPE
int getchar(void);
Function
getchar
None
Arguments
Return Value
A character read from SFR
EXPLANATION
• Returns the value read from SFR symbol P0 (port 0).
• Error check related to reading is not performed.
• To change SFR to read, it is necessary either that the source be changed to be re-registered to the library or
that the user create a new getchar function.
User’s Manual U14872EJ1V0UM
207