]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/mcu_info.h
bf33ebcde4917b78781d4b95217d54204ce657a6
[freertos] / FreeRTOS / Demo / RX600_RX63N-RSK_Renesas / RTOSDemo / Renesas-Files / board / rskrx63n / mcu_info.h
1 /***********************************************************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
4 * other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
5 * applicable laws, including copyright laws. \r
6 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
7 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
8 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
9 * EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
10 * SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
11 * SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
12 * Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
13 * this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
14 * following link:\r
15 * http://www.renesas.com/disclaimer \r
16 *\r
17 * Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
18 ***********************************************************************************************************************/\r
19 /***********************************************************************************************************************\r
20 * File Name        : mcu_info.h\r
21 * Device(s)    : RX\r
22 * H/W Platform : RSK+RX63N\r
23 * Description  : Information about the MCU on this board.\r
24 ***********************************************************************************************************************/\r
25 /***********************************************************************************************************************\r
26 * History : DD.MM.YYYY Version  Description\r
27 *         : 28.11.2011 1.00     First Release\r
28 *         : 13.03.2012 1.10     System clock speeds are now calculated from macros in r_bsp_config.h. \r
29 ***********************************************************************************************************************/\r
30 \r
31 #ifndef _MCU_INFO\r
32 #define _MCU_INFO\r
33 \r
34 /* MCU that is used. */\r
35 #define MCU_RX63N           (1)\r
36 \r
37 /* Package. */\r
38 #define PACKAGE_LQFP176     (1)\r
39 \r
40 /* Memory size of your MCU. */\r
41 #define ROM_SIZE_BYTES      (1048576)\r
42 #define RAM_SIZE_BYTES      (131072)\r
43 #define DF_SIZE_BYTES       (32768)\r
44 \r
45 /* System clock speed in Hz. */\r
46 #define ICLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / ICK_DIV)\r
47 /* Peripheral Module Clock A speed in Hz. Used for ETHERC and EDMAC. */\r
48 #define PCLKA_HZ            (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKA_DIV)\r
49 /* Peripheral Module Clock B speed in Hz. */\r
50 #define PCLKB_HZ            (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKB_DIV)\r
51 /* External bus clock speed in Hz. */\r
52 #define BCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / BCK_DIV)\r
53 /* FlashIF clock speed in Hz. */\r
54 #define FCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / FCK_DIV)\r
55 /* USB clock speed in Hz. */\r
56 #define UCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / UCK_DIV) \r
57 \r
58 #endif /* _MCU_INFO */\r
59 \r