/******************************************************************************* * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only * intended for use with Renesas products. No other uses are authorized. This * software is owned by Renesas Electronics Corporation and is protected under * all applicable laws, including copyright laws. * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. * Renesas reserves the right, without notice, to make changes to this software * and to discontinue the availability of this software. By using this software, * you agree to the additional terms and conditions found by accessing the * following link: * http://www.renesas.com/disclaimer * Copyright 2018-2023 Renesas Electronics Corporation All rights reserved. *******************************************************************************/ /******************************************************************************* * DESCRIPTION : R-Car common header ******************************************************************************/ /****************************************************************************** * @file rcar_def.h * - Version : 0.05 * @brief * . *****************************************************************************/ /****************************************************************************** * History : DD.MM.YYYY Version Description * : 02.02.2022 0.01 First Release * : 17.02.2022 0.02 Support V4H * : 31.10.2022 0.03 License notation change. * : 23.05.2023 0.04 Add the define "PRR_PRODUCT_21" for V4H v2.1. * : 21.08.2023 0.05 Add support for V4M. *****************************************************************************/ #ifndef RCAR_DEF_H_ #define RCAR_DEF_H_ /* Product Register */ #define PRR (0xFFF00044U) /* PRR register */ #define PRR_PRODUCT_MASK (0x00007F00U) /* Product mask */ #define PRR_CUT_MASK (0x000000FFU) /* Cut Number bit mask */ #define PRR_MAJOR_MASK (0x000000F0U) /* Major bit mask */ #define PRR_MINOR_MASK (0x0000000FU) /* Minor bit mask */ #define PRR_MAJOR_SHIFT (4U) /* Major bit shift */ #define PRR_MAJOR_OFFSET (1U) #define PRR_PRODUCT_S4 (0x00005A00U) /* R-Car S4 */ #define PRR_PRODUCT_V4H (0x00005C00U) /* R-Car V4H */ #define PRR_PRODUCT_V4M (0x00005D00U) /* R-Car V4M */ #define PRR_PRODUCT_10 (0x00000000U) /* ver 1.0 */ #define PRR_PRODUCT_11 (0x00000001U) /* ver 1.1 */ #define PRR_PRODUCT_20 (0x00000010U) /* ver 2.0 */ #define PRR_PRODUCT_21 (0x00000011U) /* ver 2.1 */ #define PRR_PRODUCT_22 (0x00000012U) /* ver 2.2 */ #endif /* RCAR_DEF_H_ */