1 //***************************************************************************** 2 // 3 // am_reg_iomstr_cmd.h 4 //! @file 5 //! 6 //! @brief Register macros for the IOMSTR module 7 // 8 //***************************************************************************** 9 10 //***************************************************************************** 11 // 12 // Copyright (c) 2024, Ambiq Micro, Inc. 13 // All rights reserved. 14 // 15 // Redistribution and use in source and binary forms, with or without 16 // modification, are permitted provided that the following conditions are met: 17 // 18 // 1. Redistributions of source code must retain the above copyright notice, 19 // this list of conditions and the following disclaimer. 20 // 21 // 2. Redistributions in binary form must reproduce the above copyright 22 // notice, this list of conditions and the following disclaimer in the 23 // documentation and/or other materials provided with the distribution. 24 // 25 // 3. Neither the name of the copyright holder nor the names of its 26 // contributors may be used to endorse or promote products derived from this 27 // software without specific prior written permission. 28 // 29 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 30 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 31 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 32 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 33 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 34 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 35 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 36 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 37 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 38 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 39 // POSSIBILITY OF SUCH DAMAGE. 40 // 41 // This is part of revision release_sdk_3_2_0-dd5f40c14b of the AmbiqSuite Development Package. 42 // 43 //***************************************************************************** 44 #ifndef AM_REG_IOMSTR_CMD_H 45 #define AM_REG_IOMSTR_CMD_H 46 47 #if AM_PART_APOLLO2 48 //***************************************************************************** 49 // 50 // IOMSTR_CMD - Command Register 51 // 52 //***************************************************************************** 53 #define AM_REG_IOMSTR_CMD_CMD_POS_LENGTH 0x00000000 54 #define AM_REG_IOMSTR_CMD_CMD_POS_OFFSET 0x00000008 55 #define AM_REG_IOMSTR_CMD_CMD_POS_ADDRESS 0x00000010 56 #define AM_REG_IOMSTR_CMD_CMD_POS_CHNL 0x00000010 57 #define AM_REG_IOMSTR_CMD_CMD_POS_UPLNGTH 0x00000017 58 #define AM_REG_IOMSTR_CMD_CMD_POS_10BIT 0x0000001A 59 #define AM_REG_IOMSTR_CMD_CMD_POS_LSB 0x0000001B 60 #define AM_REG_IOMSTR_CMD_CMD_POS_CONT 0x0000001C 61 #define AM_REG_IOMSTR_CMD_CMD_POS_OPER 0x0000001D 62 #define AM_REG_IOMSTR_CMD_CMD_MSK_LENGTH 0x000000FF 63 #define AM_REG_IOMSTR_CMD_CMD_MSK_OFFSET 0x0000FF00 64 #define AM_REG_IOMSTR_CMD_CMD_MSK_ADDRESS 0x00FF0000 65 #define AM_REG_IOMSTR_CMD_CMD_MSK_CHNL 0x00070000 66 #define AM_REG_IOMSTR_CMD_CMD_MSK_UPLNGTH 0x07800000 67 #define AM_REG_IOMSTR_CMD_CMD_MSK_10BIT 0x04000000 68 #define AM_REG_IOMSTR_CMD_CMD_MSK_LSB 0x08000000 69 #define AM_REG_IOMSTR_CMD_CMD_MSK_CONT 0x10000000 70 #define AM_REG_IOMSTR_CMD_CMD_MSK_OPER 0xE0000000 71 #endif // AM_PART_APOLLO2 72 73 #endif // AM_REG_IOMSTR_CMD_H 74