Difference between revisions of "STM32F107VC/Implementing Standard low-level C-functions"

From Teknologisk videncenter
Jump to: navigation, search
m (Created page with "To use standard C-functions as printf(), fprintf(), scanf() and fscanf() in Category:C or the std::out object in Category:C++ Target dependent Low-Lev...")
 
m (Links)
Line 13: Line 13:
 
=Links=
 
=Links=
 
*[http://www.keil.com/support/man/docs/armlib/armlib_Chdheidg.htm Keil Target dependent low-level functions]]
 
*[http://www.keil.com/support/man/docs/armlib/armlib_Chdheidg.htm Keil Target dependent low-level functions]]
 +
*[http://www.keil.com/support/man/docs/armlib/armlib_CJAIABCF.htm Keil Redefining library functions]
 
[[Category:STM32F107VC]][[Category:ARM]][[Category:C]][[Category:C++]]
 
[[Category:STM32F107VC]][[Category:ARM]][[Category:C]][[Category:C++]]

Revision as of 06:43, 25 September 2011

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