bsp.h 692 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * File : bsp.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2009, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-04-09 fify the first version
  13. *
  14. * For : Renesas M16C
  15. * Toolchain : IAR's EW for M16C v3.401
  16. */
  17. #ifndef __BSP_H__
  18. #define __BSP_H__
  19. #include <rtthread.h>
  20. #define CPU_CLK_FREQ 14000000 /* CPU frequency, in Hz*/
  21. void system_init(void);
  22. void led_on(void);
  23. void led_off(void);
  24. #endif