![]() |
|
|||
File indexing completed on 2025-05-11 08:23:39
0001 /* SPDX-License-Identifier: BSD-2-Clause */ 0002 0003 /** 0004 * @file 0005 * 0006 * @ingroup RTEMSBSPsARMTMS570 0007 * 0008 * @brief This header file provides interfaces of the Parameter Overlay Module 0009 * (POM) support. 0010 */ 0011 0012 /* 0013 * Copyright (C) 2014 Pavel Pisa <pisa@cmp.felk.cvut.cz> 0014 * 0015 * Czech Technical University in Prague 0016 * Zikova 1903/4 0017 * 166 36 Praha 6 0018 * Czech Republic 0019 * 0020 * Redistribution and use in source and binary forms, with or without 0021 * modification, are permitted provided that the following conditions 0022 * are met: 0023 * 1. Redistributions of source code must retain the above copyright 0024 * notice, this list of conditions and the following disclaimer. 0025 * 2. Redistributions in binary form must reproduce the above copyright 0026 * notice, this list of conditions and the following disclaimer in the 0027 * documentation and/or other materials provided with the distribution. 0028 * 0029 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 0030 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 0031 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 0032 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 0033 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0034 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0035 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 0036 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 0037 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 0038 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0039 * POSSIBILITY OF SUCH DAMAGE. 0040 */ 0041 0042 #ifndef LIBBSP_ARM_TMS570_POM_H 0043 #define LIBBSP_ARM_TMS570_POM_H 0044 0045 #include <stdint.h> 0046 #include <bsp/tms570.h> 0047 0048 #ifdef __cplusplus 0049 extern "C" { 0050 #endif /* __cplusplus */ 0051 0052 #define TMS570_POM_REGIONS 32 0053 #define TMS570_POM_GLBCTRL_ENABLE 0x000000a0a 0054 0055 /* Specification of memory size used for field REGSIZE of tms570_pom_region_t */ 0056 #define TMS570_POM_REGSIZE_DISABLED 0x0 0057 #define TMS570_POM_REGSIZE_64B 0x1 0058 #define TMS570_POM_REGSIZE_128B 0x2 0059 #define TMS570_POM_REGSIZE_256B 0x3 0060 #define TMS570_POM_REGSIZE_512B 0x4 0061 #define TMS570_POM_REGSIZE_1KB 0x5 0062 #define TMS570_POM_REGSIZE_2KB 0x6 0063 #define TMS570_POM_REGSIZE_4KB 0x7 0064 #define TMS570_POM_REGSIZE_8KB 0x8 0065 #define TMS570_POM_REGSIZE_16KB 0x9 0066 #define TMS570_POM_REGSIZE_32KB 0xa 0067 #define TMS570_POM_REGSIZE_64KB 0xb 0068 #define TMS570_POM_REGSIZE_128KB 0xc 0069 #define TMS570_POM_REGSIZE_256KB 0xd 0070 0071 #define TMS570_POM_REGADDRMASK ((1<<23)-1) 0072 0073 void tms570_pom_initialize_and_clear(void); 0074 void tms570_pom_remap(void); 0075 0076 /** @} */ 0077 0078 #ifdef __cplusplus 0079 } 0080 #endif /* __cplusplus */ 0081 0082 #endif /* LIBBSP_ARM_TMS570_POM_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |