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.h
22  * Description  : This module has information about the LEDs on this board.
23  **********************************************************************************************************************/
24 
25 /*******************************************************************************************************************//**
26  * @ingroup BOARD_RA2L1_CPK
27  * @defgroup BSP_RA2L1_CPK_LEDS Board LEDs
28  * @brief LED information for this board.
29  *
30  * This is code specific to the RA2L1_CPK board.
31  *
32  * @{
33  **********************************************************************************************************************/
34 
35 #ifndef BOARD_LEDS_H
36 #define BOARD_LEDS_H
37 
38 /** Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file. */
39 FSP_HEADER
40 
41 /***********************************************************************************************************************
42  * Macro definitions
43  **********************************************************************************************************************/
44 
45 /***********************************************************************************************************************
46  * Typedef definitions
47  **********************************************************************************************************************/
48 
49 /** Information on how many LEDs and what pins they are on. */
50 typedef struct st_bsp_leds
51 {
52     uint16_t         led_count;        ///< The number of LEDs on this board
53     uint16_t const * p_leds;           ///< Pointer to an array of IOPORT pins for controlling LEDs
54 } bsp_leds_t;
55 
56 /** Available user-controllable LEDs on this board. These enums can be can be used to index into the array of LED pins
57  * found in the bsp_leds_t structure. */
58 typedef enum e_bsp_led
59 {
60     BSP_LED_LED3 = 0,                  ///< TB LED - Red
61 } bsp_led_t;
62 
63 /***********************************************************************************************************************
64  * Exported global variables
65  **********************************************************************************************************************/
66 
67 /***********************************************************************************************************************
68  * Public Functions
69  **********************************************************************************************************************/
70 
71 /** Common macro for FSP header files. There is also a corresponding FSP_HEADER macro at the top of this file. */
72 FSP_FOOTER
73 #endif                                 /* BOARD_LEDS_H */
74 
75 /** @} (end defgroup BSP_RA2L1_CPK_LEDS) */
76