]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX100_RX113-RSK_GCC_e2studio_IAR/src/rskrx113def.h
Update version number in readiness for V10.3.0 release. Sync SVN with reviewed releas...
[freertos] / FreeRTOS / Demo / RX100_RX113-RSK_GCC_e2studio_IAR / src / rskrx113def.h
1 /*******************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only \r
4 * intended for use with Renesas products. No other uses are authorized. This \r
5 * software is owned by Renesas Electronics Corporation and is protected under \r
6 * all applicable laws, including copyright laws.\r
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING \r
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT \r
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE \r
10 * AND NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS \r
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE \r
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR \r
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE \r
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
16 * Renesas reserves the right, without notice, to make changes to this software \r
17 * and to discontinue the availability of this software.  By using this software,\r
18 * you agree to the additional terms and conditions found by accessing the \r
19 * following link:\r
20 * http://www.renesas.com/disclaimer\r
21 *\r
22 * Copyright (C) 2014 Renesas Electronics Corporation. All rights reserved.\r
23 *******************************************************************************/\r
24 /*******************************************************************************\r
25 * File Name    : rskrx113def.h\r
26 * Device(s)    : R5F51138AxFP\r
27 * Tool-Chain   : CCRX\r
28 * H/W Platform : RSKRX113\r
29 * Description  : Defines macros relating to the RSK user LEDs and switches\r
30 * Creation Date: 26/08/2014\r
31 *******************************************************************************/\r
32 \r
33 \r
34 #ifndef RSKRX113_H\r
35 #define RSKRX113_H\r
36 \r
37 /*******************************************************************************\r
38 User Defines\r
39 *******************************************************************************/\r
40 /* General Values */\r
41 #define LED_ON          (0)\r
42 #define LED_OFF         (1)\r
43 #define SET_BIT_HIGH    (1)\r
44 #define SET_BIT_LOW     (0)\r
45 #define SET_BYTE_HIGH   (0xFF)\r
46 #define SET_BYTE_LOW    (0x00)\r
47 \r
48 /* Switches */\r
49 #define SW1             (PORTJ.PIDR.BIT.B0)\r
50 #define SW2             (PORT3.PIDR.BIT.B2)\r
51 #define SW3             (PORT2.PIDR.BIT.B7)\r
52 \r
53 /* LED port settings */\r
54 #define LED0            (PORT2.PODR.BIT.B2)\r
55 #define LED1            (PORT2.PODR.BIT.B3)\r
56 #define LED2            (PORT2.PODR.BIT.B4)\r
57 #define LED3            (PORT2.PODR.BIT.B5)\r
58 \r
59 \r
60 #endif\r
61 \r