1 /* 2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /********************************************************************************************************************** 8 * File Name : tsu_iodefine.h 9 * Version : 1.00 10 * Description : IO define file for tsu. 11 *********************************************************************************************************************/ 12 13 /* =========================================================================================================================== */ 14 /* ================ Device Specific Cluster Section ================ */ 15 /* =========================================================================================================================== */ 16 17 /* =========================================================================================================================== */ 18 /* ================ Device Specific Peripheral Section ================ */ 19 /* =========================================================================================================================== */ 20 21 #ifndef TSU_IODEFINE_H 22 #define TSU_IODEFINE_H 23 24 typedef struct 25 { 26 union 27 { 28 __IOM uint32_t TSU_SM; 29 struct 30 { 31 __IOM uint32_t EN : 1; 32 __IOM uint32_t OE : 1; 33 uint32_t : 30; 34 } TSU_SM_b; 35 }; 36 __IM uint8_t RESERVED[20]; 37 union 38 { 39 __IM uint32_t OTPTSUTRIM0_REG; 40 struct 41 { 42 __IM uint32_t OTPTSUTRIM0 : 12; 43 uint32_t : 20; 44 } OTPTSUTRIM0_REG_b; 45 }; 46 union 47 { 48 __IM uint32_t OTPTSUTRIM1_REG; 49 struct 50 { 51 __IM uint32_t OTPTSUTRIM1 : 12; 52 uint32_t : 20; 53 } OTPTSUTRIM1_REG_b; 54 }; 55 } R_TSU_Type; 56 57 /* =========================================================================================================================== */ 58 /* ================ Device Specific Peripheral Address Map ================ */ 59 /* =========================================================================================================================== */ 60 61 #define R_TSU_BASE 0x40059000 62 63 /* =========================================================================================================================== */ 64 /* ================ Peripheral declaration ================ */ 65 /* =========================================================================================================================== */ 66 67 #define R_TSU ((R_TSU_Type *) R_TSU_BASE) 68 69 #endif /* TSU_IODEFINE_H */ 70