1 /***************************************************************************//** 2 * \file cyip_scb.h 3 * 4 * \brief 5 * SCB IP definitions 6 * 7 ******************************************************************************** 8 * \copyright 9 * (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or 10 * an affiliate of Cypress Semiconductor Corporation. 11 * 12 * SPDX-License-Identifier: Apache-2.0 13 * 14 * Licensed under the Apache License, Version 2.0 (the "License"); 15 * you may not use this file except in compliance with the License. 16 * You may obtain a copy of the License at 17 * 18 * http://www.apache.org/licenses/LICENSE-2.0 19 * 20 * Unless required by applicable law or agreed to in writing, software 21 * distributed under the License is distributed on an "AS IS" BASIS, 22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 23 * See the License for the specific language governing permissions and 24 * limitations under the License. 25 *******************************************************************************/ 26 27 #ifndef _CYIP_SCB_H_ 28 #define _CYIP_SCB_H_ 29 30 #include "cyip_headers.h" 31 32 /******************************************************************************* 33 * SCB 34 *******************************************************************************/ 35 36 #define SCB_SECTION_SIZE 0x00010000UL 37 38 /** 39 * \brief Serial Communications Block (SPI/UART/I2C) (CySCB) 40 */ 41 typedef struct { 42 __IOM uint32_t CTRL; /*!< 0x00000000 Generic control */ 43 __IM uint32_t STATUS; /*!< 0x00000004 Generic status */ 44 __IOM uint32_t CMD_RESP_CTRL; /*!< 0x00000008 Command/response control */ 45 __IM uint32_t CMD_RESP_STATUS; /*!< 0x0000000C Command/response status */ 46 __IM uint32_t RESERVED[4]; 47 __IOM uint32_t SPI_CTRL; /*!< 0x00000020 SPI control */ 48 __IM uint32_t SPI_STATUS; /*!< 0x00000024 SPI status */ 49 __IM uint32_t RESERVED1[6]; 50 __IOM uint32_t UART_CTRL; /*!< 0x00000040 UART control */ 51 __IOM uint32_t UART_TX_CTRL; /*!< 0x00000044 UART transmitter control */ 52 __IOM uint32_t UART_RX_CTRL; /*!< 0x00000048 UART receiver control */ 53 __IM uint32_t UART_RX_STATUS; /*!< 0x0000004C UART receiver status */ 54 __IOM uint32_t UART_FLOW_CTRL; /*!< 0x00000050 UART flow control */ 55 __IM uint32_t RESERVED2[3]; 56 __IOM uint32_t I2C_CTRL; /*!< 0x00000060 I2C control */ 57 __IM uint32_t I2C_STATUS; /*!< 0x00000064 I2C status */ 58 __IOM uint32_t I2C_M_CMD; /*!< 0x00000068 I2C master command */ 59 __IOM uint32_t I2C_S_CMD; /*!< 0x0000006C I2C slave command */ 60 __IOM uint32_t I2C_CFG; /*!< 0x00000070 I2C configuration */ 61 __IM uint32_t RESERVED3[99]; 62 __IOM uint32_t TX_CTRL; /*!< 0x00000200 Transmitter control */ 63 __IOM uint32_t TX_FIFO_CTRL; /*!< 0x00000204 Transmitter FIFO control */ 64 __IM uint32_t TX_FIFO_STATUS; /*!< 0x00000208 Transmitter FIFO status */ 65 __IM uint32_t RESERVED4[13]; 66 __OM uint32_t TX_FIFO_WR; /*!< 0x00000240 Transmitter FIFO write */ 67 __IM uint32_t RESERVED5[47]; 68 __IOM uint32_t RX_CTRL; /*!< 0x00000300 Receiver control */ 69 __IOM uint32_t RX_FIFO_CTRL; /*!< 0x00000304 Receiver FIFO control */ 70 __IM uint32_t RX_FIFO_STATUS; /*!< 0x00000308 Receiver FIFO status */ 71 __IM uint32_t RESERVED6; 72 __IOM uint32_t RX_MATCH; /*!< 0x00000310 Slave address and mask */ 73 __IM uint32_t RESERVED7[11]; 74 __IM uint32_t RX_FIFO_RD; /*!< 0x00000340 Receiver FIFO read */ 75 __IM uint32_t RX_FIFO_RD_SILENT; /*!< 0x00000344 Receiver FIFO read silent */ 76 __IM uint32_t RESERVED8[46]; 77 __IOM uint32_t EZ_DATA[512]; /*!< 0x00000400 Memory buffer */ 78 __IM uint32_t RESERVED9[128]; 79 __IM uint32_t INTR_CAUSE; /*!< 0x00000E00 Active clocked interrupt signal */ 80 __IM uint32_t RESERVED10[31]; 81 __IOM uint32_t INTR_I2C_EC; /*!< 0x00000E80 Externally clocked I2C interrupt request */ 82 __IM uint32_t RESERVED11; 83 __IOM uint32_t INTR_I2C_EC_MASK; /*!< 0x00000E88 Externally clocked I2C interrupt mask */ 84 __IM uint32_t INTR_I2C_EC_MASKED; /*!< 0x00000E8C Externally clocked I2C interrupt masked */ 85 __IM uint32_t RESERVED12[12]; 86 __IOM uint32_t INTR_SPI_EC; /*!< 0x00000EC0 Externally clocked SPI interrupt request */ 87 __IM uint32_t RESERVED13; 88 __IOM uint32_t INTR_SPI_EC_MASK; /*!< 0x00000EC8 Externally clocked SPI interrupt mask */ 89 __IM uint32_t INTR_SPI_EC_MASKED; /*!< 0x00000ECC Externally clocked SPI interrupt masked */ 90 __IM uint32_t RESERVED14[12]; 91 __IOM uint32_t INTR_M; /*!< 0x00000F00 Master interrupt request */ 92 __IOM uint32_t INTR_M_SET; /*!< 0x00000F04 Master interrupt set request */ 93 __IOM uint32_t INTR_M_MASK; /*!< 0x00000F08 Master interrupt mask */ 94 __IM uint32_t INTR_M_MASKED; /*!< 0x00000F0C Master interrupt masked request */ 95 __IM uint32_t RESERVED15[12]; 96 __IOM uint32_t INTR_S; /*!< 0x00000F40 Slave interrupt request */ 97 __IOM uint32_t INTR_S_SET; /*!< 0x00000F44 Slave interrupt set request */ 98 __IOM uint32_t INTR_S_MASK; /*!< 0x00000F48 Slave interrupt mask */ 99 __IM uint32_t INTR_S_MASKED; /*!< 0x00000F4C Slave interrupt masked request */ 100 __IM uint32_t RESERVED16[12]; 101 __IOM uint32_t INTR_TX; /*!< 0x00000F80 Transmitter interrupt request */ 102 __IOM uint32_t INTR_TX_SET; /*!< 0x00000F84 Transmitter interrupt set request */ 103 __IOM uint32_t INTR_TX_MASK; /*!< 0x00000F88 Transmitter interrupt mask */ 104 __IM uint32_t INTR_TX_MASKED; /*!< 0x00000F8C Transmitter interrupt masked request */ 105 __IM uint32_t RESERVED17[12]; 106 __IOM uint32_t INTR_RX; /*!< 0x00000FC0 Receiver interrupt request */ 107 __IOM uint32_t INTR_RX_SET; /*!< 0x00000FC4 Receiver interrupt set request */ 108 __IOM uint32_t INTR_RX_MASK; /*!< 0x00000FC8 Receiver interrupt mask */ 109 __IM uint32_t INTR_RX_MASKED; /*!< 0x00000FCC Receiver interrupt masked request */ 110 } CySCB_V1_Type; /*!< Size = 4048 (0xFD0) */ 111 112 113 /* SCB.CTRL */ 114 #define SCB_CTRL_OVS_Pos 0UL 115 #define SCB_CTRL_OVS_Msk 0xFUL 116 #define SCB_CTRL_EC_AM_MODE_Pos 8UL 117 #define SCB_CTRL_EC_AM_MODE_Msk 0x100UL 118 #define SCB_CTRL_EC_OP_MODE_Pos 9UL 119 #define SCB_CTRL_EC_OP_MODE_Msk 0x200UL 120 #define SCB_CTRL_EZ_MODE_Pos 10UL 121 #define SCB_CTRL_EZ_MODE_Msk 0x400UL 122 #define SCB_CTRL_BYTE_MODE_Pos 11UL 123 #define SCB_CTRL_BYTE_MODE_Msk 0x800UL 124 #define SCB_CTRL_CMD_RESP_MODE_Pos 12UL 125 #define SCB_CTRL_CMD_RESP_MODE_Msk 0x1000UL 126 #define SCB_CTRL_ADDR_ACCEPT_Pos 16UL 127 #define SCB_CTRL_ADDR_ACCEPT_Msk 0x10000UL 128 #define SCB_CTRL_BLOCK_Pos 17UL 129 #define SCB_CTRL_BLOCK_Msk 0x20000UL 130 #define SCB_CTRL_MODE_Pos 24UL 131 #define SCB_CTRL_MODE_Msk 0x3000000UL 132 #define SCB_CTRL_ENABLED_Pos 31UL 133 #define SCB_CTRL_ENABLED_Msk 0x80000000UL 134 /* SCB.STATUS */ 135 #define SCB_STATUS_EC_BUSY_Pos 0UL 136 #define SCB_STATUS_EC_BUSY_Msk 0x1UL 137 /* SCB.CMD_RESP_CTRL */ 138 #define SCB_CMD_RESP_CTRL_BASE_RD_ADDR_Pos 0UL 139 #define SCB_CMD_RESP_CTRL_BASE_RD_ADDR_Msk 0x1FFUL 140 #define SCB_CMD_RESP_CTRL_BASE_WR_ADDR_Pos 16UL 141 #define SCB_CMD_RESP_CTRL_BASE_WR_ADDR_Msk 0x1FF0000UL 142 /* SCB.CMD_RESP_STATUS */ 143 #define SCB_CMD_RESP_STATUS_CURR_RD_ADDR_Pos 0UL 144 #define SCB_CMD_RESP_STATUS_CURR_RD_ADDR_Msk 0x1FFUL 145 #define SCB_CMD_RESP_STATUS_CURR_WR_ADDR_Pos 16UL 146 #define SCB_CMD_RESP_STATUS_CURR_WR_ADDR_Msk 0x1FF0000UL 147 #define SCB_CMD_RESP_STATUS_CMD_RESP_EC_BUS_BUSY_Pos 30UL 148 #define SCB_CMD_RESP_STATUS_CMD_RESP_EC_BUS_BUSY_Msk 0x40000000UL 149 #define SCB_CMD_RESP_STATUS_CMD_RESP_EC_BUSY_Pos 31UL 150 #define SCB_CMD_RESP_STATUS_CMD_RESP_EC_BUSY_Msk 0x80000000UL 151 /* SCB.SPI_CTRL */ 152 #define SCB_SPI_CTRL_SSEL_CONTINUOUS_Pos 0UL 153 #define SCB_SPI_CTRL_SSEL_CONTINUOUS_Msk 0x1UL 154 #define SCB_SPI_CTRL_SELECT_PRECEDE_Pos 1UL 155 #define SCB_SPI_CTRL_SELECT_PRECEDE_Msk 0x2UL 156 #define SCB_SPI_CTRL_CPHA_Pos 2UL 157 #define SCB_SPI_CTRL_CPHA_Msk 0x4UL 158 #define SCB_SPI_CTRL_CPOL_Pos 3UL 159 #define SCB_SPI_CTRL_CPOL_Msk 0x8UL 160 #define SCB_SPI_CTRL_LATE_MISO_SAMPLE_Pos 4UL 161 #define SCB_SPI_CTRL_LATE_MISO_SAMPLE_Msk 0x10UL 162 #define SCB_SPI_CTRL_SCLK_CONTINUOUS_Pos 5UL 163 #define SCB_SPI_CTRL_SCLK_CONTINUOUS_Msk 0x20UL 164 #define SCB_SPI_CTRL_SSEL_POLARITY0_Pos 8UL 165 #define SCB_SPI_CTRL_SSEL_POLARITY0_Msk 0x100UL 166 #define SCB_SPI_CTRL_SSEL_POLARITY1_Pos 9UL 167 #define SCB_SPI_CTRL_SSEL_POLARITY1_Msk 0x200UL 168 #define SCB_SPI_CTRL_SSEL_POLARITY2_Pos 10UL 169 #define SCB_SPI_CTRL_SSEL_POLARITY2_Msk 0x400UL 170 #define SCB_SPI_CTRL_SSEL_POLARITY3_Pos 11UL 171 #define SCB_SPI_CTRL_SSEL_POLARITY3_Msk 0x800UL 172 #define SCB_SPI_CTRL_LOOPBACK_Pos 16UL 173 #define SCB_SPI_CTRL_LOOPBACK_Msk 0x10000UL 174 #define SCB_SPI_CTRL_MODE_Pos 24UL 175 #define SCB_SPI_CTRL_MODE_Msk 0x3000000UL 176 #define SCB_SPI_CTRL_SSEL_Pos 26UL 177 #define SCB_SPI_CTRL_SSEL_Msk 0xC000000UL 178 #define SCB_SPI_CTRL_MASTER_MODE_Pos 31UL 179 #define SCB_SPI_CTRL_MASTER_MODE_Msk 0x80000000UL 180 /* SCB.SPI_STATUS */ 181 #define SCB_SPI_STATUS_BUS_BUSY_Pos 0UL 182 #define SCB_SPI_STATUS_BUS_BUSY_Msk 0x1UL 183 #define SCB_SPI_STATUS_SPI_EC_BUSY_Pos 1UL 184 #define SCB_SPI_STATUS_SPI_EC_BUSY_Msk 0x2UL 185 #define SCB_SPI_STATUS_CURR_EZ_ADDR_Pos 8UL 186 #define SCB_SPI_STATUS_CURR_EZ_ADDR_Msk 0xFF00UL 187 #define SCB_SPI_STATUS_BASE_EZ_ADDR_Pos 16UL 188 #define SCB_SPI_STATUS_BASE_EZ_ADDR_Msk 0xFF0000UL 189 /* SCB.UART_CTRL */ 190 #define SCB_UART_CTRL_LOOPBACK_Pos 16UL 191 #define SCB_UART_CTRL_LOOPBACK_Msk 0x10000UL 192 #define SCB_UART_CTRL_MODE_Pos 24UL 193 #define SCB_UART_CTRL_MODE_Msk 0x3000000UL 194 /* SCB.UART_TX_CTRL */ 195 #define SCB_UART_TX_CTRL_STOP_BITS_Pos 0UL 196 #define SCB_UART_TX_CTRL_STOP_BITS_Msk 0x7UL 197 #define SCB_UART_TX_CTRL_PARITY_Pos 4UL 198 #define SCB_UART_TX_CTRL_PARITY_Msk 0x10UL 199 #define SCB_UART_TX_CTRL_PARITY_ENABLED_Pos 5UL 200 #define SCB_UART_TX_CTRL_PARITY_ENABLED_Msk 0x20UL 201 #define SCB_UART_TX_CTRL_RETRY_ON_NACK_Pos 8UL 202 #define SCB_UART_TX_CTRL_RETRY_ON_NACK_Msk 0x100UL 203 /* SCB.UART_RX_CTRL */ 204 #define SCB_UART_RX_CTRL_STOP_BITS_Pos 0UL 205 #define SCB_UART_RX_CTRL_STOP_BITS_Msk 0x7UL 206 #define SCB_UART_RX_CTRL_PARITY_Pos 4UL 207 #define SCB_UART_RX_CTRL_PARITY_Msk 0x10UL 208 #define SCB_UART_RX_CTRL_PARITY_ENABLED_Pos 5UL 209 #define SCB_UART_RX_CTRL_PARITY_ENABLED_Msk 0x20UL 210 #define SCB_UART_RX_CTRL_POLARITY_Pos 6UL 211 #define SCB_UART_RX_CTRL_POLARITY_Msk 0x40UL 212 #define SCB_UART_RX_CTRL_DROP_ON_PARITY_ERROR_Pos 8UL 213 #define SCB_UART_RX_CTRL_DROP_ON_PARITY_ERROR_Msk 0x100UL 214 #define SCB_UART_RX_CTRL_DROP_ON_FRAME_ERROR_Pos 9UL 215 #define SCB_UART_RX_CTRL_DROP_ON_FRAME_ERROR_Msk 0x200UL 216 #define SCB_UART_RX_CTRL_MP_MODE_Pos 10UL 217 #define SCB_UART_RX_CTRL_MP_MODE_Msk 0x400UL 218 #define SCB_UART_RX_CTRL_LIN_MODE_Pos 12UL 219 #define SCB_UART_RX_CTRL_LIN_MODE_Msk 0x1000UL 220 #define SCB_UART_RX_CTRL_SKIP_START_Pos 13UL 221 #define SCB_UART_RX_CTRL_SKIP_START_Msk 0x2000UL 222 #define SCB_UART_RX_CTRL_BREAK_WIDTH_Pos 16UL 223 #define SCB_UART_RX_CTRL_BREAK_WIDTH_Msk 0xF0000UL 224 /* SCB.UART_RX_STATUS */ 225 #define SCB_UART_RX_STATUS_BR_COUNTER_Pos 0UL 226 #define SCB_UART_RX_STATUS_BR_COUNTER_Msk 0xFFFUL 227 /* SCB.UART_FLOW_CTRL */ 228 #define SCB_UART_FLOW_CTRL_TRIGGER_LEVEL_Pos 0UL 229 #define SCB_UART_FLOW_CTRL_TRIGGER_LEVEL_Msk 0xFFUL 230 #define SCB_UART_FLOW_CTRL_RTS_POLARITY_Pos 16UL 231 #define SCB_UART_FLOW_CTRL_RTS_POLARITY_Msk 0x10000UL 232 #define SCB_UART_FLOW_CTRL_CTS_POLARITY_Pos 24UL 233 #define SCB_UART_FLOW_CTRL_CTS_POLARITY_Msk 0x1000000UL 234 #define SCB_UART_FLOW_CTRL_CTS_ENABLED_Pos 25UL 235 #define SCB_UART_FLOW_CTRL_CTS_ENABLED_Msk 0x2000000UL 236 /* SCB.I2C_CTRL */ 237 #define SCB_I2C_CTRL_HIGH_PHASE_OVS_Pos 0UL 238 #define SCB_I2C_CTRL_HIGH_PHASE_OVS_Msk 0xFUL 239 #define SCB_I2C_CTRL_LOW_PHASE_OVS_Pos 4UL 240 #define SCB_I2C_CTRL_LOW_PHASE_OVS_Msk 0xF0UL 241 #define SCB_I2C_CTRL_M_READY_DATA_ACK_Pos 8UL 242 #define SCB_I2C_CTRL_M_READY_DATA_ACK_Msk 0x100UL 243 #define SCB_I2C_CTRL_M_NOT_READY_DATA_NACK_Pos 9UL 244 #define SCB_I2C_CTRL_M_NOT_READY_DATA_NACK_Msk 0x200UL 245 #define SCB_I2C_CTRL_S_GENERAL_IGNORE_Pos 11UL 246 #define SCB_I2C_CTRL_S_GENERAL_IGNORE_Msk 0x800UL 247 #define SCB_I2C_CTRL_S_READY_ADDR_ACK_Pos 12UL 248 #define SCB_I2C_CTRL_S_READY_ADDR_ACK_Msk 0x1000UL 249 #define SCB_I2C_CTRL_S_READY_DATA_ACK_Pos 13UL 250 #define SCB_I2C_CTRL_S_READY_DATA_ACK_Msk 0x2000UL 251 #define SCB_I2C_CTRL_S_NOT_READY_ADDR_NACK_Pos 14UL 252 #define SCB_I2C_CTRL_S_NOT_READY_ADDR_NACK_Msk 0x4000UL 253 #define SCB_I2C_CTRL_S_NOT_READY_DATA_NACK_Pos 15UL 254 #define SCB_I2C_CTRL_S_NOT_READY_DATA_NACK_Msk 0x8000UL 255 #define SCB_I2C_CTRL_LOOPBACK_Pos 16UL 256 #define SCB_I2C_CTRL_LOOPBACK_Msk 0x10000UL 257 #define SCB_I2C_CTRL_SLAVE_MODE_Pos 30UL 258 #define SCB_I2C_CTRL_SLAVE_MODE_Msk 0x40000000UL 259 #define SCB_I2C_CTRL_MASTER_MODE_Pos 31UL 260 #define SCB_I2C_CTRL_MASTER_MODE_Msk 0x80000000UL 261 /* SCB.I2C_STATUS */ 262 #define SCB_I2C_STATUS_BUS_BUSY_Pos 0UL 263 #define SCB_I2C_STATUS_BUS_BUSY_Msk 0x1UL 264 #define SCB_I2C_STATUS_I2C_EC_BUSY_Pos 1UL 265 #define SCB_I2C_STATUS_I2C_EC_BUSY_Msk 0x2UL 266 #define SCB_I2C_STATUS_S_READ_Pos 4UL 267 #define SCB_I2C_STATUS_S_READ_Msk 0x10UL 268 #define SCB_I2C_STATUS_M_READ_Pos 5UL 269 #define SCB_I2C_STATUS_M_READ_Msk 0x20UL 270 #define SCB_I2C_STATUS_CURR_EZ_ADDR_Pos 8UL 271 #define SCB_I2C_STATUS_CURR_EZ_ADDR_Msk 0xFF00UL 272 #define SCB_I2C_STATUS_BASE_EZ_ADDR_Pos 16UL 273 #define SCB_I2C_STATUS_BASE_EZ_ADDR_Msk 0xFF0000UL 274 /* SCB.I2C_M_CMD */ 275 #define SCB_I2C_M_CMD_M_START_Pos 0UL 276 #define SCB_I2C_M_CMD_M_START_Msk 0x1UL 277 #define SCB_I2C_M_CMD_M_START_ON_IDLE_Pos 1UL 278 #define SCB_I2C_M_CMD_M_START_ON_IDLE_Msk 0x2UL 279 #define SCB_I2C_M_CMD_M_ACK_Pos 2UL 280 #define SCB_I2C_M_CMD_M_ACK_Msk 0x4UL 281 #define SCB_I2C_M_CMD_M_NACK_Pos 3UL 282 #define SCB_I2C_M_CMD_M_NACK_Msk 0x8UL 283 #define SCB_I2C_M_CMD_M_STOP_Pos 4UL 284 #define SCB_I2C_M_CMD_M_STOP_Msk 0x10UL 285 /* SCB.I2C_S_CMD */ 286 #define SCB_I2C_S_CMD_S_ACK_Pos 0UL 287 #define SCB_I2C_S_CMD_S_ACK_Msk 0x1UL 288 #define SCB_I2C_S_CMD_S_NACK_Pos 1UL 289 #define SCB_I2C_S_CMD_S_NACK_Msk 0x2UL 290 /* SCB.I2C_CFG */ 291 #define SCB_I2C_CFG_SDA_IN_FILT_TRIM_Pos 0UL 292 #define SCB_I2C_CFG_SDA_IN_FILT_TRIM_Msk 0x3UL 293 #define SCB_I2C_CFG_SDA_IN_FILT_SEL_Pos 4UL 294 #define SCB_I2C_CFG_SDA_IN_FILT_SEL_Msk 0x10UL 295 #define SCB_I2C_CFG_SCL_IN_FILT_TRIM_Pos 8UL 296 #define SCB_I2C_CFG_SCL_IN_FILT_TRIM_Msk 0x300UL 297 #define SCB_I2C_CFG_SCL_IN_FILT_SEL_Pos 12UL 298 #define SCB_I2C_CFG_SCL_IN_FILT_SEL_Msk 0x1000UL 299 #define SCB_I2C_CFG_SDA_OUT_FILT0_TRIM_Pos 16UL 300 #define SCB_I2C_CFG_SDA_OUT_FILT0_TRIM_Msk 0x30000UL 301 #define SCB_I2C_CFG_SDA_OUT_FILT1_TRIM_Pos 18UL 302 #define SCB_I2C_CFG_SDA_OUT_FILT1_TRIM_Msk 0xC0000UL 303 #define SCB_I2C_CFG_SDA_OUT_FILT2_TRIM_Pos 20UL 304 #define SCB_I2C_CFG_SDA_OUT_FILT2_TRIM_Msk 0x300000UL 305 #define SCB_I2C_CFG_SDA_OUT_FILT_SEL_Pos 28UL 306 #define SCB_I2C_CFG_SDA_OUT_FILT_SEL_Msk 0x30000000UL 307 /* SCB.TX_CTRL */ 308 #define SCB_TX_CTRL_DATA_WIDTH_Pos 0UL 309 #define SCB_TX_CTRL_DATA_WIDTH_Msk 0xFUL 310 #define SCB_TX_CTRL_MSB_FIRST_Pos 8UL 311 #define SCB_TX_CTRL_MSB_FIRST_Msk 0x100UL 312 #define SCB_TX_CTRL_OPEN_DRAIN_Pos 16UL 313 #define SCB_TX_CTRL_OPEN_DRAIN_Msk 0x10000UL 314 /* SCB.TX_FIFO_CTRL */ 315 #define SCB_TX_FIFO_CTRL_TRIGGER_LEVEL_Pos 0UL 316 #define SCB_TX_FIFO_CTRL_TRIGGER_LEVEL_Msk 0xFFUL 317 #define SCB_TX_FIFO_CTRL_CLEAR_Pos 16UL 318 #define SCB_TX_FIFO_CTRL_CLEAR_Msk 0x10000UL 319 #define SCB_TX_FIFO_CTRL_FREEZE_Pos 17UL 320 #define SCB_TX_FIFO_CTRL_FREEZE_Msk 0x20000UL 321 /* SCB.TX_FIFO_STATUS */ 322 #define SCB_TX_FIFO_STATUS_USED_Pos 0UL 323 #define SCB_TX_FIFO_STATUS_USED_Msk 0x1FFUL 324 #define SCB_TX_FIFO_STATUS_SR_VALID_Pos 15UL 325 #define SCB_TX_FIFO_STATUS_SR_VALID_Msk 0x8000UL 326 #define SCB_TX_FIFO_STATUS_RD_PTR_Pos 16UL 327 #define SCB_TX_FIFO_STATUS_RD_PTR_Msk 0xFF0000UL 328 #define SCB_TX_FIFO_STATUS_WR_PTR_Pos 24UL 329 #define SCB_TX_FIFO_STATUS_WR_PTR_Msk 0xFF000000UL 330 /* SCB.TX_FIFO_WR */ 331 #define SCB_TX_FIFO_WR_DATA_Pos 0UL 332 #define SCB_TX_FIFO_WR_DATA_Msk 0xFFFFUL 333 /* SCB.RX_CTRL */ 334 #define SCB_RX_CTRL_DATA_WIDTH_Pos 0UL 335 #define SCB_RX_CTRL_DATA_WIDTH_Msk 0xFUL 336 #define SCB_RX_CTRL_MSB_FIRST_Pos 8UL 337 #define SCB_RX_CTRL_MSB_FIRST_Msk 0x100UL 338 #define SCB_RX_CTRL_MEDIAN_Pos 9UL 339 #define SCB_RX_CTRL_MEDIAN_Msk 0x200UL 340 /* SCB.RX_FIFO_CTRL */ 341 #define SCB_RX_FIFO_CTRL_TRIGGER_LEVEL_Pos 0UL 342 #define SCB_RX_FIFO_CTRL_TRIGGER_LEVEL_Msk 0xFFUL 343 #define SCB_RX_FIFO_CTRL_CLEAR_Pos 16UL 344 #define SCB_RX_FIFO_CTRL_CLEAR_Msk 0x10000UL 345 #define SCB_RX_FIFO_CTRL_FREEZE_Pos 17UL 346 #define SCB_RX_FIFO_CTRL_FREEZE_Msk 0x20000UL 347 /* SCB.RX_FIFO_STATUS */ 348 #define SCB_RX_FIFO_STATUS_USED_Pos 0UL 349 #define SCB_RX_FIFO_STATUS_USED_Msk 0x1FFUL 350 #define SCB_RX_FIFO_STATUS_SR_VALID_Pos 15UL 351 #define SCB_RX_FIFO_STATUS_SR_VALID_Msk 0x8000UL 352 #define SCB_RX_FIFO_STATUS_RD_PTR_Pos 16UL 353 #define SCB_RX_FIFO_STATUS_RD_PTR_Msk 0xFF0000UL 354 #define SCB_RX_FIFO_STATUS_WR_PTR_Pos 24UL 355 #define SCB_RX_FIFO_STATUS_WR_PTR_Msk 0xFF000000UL 356 /* SCB.RX_MATCH */ 357 #define SCB_RX_MATCH_ADDR_Pos 0UL 358 #define SCB_RX_MATCH_ADDR_Msk 0xFFUL 359 #define SCB_RX_MATCH_MASK_Pos 16UL 360 #define SCB_RX_MATCH_MASK_Msk 0xFF0000UL 361 /* SCB.RX_FIFO_RD */ 362 #define SCB_RX_FIFO_RD_DATA_Pos 0UL 363 #define SCB_RX_FIFO_RD_DATA_Msk 0xFFFFUL 364 /* SCB.RX_FIFO_RD_SILENT */ 365 #define SCB_RX_FIFO_RD_SILENT_DATA_Pos 0UL 366 #define SCB_RX_FIFO_RD_SILENT_DATA_Msk 0xFFFFUL 367 /* SCB.EZ_DATA */ 368 #define SCB_EZ_DATA_EZ_DATA_Pos 0UL 369 #define SCB_EZ_DATA_EZ_DATA_Msk 0xFFUL 370 /* SCB.INTR_CAUSE */ 371 #define SCB_INTR_CAUSE_M_Pos 0UL 372 #define SCB_INTR_CAUSE_M_Msk 0x1UL 373 #define SCB_INTR_CAUSE_S_Pos 1UL 374 #define SCB_INTR_CAUSE_S_Msk 0x2UL 375 #define SCB_INTR_CAUSE_TX_Pos 2UL 376 #define SCB_INTR_CAUSE_TX_Msk 0x4UL 377 #define SCB_INTR_CAUSE_RX_Pos 3UL 378 #define SCB_INTR_CAUSE_RX_Msk 0x8UL 379 #define SCB_INTR_CAUSE_I2C_EC_Pos 4UL 380 #define SCB_INTR_CAUSE_I2C_EC_Msk 0x10UL 381 #define SCB_INTR_CAUSE_SPI_EC_Pos 5UL 382 #define SCB_INTR_CAUSE_SPI_EC_Msk 0x20UL 383 /* SCB.INTR_I2C_EC */ 384 #define SCB_INTR_I2C_EC_WAKE_UP_Pos 0UL 385 #define SCB_INTR_I2C_EC_WAKE_UP_Msk 0x1UL 386 #define SCB_INTR_I2C_EC_EZ_STOP_Pos 1UL 387 #define SCB_INTR_I2C_EC_EZ_STOP_Msk 0x2UL 388 #define SCB_INTR_I2C_EC_EZ_WRITE_STOP_Pos 2UL 389 #define SCB_INTR_I2C_EC_EZ_WRITE_STOP_Msk 0x4UL 390 #define SCB_INTR_I2C_EC_EZ_READ_STOP_Pos 3UL 391 #define SCB_INTR_I2C_EC_EZ_READ_STOP_Msk 0x8UL 392 /* SCB.INTR_I2C_EC_MASK */ 393 #define SCB_INTR_I2C_EC_MASK_WAKE_UP_Pos 0UL 394 #define SCB_INTR_I2C_EC_MASK_WAKE_UP_Msk 0x1UL 395 #define SCB_INTR_I2C_EC_MASK_EZ_STOP_Pos 1UL 396 #define SCB_INTR_I2C_EC_MASK_EZ_STOP_Msk 0x2UL 397 #define SCB_INTR_I2C_EC_MASK_EZ_WRITE_STOP_Pos 2UL 398 #define SCB_INTR_I2C_EC_MASK_EZ_WRITE_STOP_Msk 0x4UL 399 #define SCB_INTR_I2C_EC_MASK_EZ_READ_STOP_Pos 3UL 400 #define SCB_INTR_I2C_EC_MASK_EZ_READ_STOP_Msk 0x8UL 401 /* SCB.INTR_I2C_EC_MASKED */ 402 #define SCB_INTR_I2C_EC_MASKED_WAKE_UP_Pos 0UL 403 #define SCB_INTR_I2C_EC_MASKED_WAKE_UP_Msk 0x1UL 404 #define SCB_INTR_I2C_EC_MASKED_EZ_STOP_Pos 1UL 405 #define SCB_INTR_I2C_EC_MASKED_EZ_STOP_Msk 0x2UL 406 #define SCB_INTR_I2C_EC_MASKED_EZ_WRITE_STOP_Pos 2UL 407 #define SCB_INTR_I2C_EC_MASKED_EZ_WRITE_STOP_Msk 0x4UL 408 #define SCB_INTR_I2C_EC_MASKED_EZ_READ_STOP_Pos 3UL 409 #define SCB_INTR_I2C_EC_MASKED_EZ_READ_STOP_Msk 0x8UL 410 /* SCB.INTR_SPI_EC */ 411 #define SCB_INTR_SPI_EC_WAKE_UP_Pos 0UL 412 #define SCB_INTR_SPI_EC_WAKE_UP_Msk 0x1UL 413 #define SCB_INTR_SPI_EC_EZ_STOP_Pos 1UL 414 #define SCB_INTR_SPI_EC_EZ_STOP_Msk 0x2UL 415 #define SCB_INTR_SPI_EC_EZ_WRITE_STOP_Pos 2UL 416 #define SCB_INTR_SPI_EC_EZ_WRITE_STOP_Msk 0x4UL 417 #define SCB_INTR_SPI_EC_EZ_READ_STOP_Pos 3UL 418 #define SCB_INTR_SPI_EC_EZ_READ_STOP_Msk 0x8UL 419 /* SCB.INTR_SPI_EC_MASK */ 420 #define SCB_INTR_SPI_EC_MASK_WAKE_UP_Pos 0UL 421 #define SCB_INTR_SPI_EC_MASK_WAKE_UP_Msk 0x1UL 422 #define SCB_INTR_SPI_EC_MASK_EZ_STOP_Pos 1UL 423 #define SCB_INTR_SPI_EC_MASK_EZ_STOP_Msk 0x2UL 424 #define SCB_INTR_SPI_EC_MASK_EZ_WRITE_STOP_Pos 2UL 425 #define SCB_INTR_SPI_EC_MASK_EZ_WRITE_STOP_Msk 0x4UL 426 #define SCB_INTR_SPI_EC_MASK_EZ_READ_STOP_Pos 3UL 427 #define SCB_INTR_SPI_EC_MASK_EZ_READ_STOP_Msk 0x8UL 428 /* SCB.INTR_SPI_EC_MASKED */ 429 #define SCB_INTR_SPI_EC_MASKED_WAKE_UP_Pos 0UL 430 #define SCB_INTR_SPI_EC_MASKED_WAKE_UP_Msk 0x1UL 431 #define SCB_INTR_SPI_EC_MASKED_EZ_STOP_Pos 1UL 432 #define SCB_INTR_SPI_EC_MASKED_EZ_STOP_Msk 0x2UL 433 #define SCB_INTR_SPI_EC_MASKED_EZ_WRITE_STOP_Pos 2UL 434 #define SCB_INTR_SPI_EC_MASKED_EZ_WRITE_STOP_Msk 0x4UL 435 #define SCB_INTR_SPI_EC_MASKED_EZ_READ_STOP_Pos 3UL 436 #define SCB_INTR_SPI_EC_MASKED_EZ_READ_STOP_Msk 0x8UL 437 /* SCB.INTR_M */ 438 #define SCB_INTR_M_I2C_ARB_LOST_Pos 0UL 439 #define SCB_INTR_M_I2C_ARB_LOST_Msk 0x1UL 440 #define SCB_INTR_M_I2C_NACK_Pos 1UL 441 #define SCB_INTR_M_I2C_NACK_Msk 0x2UL 442 #define SCB_INTR_M_I2C_ACK_Pos 2UL 443 #define SCB_INTR_M_I2C_ACK_Msk 0x4UL 444 #define SCB_INTR_M_I2C_STOP_Pos 4UL 445 #define SCB_INTR_M_I2C_STOP_Msk 0x10UL 446 #define SCB_INTR_M_I2C_BUS_ERROR_Pos 8UL 447 #define SCB_INTR_M_I2C_BUS_ERROR_Msk 0x100UL 448 #define SCB_INTR_M_SPI_DONE_Pos 9UL 449 #define SCB_INTR_M_SPI_DONE_Msk 0x200UL 450 /* SCB.INTR_M_SET */ 451 #define SCB_INTR_M_SET_I2C_ARB_LOST_Pos 0UL 452 #define SCB_INTR_M_SET_I2C_ARB_LOST_Msk 0x1UL 453 #define SCB_INTR_M_SET_I2C_NACK_Pos 1UL 454 #define SCB_INTR_M_SET_I2C_NACK_Msk 0x2UL 455 #define SCB_INTR_M_SET_I2C_ACK_Pos 2UL 456 #define SCB_INTR_M_SET_I2C_ACK_Msk 0x4UL 457 #define SCB_INTR_M_SET_I2C_STOP_Pos 4UL 458 #define SCB_INTR_M_SET_I2C_STOP_Msk 0x10UL 459 #define SCB_INTR_M_SET_I2C_BUS_ERROR_Pos 8UL 460 #define SCB_INTR_M_SET_I2C_BUS_ERROR_Msk 0x100UL 461 #define SCB_INTR_M_SET_SPI_DONE_Pos 9UL 462 #define SCB_INTR_M_SET_SPI_DONE_Msk 0x200UL 463 /* SCB.INTR_M_MASK */ 464 #define SCB_INTR_M_MASK_I2C_ARB_LOST_Pos 0UL 465 #define SCB_INTR_M_MASK_I2C_ARB_LOST_Msk 0x1UL 466 #define SCB_INTR_M_MASK_I2C_NACK_Pos 1UL 467 #define SCB_INTR_M_MASK_I2C_NACK_Msk 0x2UL 468 #define SCB_INTR_M_MASK_I2C_ACK_Pos 2UL 469 #define SCB_INTR_M_MASK_I2C_ACK_Msk 0x4UL 470 #define SCB_INTR_M_MASK_I2C_STOP_Pos 4UL 471 #define SCB_INTR_M_MASK_I2C_STOP_Msk 0x10UL 472 #define SCB_INTR_M_MASK_I2C_BUS_ERROR_Pos 8UL 473 #define SCB_INTR_M_MASK_I2C_BUS_ERROR_Msk 0x100UL 474 #define SCB_INTR_M_MASK_SPI_DONE_Pos 9UL 475 #define SCB_INTR_M_MASK_SPI_DONE_Msk 0x200UL 476 /* SCB.INTR_M_MASKED */ 477 #define SCB_INTR_M_MASKED_I2C_ARB_LOST_Pos 0UL 478 #define SCB_INTR_M_MASKED_I2C_ARB_LOST_Msk 0x1UL 479 #define SCB_INTR_M_MASKED_I2C_NACK_Pos 1UL 480 #define SCB_INTR_M_MASKED_I2C_NACK_Msk 0x2UL 481 #define SCB_INTR_M_MASKED_I2C_ACK_Pos 2UL 482 #define SCB_INTR_M_MASKED_I2C_ACK_Msk 0x4UL 483 #define SCB_INTR_M_MASKED_I2C_STOP_Pos 4UL 484 #define SCB_INTR_M_MASKED_I2C_STOP_Msk 0x10UL 485 #define SCB_INTR_M_MASKED_I2C_BUS_ERROR_Pos 8UL 486 #define SCB_INTR_M_MASKED_I2C_BUS_ERROR_Msk 0x100UL 487 #define SCB_INTR_M_MASKED_SPI_DONE_Pos 9UL 488 #define SCB_INTR_M_MASKED_SPI_DONE_Msk 0x200UL 489 /* SCB.INTR_S */ 490 #define SCB_INTR_S_I2C_ARB_LOST_Pos 0UL 491 #define SCB_INTR_S_I2C_ARB_LOST_Msk 0x1UL 492 #define SCB_INTR_S_I2C_NACK_Pos 1UL 493 #define SCB_INTR_S_I2C_NACK_Msk 0x2UL 494 #define SCB_INTR_S_I2C_ACK_Pos 2UL 495 #define SCB_INTR_S_I2C_ACK_Msk 0x4UL 496 #define SCB_INTR_S_I2C_WRITE_STOP_Pos 3UL 497 #define SCB_INTR_S_I2C_WRITE_STOP_Msk 0x8UL 498 #define SCB_INTR_S_I2C_STOP_Pos 4UL 499 #define SCB_INTR_S_I2C_STOP_Msk 0x10UL 500 #define SCB_INTR_S_I2C_START_Pos 5UL 501 #define SCB_INTR_S_I2C_START_Msk 0x20UL 502 #define SCB_INTR_S_I2C_ADDR_MATCH_Pos 6UL 503 #define SCB_INTR_S_I2C_ADDR_MATCH_Msk 0x40UL 504 #define SCB_INTR_S_I2C_GENERAL_Pos 7UL 505 #define SCB_INTR_S_I2C_GENERAL_Msk 0x80UL 506 #define SCB_INTR_S_I2C_BUS_ERROR_Pos 8UL 507 #define SCB_INTR_S_I2C_BUS_ERROR_Msk 0x100UL 508 #define SCB_INTR_S_SPI_EZ_WRITE_STOP_Pos 9UL 509 #define SCB_INTR_S_SPI_EZ_WRITE_STOP_Msk 0x200UL 510 #define SCB_INTR_S_SPI_EZ_STOP_Pos 10UL 511 #define SCB_INTR_S_SPI_EZ_STOP_Msk 0x400UL 512 #define SCB_INTR_S_SPI_BUS_ERROR_Pos 11UL 513 #define SCB_INTR_S_SPI_BUS_ERROR_Msk 0x800UL 514 /* SCB.INTR_S_SET */ 515 #define SCB_INTR_S_SET_I2C_ARB_LOST_Pos 0UL 516 #define SCB_INTR_S_SET_I2C_ARB_LOST_Msk 0x1UL 517 #define SCB_INTR_S_SET_I2C_NACK_Pos 1UL 518 #define SCB_INTR_S_SET_I2C_NACK_Msk 0x2UL 519 #define SCB_INTR_S_SET_I2C_ACK_Pos 2UL 520 #define SCB_INTR_S_SET_I2C_ACK_Msk 0x4UL 521 #define SCB_INTR_S_SET_I2C_WRITE_STOP_Pos 3UL 522 #define SCB_INTR_S_SET_I2C_WRITE_STOP_Msk 0x8UL 523 #define SCB_INTR_S_SET_I2C_STOP_Pos 4UL 524 #define SCB_INTR_S_SET_I2C_STOP_Msk 0x10UL 525 #define SCB_INTR_S_SET_I2C_START_Pos 5UL 526 #define SCB_INTR_S_SET_I2C_START_Msk 0x20UL 527 #define SCB_INTR_S_SET_I2C_ADDR_MATCH_Pos 6UL 528 #define SCB_INTR_S_SET_I2C_ADDR_MATCH_Msk 0x40UL 529 #define SCB_INTR_S_SET_I2C_GENERAL_Pos 7UL 530 #define SCB_INTR_S_SET_I2C_GENERAL_Msk 0x80UL 531 #define SCB_INTR_S_SET_I2C_BUS_ERROR_Pos 8UL 532 #define SCB_INTR_S_SET_I2C_BUS_ERROR_Msk 0x100UL 533 #define SCB_INTR_S_SET_SPI_EZ_WRITE_STOP_Pos 9UL 534 #define SCB_INTR_S_SET_SPI_EZ_WRITE_STOP_Msk 0x200UL 535 #define SCB_INTR_S_SET_SPI_EZ_STOP_Pos 10UL 536 #define SCB_INTR_S_SET_SPI_EZ_STOP_Msk 0x400UL 537 #define SCB_INTR_S_SET_SPI_BUS_ERROR_Pos 11UL 538 #define SCB_INTR_S_SET_SPI_BUS_ERROR_Msk 0x800UL 539 /* SCB.INTR_S_MASK */ 540 #define SCB_INTR_S_MASK_I2C_ARB_LOST_Pos 0UL 541 #define SCB_INTR_S_MASK_I2C_ARB_LOST_Msk 0x1UL 542 #define SCB_INTR_S_MASK_I2C_NACK_Pos 1UL 543 #define SCB_INTR_S_MASK_I2C_NACK_Msk 0x2UL 544 #define SCB_INTR_S_MASK_I2C_ACK_Pos 2UL 545 #define SCB_INTR_S_MASK_I2C_ACK_Msk 0x4UL 546 #define SCB_INTR_S_MASK_I2C_WRITE_STOP_Pos 3UL 547 #define SCB_INTR_S_MASK_I2C_WRITE_STOP_Msk 0x8UL 548 #define SCB_INTR_S_MASK_I2C_STOP_Pos 4UL 549 #define SCB_INTR_S_MASK_I2C_STOP_Msk 0x10UL 550 #define SCB_INTR_S_MASK_I2C_START_Pos 5UL 551 #define SCB_INTR_S_MASK_I2C_START_Msk 0x20UL 552 #define SCB_INTR_S_MASK_I2C_ADDR_MATCH_Pos 6UL 553 #define SCB_INTR_S_MASK_I2C_ADDR_MATCH_Msk 0x40UL 554 #define SCB_INTR_S_MASK_I2C_GENERAL_Pos 7UL 555 #define SCB_INTR_S_MASK_I2C_GENERAL_Msk 0x80UL 556 #define SCB_INTR_S_MASK_I2C_BUS_ERROR_Pos 8UL 557 #define SCB_INTR_S_MASK_I2C_BUS_ERROR_Msk 0x100UL 558 #define SCB_INTR_S_MASK_SPI_EZ_WRITE_STOP_Pos 9UL 559 #define SCB_INTR_S_MASK_SPI_EZ_WRITE_STOP_Msk 0x200UL 560 #define SCB_INTR_S_MASK_SPI_EZ_STOP_Pos 10UL 561 #define SCB_INTR_S_MASK_SPI_EZ_STOP_Msk 0x400UL 562 #define SCB_INTR_S_MASK_SPI_BUS_ERROR_Pos 11UL 563 #define SCB_INTR_S_MASK_SPI_BUS_ERROR_Msk 0x800UL 564 /* SCB.INTR_S_MASKED */ 565 #define SCB_INTR_S_MASKED_I2C_ARB_LOST_Pos 0UL 566 #define SCB_INTR_S_MASKED_I2C_ARB_LOST_Msk 0x1UL 567 #define SCB_INTR_S_MASKED_I2C_NACK_Pos 1UL 568 #define SCB_INTR_S_MASKED_I2C_NACK_Msk 0x2UL 569 #define SCB_INTR_S_MASKED_I2C_ACK_Pos 2UL 570 #define SCB_INTR_S_MASKED_I2C_ACK_Msk 0x4UL 571 #define SCB_INTR_S_MASKED_I2C_WRITE_STOP_Pos 3UL 572 #define SCB_INTR_S_MASKED_I2C_WRITE_STOP_Msk 0x8UL 573 #define SCB_INTR_S_MASKED_I2C_STOP_Pos 4UL 574 #define SCB_INTR_S_MASKED_I2C_STOP_Msk 0x10UL 575 #define SCB_INTR_S_MASKED_I2C_START_Pos 5UL 576 #define SCB_INTR_S_MASKED_I2C_START_Msk 0x20UL 577 #define SCB_INTR_S_MASKED_I2C_ADDR_MATCH_Pos 6UL 578 #define SCB_INTR_S_MASKED_I2C_ADDR_MATCH_Msk 0x40UL 579 #define SCB_INTR_S_MASKED_I2C_GENERAL_Pos 7UL 580 #define SCB_INTR_S_MASKED_I2C_GENERAL_Msk 0x80UL 581 #define SCB_INTR_S_MASKED_I2C_BUS_ERROR_Pos 8UL 582 #define SCB_INTR_S_MASKED_I2C_BUS_ERROR_Msk 0x100UL 583 #define SCB_INTR_S_MASKED_SPI_EZ_WRITE_STOP_Pos 9UL 584 #define SCB_INTR_S_MASKED_SPI_EZ_WRITE_STOP_Msk 0x200UL 585 #define SCB_INTR_S_MASKED_SPI_EZ_STOP_Pos 10UL 586 #define SCB_INTR_S_MASKED_SPI_EZ_STOP_Msk 0x400UL 587 #define SCB_INTR_S_MASKED_SPI_BUS_ERROR_Pos 11UL 588 #define SCB_INTR_S_MASKED_SPI_BUS_ERROR_Msk 0x800UL 589 /* SCB.INTR_TX */ 590 #define SCB_INTR_TX_TRIGGER_Pos 0UL 591 #define SCB_INTR_TX_TRIGGER_Msk 0x1UL 592 #define SCB_INTR_TX_NOT_FULL_Pos 1UL 593 #define SCB_INTR_TX_NOT_FULL_Msk 0x2UL 594 #define SCB_INTR_TX_EMPTY_Pos 4UL 595 #define SCB_INTR_TX_EMPTY_Msk 0x10UL 596 #define SCB_INTR_TX_OVERFLOW_Pos 5UL 597 #define SCB_INTR_TX_OVERFLOW_Msk 0x20UL 598 #define SCB_INTR_TX_UNDERFLOW_Pos 6UL 599 #define SCB_INTR_TX_UNDERFLOW_Msk 0x40UL 600 #define SCB_INTR_TX_BLOCKED_Pos 7UL 601 #define SCB_INTR_TX_BLOCKED_Msk 0x80UL 602 #define SCB_INTR_TX_UART_NACK_Pos 8UL 603 #define SCB_INTR_TX_UART_NACK_Msk 0x100UL 604 #define SCB_INTR_TX_UART_DONE_Pos 9UL 605 #define SCB_INTR_TX_UART_DONE_Msk 0x200UL 606 #define SCB_INTR_TX_UART_ARB_LOST_Pos 10UL 607 #define SCB_INTR_TX_UART_ARB_LOST_Msk 0x400UL 608 /* SCB.INTR_TX_SET */ 609 #define SCB_INTR_TX_SET_TRIGGER_Pos 0UL 610 #define SCB_INTR_TX_SET_TRIGGER_Msk 0x1UL 611 #define SCB_INTR_TX_SET_NOT_FULL_Pos 1UL 612 #define SCB_INTR_TX_SET_NOT_FULL_Msk 0x2UL 613 #define SCB_INTR_TX_SET_EMPTY_Pos 4UL 614 #define SCB_INTR_TX_SET_EMPTY_Msk 0x10UL 615 #define SCB_INTR_TX_SET_OVERFLOW_Pos 5UL 616 #define SCB_INTR_TX_SET_OVERFLOW_Msk 0x20UL 617 #define SCB_INTR_TX_SET_UNDERFLOW_Pos 6UL 618 #define SCB_INTR_TX_SET_UNDERFLOW_Msk 0x40UL 619 #define SCB_INTR_TX_SET_BLOCKED_Pos 7UL 620 #define SCB_INTR_TX_SET_BLOCKED_Msk 0x80UL 621 #define SCB_INTR_TX_SET_UART_NACK_Pos 8UL 622 #define SCB_INTR_TX_SET_UART_NACK_Msk 0x100UL 623 #define SCB_INTR_TX_SET_UART_DONE_Pos 9UL 624 #define SCB_INTR_TX_SET_UART_DONE_Msk 0x200UL 625 #define SCB_INTR_TX_SET_UART_ARB_LOST_Pos 10UL 626 #define SCB_INTR_TX_SET_UART_ARB_LOST_Msk 0x400UL 627 /* SCB.INTR_TX_MASK */ 628 #define SCB_INTR_TX_MASK_TRIGGER_Pos 0UL 629 #define SCB_INTR_TX_MASK_TRIGGER_Msk 0x1UL 630 #define SCB_INTR_TX_MASK_NOT_FULL_Pos 1UL 631 #define SCB_INTR_TX_MASK_NOT_FULL_Msk 0x2UL 632 #define SCB_INTR_TX_MASK_EMPTY_Pos 4UL 633 #define SCB_INTR_TX_MASK_EMPTY_Msk 0x10UL 634 #define SCB_INTR_TX_MASK_OVERFLOW_Pos 5UL 635 #define SCB_INTR_TX_MASK_OVERFLOW_Msk 0x20UL 636 #define SCB_INTR_TX_MASK_UNDERFLOW_Pos 6UL 637 #define SCB_INTR_TX_MASK_UNDERFLOW_Msk 0x40UL 638 #define SCB_INTR_TX_MASK_BLOCKED_Pos 7UL 639 #define SCB_INTR_TX_MASK_BLOCKED_Msk 0x80UL 640 #define SCB_INTR_TX_MASK_UART_NACK_Pos 8UL 641 #define SCB_INTR_TX_MASK_UART_NACK_Msk 0x100UL 642 #define SCB_INTR_TX_MASK_UART_DONE_Pos 9UL 643 #define SCB_INTR_TX_MASK_UART_DONE_Msk 0x200UL 644 #define SCB_INTR_TX_MASK_UART_ARB_LOST_Pos 10UL 645 #define SCB_INTR_TX_MASK_UART_ARB_LOST_Msk 0x400UL 646 /* SCB.INTR_TX_MASKED */ 647 #define SCB_INTR_TX_MASKED_TRIGGER_Pos 0UL 648 #define SCB_INTR_TX_MASKED_TRIGGER_Msk 0x1UL 649 #define SCB_INTR_TX_MASKED_NOT_FULL_Pos 1UL 650 #define SCB_INTR_TX_MASKED_NOT_FULL_Msk 0x2UL 651 #define SCB_INTR_TX_MASKED_EMPTY_Pos 4UL 652 #define SCB_INTR_TX_MASKED_EMPTY_Msk 0x10UL 653 #define SCB_INTR_TX_MASKED_OVERFLOW_Pos 5UL 654 #define SCB_INTR_TX_MASKED_OVERFLOW_Msk 0x20UL 655 #define SCB_INTR_TX_MASKED_UNDERFLOW_Pos 6UL 656 #define SCB_INTR_TX_MASKED_UNDERFLOW_Msk 0x40UL 657 #define SCB_INTR_TX_MASKED_BLOCKED_Pos 7UL 658 #define SCB_INTR_TX_MASKED_BLOCKED_Msk 0x80UL 659 #define SCB_INTR_TX_MASKED_UART_NACK_Pos 8UL 660 #define SCB_INTR_TX_MASKED_UART_NACK_Msk 0x100UL 661 #define SCB_INTR_TX_MASKED_UART_DONE_Pos 9UL 662 #define SCB_INTR_TX_MASKED_UART_DONE_Msk 0x200UL 663 #define SCB_INTR_TX_MASKED_UART_ARB_LOST_Pos 10UL 664 #define SCB_INTR_TX_MASKED_UART_ARB_LOST_Msk 0x400UL 665 /* SCB.INTR_RX */ 666 #define SCB_INTR_RX_TRIGGER_Pos 0UL 667 #define SCB_INTR_RX_TRIGGER_Msk 0x1UL 668 #define SCB_INTR_RX_NOT_EMPTY_Pos 2UL 669 #define SCB_INTR_RX_NOT_EMPTY_Msk 0x4UL 670 #define SCB_INTR_RX_FULL_Pos 3UL 671 #define SCB_INTR_RX_FULL_Msk 0x8UL 672 #define SCB_INTR_RX_OVERFLOW_Pos 5UL 673 #define SCB_INTR_RX_OVERFLOW_Msk 0x20UL 674 #define SCB_INTR_RX_UNDERFLOW_Pos 6UL 675 #define SCB_INTR_RX_UNDERFLOW_Msk 0x40UL 676 #define SCB_INTR_RX_BLOCKED_Pos 7UL 677 #define SCB_INTR_RX_BLOCKED_Msk 0x80UL 678 #define SCB_INTR_RX_FRAME_ERROR_Pos 8UL 679 #define SCB_INTR_RX_FRAME_ERROR_Msk 0x100UL 680 #define SCB_INTR_RX_PARITY_ERROR_Pos 9UL 681 #define SCB_INTR_RX_PARITY_ERROR_Msk 0x200UL 682 #define SCB_INTR_RX_BAUD_DETECT_Pos 10UL 683 #define SCB_INTR_RX_BAUD_DETECT_Msk 0x400UL 684 #define SCB_INTR_RX_BREAK_DETECT_Pos 11UL 685 #define SCB_INTR_RX_BREAK_DETECT_Msk 0x800UL 686 /* SCB.INTR_RX_SET */ 687 #define SCB_INTR_RX_SET_TRIGGER_Pos 0UL 688 #define SCB_INTR_RX_SET_TRIGGER_Msk 0x1UL 689 #define SCB_INTR_RX_SET_NOT_EMPTY_Pos 2UL 690 #define SCB_INTR_RX_SET_NOT_EMPTY_Msk 0x4UL 691 #define SCB_INTR_RX_SET_FULL_Pos 3UL 692 #define SCB_INTR_RX_SET_FULL_Msk 0x8UL 693 #define SCB_INTR_RX_SET_OVERFLOW_Pos 5UL 694 #define SCB_INTR_RX_SET_OVERFLOW_Msk 0x20UL 695 #define SCB_INTR_RX_SET_UNDERFLOW_Pos 6UL 696 #define SCB_INTR_RX_SET_UNDERFLOW_Msk 0x40UL 697 #define SCB_INTR_RX_SET_BLOCKED_Pos 7UL 698 #define SCB_INTR_RX_SET_BLOCKED_Msk 0x80UL 699 #define SCB_INTR_RX_SET_FRAME_ERROR_Pos 8UL 700 #define SCB_INTR_RX_SET_FRAME_ERROR_Msk 0x100UL 701 #define SCB_INTR_RX_SET_PARITY_ERROR_Pos 9UL 702 #define SCB_INTR_RX_SET_PARITY_ERROR_Msk 0x200UL 703 #define SCB_INTR_RX_SET_BAUD_DETECT_Pos 10UL 704 #define SCB_INTR_RX_SET_BAUD_DETECT_Msk 0x400UL 705 #define SCB_INTR_RX_SET_BREAK_DETECT_Pos 11UL 706 #define SCB_INTR_RX_SET_BREAK_DETECT_Msk 0x800UL 707 /* SCB.INTR_RX_MASK */ 708 #define SCB_INTR_RX_MASK_TRIGGER_Pos 0UL 709 #define SCB_INTR_RX_MASK_TRIGGER_Msk 0x1UL 710 #define SCB_INTR_RX_MASK_NOT_EMPTY_Pos 2UL 711 #define SCB_INTR_RX_MASK_NOT_EMPTY_Msk 0x4UL 712 #define SCB_INTR_RX_MASK_FULL_Pos 3UL 713 #define SCB_INTR_RX_MASK_FULL_Msk 0x8UL 714 #define SCB_INTR_RX_MASK_OVERFLOW_Pos 5UL 715 #define SCB_INTR_RX_MASK_OVERFLOW_Msk 0x20UL 716 #define SCB_INTR_RX_MASK_UNDERFLOW_Pos 6UL 717 #define SCB_INTR_RX_MASK_UNDERFLOW_Msk 0x40UL 718 #define SCB_INTR_RX_MASK_BLOCKED_Pos 7UL 719 #define SCB_INTR_RX_MASK_BLOCKED_Msk 0x80UL 720 #define SCB_INTR_RX_MASK_FRAME_ERROR_Pos 8UL 721 #define SCB_INTR_RX_MASK_FRAME_ERROR_Msk 0x100UL 722 #define SCB_INTR_RX_MASK_PARITY_ERROR_Pos 9UL 723 #define SCB_INTR_RX_MASK_PARITY_ERROR_Msk 0x200UL 724 #define SCB_INTR_RX_MASK_BAUD_DETECT_Pos 10UL 725 #define SCB_INTR_RX_MASK_BAUD_DETECT_Msk 0x400UL 726 #define SCB_INTR_RX_MASK_BREAK_DETECT_Pos 11UL 727 #define SCB_INTR_RX_MASK_BREAK_DETECT_Msk 0x800UL 728 /* SCB.INTR_RX_MASKED */ 729 #define SCB_INTR_RX_MASKED_TRIGGER_Pos 0UL 730 #define SCB_INTR_RX_MASKED_TRIGGER_Msk 0x1UL 731 #define SCB_INTR_RX_MASKED_NOT_EMPTY_Pos 2UL 732 #define SCB_INTR_RX_MASKED_NOT_EMPTY_Msk 0x4UL 733 #define SCB_INTR_RX_MASKED_FULL_Pos 3UL 734 #define SCB_INTR_RX_MASKED_FULL_Msk 0x8UL 735 #define SCB_INTR_RX_MASKED_OVERFLOW_Pos 5UL 736 #define SCB_INTR_RX_MASKED_OVERFLOW_Msk 0x20UL 737 #define SCB_INTR_RX_MASKED_UNDERFLOW_Pos 6UL 738 #define SCB_INTR_RX_MASKED_UNDERFLOW_Msk 0x40UL 739 #define SCB_INTR_RX_MASKED_BLOCKED_Pos 7UL 740 #define SCB_INTR_RX_MASKED_BLOCKED_Msk 0x80UL 741 #define SCB_INTR_RX_MASKED_FRAME_ERROR_Pos 8UL 742 #define SCB_INTR_RX_MASKED_FRAME_ERROR_Msk 0x100UL 743 #define SCB_INTR_RX_MASKED_PARITY_ERROR_Pos 9UL 744 #define SCB_INTR_RX_MASKED_PARITY_ERROR_Msk 0x200UL 745 #define SCB_INTR_RX_MASKED_BAUD_DETECT_Pos 10UL 746 #define SCB_INTR_RX_MASKED_BAUD_DETECT_Msk 0x400UL 747 #define SCB_INTR_RX_MASKED_BREAK_DETECT_Pos 11UL 748 #define SCB_INTR_RX_MASKED_BREAK_DETECT_Msk 0x800UL 749 750 751 #endif /* _CYIP_SCB_H_ */ 752 753 754 /* [] END OF FILE */ 755