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