board.h 657 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006, RT-Thread Develop 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://openlab.rt-thread.com/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2009-02-16 Bernard add board.h to this bsp
  13. */
  14. #ifndef __BOARD_H__
  15. #define __BOARD_H__
  16. #include <rtthread.h>
  17. #define CCLK 60000000 /* Fosc = 12MHz, M = 5 */
  18. #define PCLK 15000000 /* CCLK/4, use default */
  19. void rt_hw_board_init(void);
  20. #ifdef RT_USING_FINSH
  21. void rt_hw_finsh_init(void);
  22. #endif
  23. #endif