1 /** @file reg_htu.h 2 * @brief HTU Register Layer Header File 3 * @date 29.May.2013 4 * @version 03.05.02 5 * 6 * This file contains: 7 * - Definitions 8 * - Types 9 * - Interface Prototypes 10 * . 11 * which are relevant for the HTU driver. 12 */ 13 14 /* (c) Texas Instruments 2009-2013, All rights reserved. */ 15 16 #ifndef __REG_HTU_H__ 17 #define __REG_HTU_H__ 18 19 #include "sys_common.h" 20 21 22 23 /* USER CODE BEGIN (0) */ 24 /* USER CODE END */ 25 26 /* htu Register Frame Definition */ 27 /** @struct htuBase 28 * @brief HTU Base Register Definition 29 * 30 * This structure is used to access the HTU module registers. 31 */ 32 /** @typedef htuBASE_t 33 * @brief HTU Register Frame Type Definition 34 * 35 * This type is used to access the HTU Registers. 36 */ 37 typedef volatile struct htuBase 38 { 39 uint32 GC; /** 0x00 */ 40 uint32 CPENA; /** 0x04 */ 41 uint32 BUSY0; /** 0x08 */ 42 uint32 BUSY1; /** 0x0C */ 43 uint32 BUSY2; /** 0x10 */ 44 uint32 BUSY3; /** 0x14 */ 45 uint32 ACPE; /** 0x18 */ 46 uint32 rsvd1; /** 0x1C */ 47 uint32 RLBECTRL; /** 0x20 */ 48 uint32 BFINTS; /** 0x24 */ 49 uint32 BFINTC; /** 0x28 */ 50 uint32 INTMAP; /** 0x2C */ 51 uint32 rsvd2; /** 0x30 */ 52 uint32 INTOFF0; /** 0x34 */ 53 uint32 INTOFF1; /** 0x38 */ 54 uint32 BIM; /** 0x3C */ 55 uint32 RLOSTFL; /** 0x40 */ 56 uint32 BFINTFL; /** 0x44 */ 57 uint32 BERINTFL; /** 0x48 */ 58 uint32 MP1S; /** 0x4C */ 59 uint32 MP1E; /** 0x50 */ 60 uint32 DCTRL; /** 0x54 */ 61 uint32 WPR; /** 0x58 */ 62 uint32 WMR; /** 0x5C */ 63 uint32 ID; /** 0x60 */ 64 uint32 PCR; /** 0x64 */ 65 uint32 PAR; /** 0x68 */ 66 uint32 rsvd3; /** 0x6C */ 67 uint32 MPCS; /** 0x70 */ 68 uint32 MP0S; /** 0x74 */ 69 uint32 MP0E; /** 0x78 */ 70 } htuBASE_t; 71 72 typedef volatile struct htudcp 73 { 74 uint32 IFADDRA; 75 uint32 IFADDRB; 76 uint32 IHADDRCT; 77 uint32 ITCOUNT; 78 } htudcp_t; 79 80 typedef volatile struct htucdcp 81 { 82 uint32 CFADDRA; 83 uint32 CFADDRB; 84 uint32 CFCOUNT; 85 uint32 rsvd4; 86 } htucdcp_t; 87 88 #define htuREG1 ((htuBASE_t *)0xFFF7A400U) 89 #define htuREG2 ((htuBASE_t *)0xFFF7A500U) 90 91 #define htuDCP1 ((htudcp_t *)0xFF4E0000U) 92 #define htuDCP2 ((htudcp_t *)0xFF4C0000U) 93 94 #define htuCDCP1 ((htucdcp_t *)0xFF4E0100U) 95 #define htuCDCP2 ((htucdcp_t *)0xFF4C0100U) 96 97 /* USER CODE BEGIN (1) */ 98 /* USER CODE END */ 99 100 101 #endif 102