1 /***********************************************************************************************************************
2  * Copyright [2020] Renesas Electronics Corporation and/or its licensors. All Rights Reserved.
3  *
4  * This file is part of Renesas RA Flexible Software Package (FSP)
5  *
6  * The contents of this file (the "contents") are proprietary and confidential to Renesas Electronics Corporation
7  * and/or its licensors ("Renesas") and subject to statutory and contractual protections.
8  *
9  * This file is subject to a Renesas FSP license agreement. Unless otherwise agreed in an FSP license agreement with
10  * Renesas: 1) you may not use, copy, modify, distribute, display, or perform the contents; 2) you may not use any name
11  * or mark of Renesas for advertising or publicity purposes or in connection with your use of the contents; 3) RENESAS
12  * MAKES NO WARRANTY OR REPRESENTATIONS ABOUT THE SUITABILITY OF THE CONTENTS FOR ANY PURPOSE; THE CONTENTS ARE PROVIDED
13  * "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
14  * PARTICULAR PURPOSE, AND NON-INFRINGEMENT; AND 4) RENESAS SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, OR
15  * CONSEQUENTIAL DAMAGES, INCLUDING DAMAGES RESULTING FROM LOSS OF USE, DATA, OR PROJECTS, WHETHER IN AN ACTION OF
16  * CONTRACT OR TORT, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE CONTENTS. Third-party contents
17  * included in this file may be subject to different terms.
18  **********************************************************************************************************************/
19 
20 /***********************************************************************************************************************
21  * File Name    : board_leds.c
22  * Description  : This module has information about the LEDs on this board.
23  **********************************************************************************************************************/
24 
25 /*******************************************************************************************************************//**
26  * @addtogroup BSP_RA6M4_IOT_LEDS
27  *
28  * @{
29  **********************************************************************************************************************/
30 
31 /***********************************************************************************************************************
32  * Includes
33  **********************************************************************************************************************/
34 #include "bsp_api.h"
35 
36 #if defined(BOARD_RA6M4_IOT)
37 
38 /***********************************************************************************************************************
39  * Macro definitions
40  **********************************************************************************************************************/
41 
42 /***********************************************************************************************************************
43  * Typedef definitions
44  **********************************************************************************************************************/
45 
46 /***********************************************************************************************************************
47  * Private global variables and functions
48  **********************************************************************************************************************/
49 
50 /** Array of LED IOPORT pins. */
51 static const uint16_t g_bsp_prv_leds[] =
52 {
53     (uint16_t) BSP_IO_PORT_01_PIN_14,  ///< USER LED
54 };
55 
56 /***********************************************************************************************************************
57  * Exported global variables (to be accessed by other files)
58  **********************************************************************************************************************/
59 
60 /** Structure with LED information for this board. */
61 
62 const bsp_leds_t g_bsp_leds =
63 {
64     .led_count = (uint16_t) ((sizeof(g_bsp_prv_leds) / sizeof(g_bsp_prv_leds[0]))),
65     .p_leds    = &g_bsp_prv_leds[0]
66 };
67 
68 /***********************************************************************************************************************
69  * Exported global variables (to be accessed by other files)
70  **********************************************************************************************************************/
71 
72 #endif
73 
74 /** @} (end addtogroup BSP_RA6M4_IOT_LEDS) */
75