STM32F107VC/Implementing Standard low-level C-functions

From Teknologisk videncenter
Jump to: navigation, search

To use standard C-functions as printf(), fprintf(), scanf() and fscanf() in or the std::out object in Target dependent Low-Level functins must be implemented.

  • __FILE, the file structure.
  • __stdin, the standard input object of type __FILE.
  • __stdout, the standard output object of type __FILE.
  • fputc(), outputs a character to a file.
  • ferror(), returns the error status accumulated during file I/O.
  • fgetc(), gets a character from a file.
  • fgetwc()
  • fputwc()
  • __backspace(), moves the file pointer to the previous character.
  • __backspacewc().

Links