lowsrc.h 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /***********************************************************************************************************************
  2. * DISCLAIMER
  3. * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
  4. * other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all
  5. * applicable laws, including copyright laws.
  6. * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
  7. * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,
  8. * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM
  9. * EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES
  10. * SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS
  11. * SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  12. * Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of
  13. * this software. By using this software, you agree to the additional terms and conditions found by accessing the
  14. * following link:
  15. * http://www.renesas.com/disclaimer
  16. *
  17. * Copyright (C) 2013 Renesas Electronics Corporation. All rights reserved.
  18. ***********************************************************************************************************************/
  19. /***********************************************************************************************************************
  20. * File Name : lowsrc.h
  21. * Description : Functions to support stream I/O
  22. ***********************************************************************************************************************/
  23. /***********************************************************************************************************************
  24. * History : DD.MM.YYYY Version Description
  25. * : 17.01.2013 1.00 First Release
  26. * : xx.xx.xxxx 1.01 Added support for GNUC and ICCRX.
  27. ***********************************************************************************************************************/
  28. /* Multiple inclusion prevention macro */
  29. #ifndef LOWSRC_H
  30. #define LOWSRC_H
  31. /***********************************************************************************************************************
  32. Includes <System Includes> , "Project Includes"
  33. ***********************************************************************************************************************/
  34. /***********************************************************************************************************************
  35. Macro definitions
  36. ***********************************************************************************************************************/
  37. /***********************************************************************************************************************
  38. Typedef definitions
  39. ***********************************************************************************************************************/
  40. /***********************************************************************************************************************
  41. Exported global variables
  42. ***********************************************************************************************************************/
  43. /***********************************************************************************************************************
  44. Exported global functions (to be accessed by other files)
  45. ***********************************************************************************************************************/
  46. #if BSP_CFG_IO_LIB_ENABLE == 1
  47. #if defined(__CCRX__)
  48. /* Initialize the stream I/O library */
  49. void _INIT_IOLIB(void);
  50. /* Clean up open files */
  51. void _CLOSEALL(void);
  52. #endif /* defined(__CCRX__) */
  53. #endif
  54. /* Output one character to standard output (the E1 Virtual Console or a serial port via user own charput function) */
  55. void charput (uint32_t output_char);
  56. /* Input one character from standard input (the E1 Virtual Console or a serial port via user own charget function) */
  57. uint32_t charget (void);
  58. /* End of multiple inclusion prevention macro */
  59. #endif