1 /*********************************************************************************************************************** 2 * Copyright [2020-2022] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved. 3 * 4 * This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products 5 * of Renesas Electronics Corp. and its affiliates ("Renesas"). No other uses are authorized. Renesas products are 6 * sold pursuant to Renesas terms and conditions of sale. Purchasers are solely responsible for the selection and use 7 * of Renesas products and Renesas assumes no liability. No license, express or implied, to any intellectual property 8 * right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas 9 * reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION 10 * IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT 11 * PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES 12 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR 13 * DOCUMENTATION. RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH. TO THE MAXIMUM 14 * EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION 15 * (OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING, 16 * WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS, 17 * OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY 18 * OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS. 19 **********************************************************************************************************************/ 20 21 /*******************************************************************************************************************//** 22 * @addtogroup BOARD_RA6M4_EK_LEDS 23 * 24 * @{ 25 **********************************************************************************************************************/ 26 27 /*********************************************************************************************************************** 28 * Includes 29 **********************************************************************************************************************/ 30 #include "bsp_api.h" 31 #if defined(BOARD_RA6M4_EK) 32 33 /*********************************************************************************************************************** 34 * Macro definitions 35 **********************************************************************************************************************/ 36 37 /*********************************************************************************************************************** 38 * Typedef definitions 39 **********************************************************************************************************************/ 40 41 /*********************************************************************************************************************** 42 * Private global variables and functions 43 **********************************************************************************************************************/ 44 45 /** Array of LED IOPORT pins. */ 46 static const uint16_t g_bsp_prv_leds[] = 47 { 48 (uint16_t) BSP_IO_PORT_04_PIN_15, ///< LED1 49 (uint16_t) BSP_IO_PORT_04_PIN_04, ///< LED2 50 (uint16_t) BSP_IO_PORT_04_PIN_00, ///< LED3 51 }; 52 53 /*********************************************************************************************************************** 54 * Exported global variables (to be accessed by other files) 55 **********************************************************************************************************************/ 56 57 /** Structure with LED information for this board. */ 58 59 const bsp_leds_t g_bsp_leds = 60 { 61 .led_count = (uint16_t) ((sizeof(g_bsp_prv_leds) / sizeof(g_bsp_prv_leds[0]))), 62 .p_leds = &g_bsp_prv_leds[0] 63 }; 64 65 /*********************************************************************************************************************** 66 * Exported global variables (to be accessed by other files) 67 **********************************************************************************************************************/ 68 69 #endif 70 71 /** @} (end addtogroup BOARD_RA6M4_EK_LEDS) */ 72