30 #ifndef _SAMV71_USART_COMPONENT_ 31 #define _SAMV71_USART_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 50 __IO uint32_t US_BRGR;
51 __IO uint32_t US_RTOR;
52 __IO uint32_t US_TTGR;
53 __I uint32_t Reserved1[5];
54 __IO uint32_t US_FIDI;
56 __I uint32_t Reserved2[1];
59 __IO uint32_t US_LINMR;
60 __IO uint32_t US_LINIR;
61 __I uint32_t US_LINBRR;
62 __IO uint32_t US_LONMR;
63 __IO uint32_t US_LONPR;
64 __IO uint32_t US_LONDL;
65 __IO uint32_t US_LONL2HDR;
66 __I uint32_t US_LONBL;
67 __IO uint32_t US_LONB1TX;
68 __IO uint32_t US_LONB1RX;
69 __IO uint32_t US_LONPRIO;
70 __IO uint32_t US_IDTTX;
71 __IO uint32_t US_IDTRX;
72 __IO uint32_t US_ICDIFF;
73 __I uint32_t Reserved3[22];
74 __IO uint32_t US_WPMR;
76 __I uint32_t Reserved4[4];
81 #define US_CR_RSTRX (0x1u << 2) 82 #define US_CR_RSTTX (0x1u << 3) 83 #define US_CR_RXEN (0x1u << 4) 84 #define US_CR_RXDIS (0x1u << 5) 85 #define US_CR_TXEN (0x1u << 6) 86 #define US_CR_TXDIS (0x1u << 7) 87 #define US_CR_RSTSTA (0x1u << 8) 88 #define US_CR_STTBRK (0x1u << 9) 89 #define US_CR_STPBRK (0x1u << 10) 90 #define US_CR_STTTO (0x1u << 11) 91 #define US_CR_SENDA (0x1u << 12) 92 #define US_CR_RSTIT (0x1u << 13) 93 #define US_CR_RSTNACK (0x1u << 14) 94 #define US_CR_RETTO (0x1u << 15) 95 #define US_CR_DTREN (0x1u << 16) 96 #define US_CR_DTRDIS (0x1u << 17) 97 #define US_CR_RTSEN (0x1u << 18) 98 #define US_CR_RTSDIS (0x1u << 19) 99 #define US_CR_LINABT (0x1u << 20) 100 #define US_CR_LINWKUP (0x1u << 21) 101 #define US_CR_FCS (0x1u << 18) 102 #define US_CR_RCS (0x1u << 19) 104 #define US_MR_USART_MODE_Pos 0 105 #define US_MR_USART_MODE_Msk (0xfu << US_MR_USART_MODE_Pos) 106 #define US_MR_USART_MODE(value) ((US_MR_USART_MODE_Msk & ((value) << US_MR_USART_MODE_Pos))) 107 #define US_MR_USART_MODE_NORMAL (0x0u << 0) 108 #define US_MR_USART_MODE_RS485 (0x1u << 0) 109 #define US_MR_USART_MODE_HW_HANDSHAKING (0x2u << 0) 110 #define US_MR_USART_MODE_MODEM (0x3u << 0) 111 #define US_MR_USART_MODE_IS07816_T_0 (0x4u << 0) 112 #define US_MR_USART_MODE_IS07816_T_1 (0x6u << 0) 113 #define US_MR_USART_MODE_IRDA (0x8u << 0) 114 #define US_MR_USART_MODE_LON (0x9u << 0) 115 #define US_MR_USART_MODE_SPI_MASTER (0xEu << 0) 116 #define US_MR_USART_MODE_SPI_SLAVE (0xFu << 0) 117 #define US_MR_USCLKS_Pos 4 118 #define US_MR_USCLKS_Msk (0x3u << US_MR_USCLKS_Pos) 119 #define US_MR_USCLKS(value) ((US_MR_USCLKS_Msk & ((value) << US_MR_USCLKS_Pos))) 120 #define US_MR_USCLKS_MCK (0x0u << 4) 121 #define US_MR_USCLKS_DIV (0x1u << 4) 122 #define US_MR_USCLKS_PCK (0x2u << 4) 123 #define US_MR_USCLKS_SCK (0x3u << 4) 124 #define US_MR_CHRL_Pos 6 125 #define US_MR_CHRL_Msk (0x3u << US_MR_CHRL_Pos) 126 #define US_MR_CHRL(value) ((US_MR_CHRL_Msk & ((value) << US_MR_CHRL_Pos))) 127 #define US_MR_CHRL_5_BIT (0x0u << 6) 128 #define US_MR_CHRL_6_BIT (0x1u << 6) 129 #define US_MR_CHRL_7_BIT (0x2u << 6) 130 #define US_MR_CHRL_8_BIT (0x3u << 6) 131 #define US_MR_SYNC (0x1u << 8) 132 #define US_MR_PAR_Pos 9 133 #define US_MR_PAR_Msk (0x7u << US_MR_PAR_Pos) 134 #define US_MR_PAR(value) ((US_MR_PAR_Msk & ((value) << US_MR_PAR_Pos))) 135 #define US_MR_PAR_EVEN (0x0u << 9) 136 #define US_MR_PAR_ODD (0x1u << 9) 137 #define US_MR_PAR_SPACE (0x2u << 9) 138 #define US_MR_PAR_MARK (0x3u << 9) 139 #define US_MR_PAR_NO (0x4u << 9) 140 #define US_MR_PAR_MULTIDROP (0x6u << 9) 141 #define US_MR_NBSTOP_Pos 12 142 #define US_MR_NBSTOP_Msk (0x3u << US_MR_NBSTOP_Pos) 143 #define US_MR_NBSTOP(value) ((US_MR_NBSTOP_Msk & ((value) << US_MR_NBSTOP_Pos))) 144 #define US_MR_NBSTOP_1_BIT (0x0u << 12) 145 #define US_MR_NBSTOP_1_5_BIT (0x1u << 12) 146 #define US_MR_NBSTOP_2_BIT (0x2u << 12) 147 #define US_MR_CHMODE_Pos 14 148 #define US_MR_CHMODE_Msk (0x3u << US_MR_CHMODE_Pos) 149 #define US_MR_CHMODE(value) ((US_MR_CHMODE_Msk & ((value) << US_MR_CHMODE_Pos))) 150 #define US_MR_CHMODE_NORMAL (0x0u << 14) 151 #define US_MR_CHMODE_AUTOMATIC (0x1u << 14) 152 #define US_MR_CHMODE_LOCAL_LOOPBACK (0x2u << 14) 153 #define US_MR_CHMODE_REMOTE_LOOPBACK (0x3u << 14) 154 #define US_MR_MSBF (0x1u << 16) 155 #define US_MR_MODE9 (0x1u << 17) 156 #define US_MR_CLKO (0x1u << 18) 157 #define US_MR_OVER (0x1u << 19) 158 #define US_MR_INACK (0x1u << 20) 159 #define US_MR_DSNACK (0x1u << 21) 160 #define US_MR_VAR_SYNC (0x1u << 22) 161 #define US_MR_INVDATA (0x1u << 23) 162 #define US_MR_MAX_ITERATION_Pos 24 163 #define US_MR_MAX_ITERATION_Msk (0x7u << US_MR_MAX_ITERATION_Pos) 164 #define US_MR_MAX_ITERATION(value) ((US_MR_MAX_ITERATION_Msk & ((value) << US_MR_MAX_ITERATION_Pos))) 165 #define US_MR_FILTER (0x1u << 28) 166 #define US_MR_MAN (0x1u << 29) 167 #define US_MR_MODSYNC (0x1u << 30) 168 #define US_MR_ONEBIT (0x1u << 31) 169 #define US_MR_CPHA (0x1u << 8) 170 #define US_MR_CPOL (0x1u << 16) 171 #define US_MR_WRDBT (0x1u << 20) 173 #define US_IER_RXRDY (0x1u << 0) 174 #define US_IER_TXRDY (0x1u << 1) 175 #define US_IER_RXBRK (0x1u << 2) 176 #define US_IER_OVRE (0x1u << 5) 177 #define US_IER_FRAME (0x1u << 6) 178 #define US_IER_PARE (0x1u << 7) 179 #define US_IER_TIMEOUT (0x1u << 8) 180 #define US_IER_TXEMPTY (0x1u << 9) 181 #define US_IER_ITER (0x1u << 10) 182 #define US_IER_NACK (0x1u << 13) 183 #define US_IER_RIIC (0x1u << 16) 184 #define US_IER_DSRIC (0x1u << 17) 185 #define US_IER_DCDIC (0x1u << 18) 186 #define US_IER_CTSIC (0x1u << 19) 187 #define US_IER_MANE (0x1u << 24) 188 #define US_IER_UNRE (0x1u << 10) 189 #define US_IER_NSSE (0x1u << 19) 190 #define US_IER_LINBK (0x1u << 13) 191 #define US_IER_LINID (0x1u << 14) 192 #define US_IER_LINTC (0x1u << 15) 193 #define US_IER_LINBE (0x1u << 25) 194 #define US_IER_LINISFE (0x1u << 26) 195 #define US_IER_LINIPE (0x1u << 27) 196 #define US_IER_LINCE (0x1u << 28) 197 #define US_IER_LINSNRE (0x1u << 29) 198 #define US_IER_LINSTE (0x1u << 30) 199 #define US_IER_LINHTE (0x1u << 31) 200 #define US_IER_LSFE (0x1u << 6) 201 #define US_IER_LCRCE (0x1u << 7) 202 #define US_IER_LTXD (0x1u << 24) 203 #define US_IER_LCOL (0x1u << 25) 204 #define US_IER_LFET (0x1u << 26) 205 #define US_IER_LRXD (0x1u << 27) 206 #define US_IER_LBLOVFE (0x1u << 28) 208 #define US_IDR_RXRDY (0x1u << 0) 209 #define US_IDR_TXRDY (0x1u << 1) 210 #define US_IDR_RXBRK (0x1u << 2) 211 #define US_IDR_OVRE (0x1u << 5) 212 #define US_IDR_FRAME (0x1u << 6) 213 #define US_IDR_PARE (0x1u << 7) 214 #define US_IDR_TIMEOUT (0x1u << 8) 215 #define US_IDR_TXEMPTY (0x1u << 9) 216 #define US_IDR_ITER (0x1u << 10) 217 #define US_IDR_NACK (0x1u << 13) 218 #define US_IDR_RIIC (0x1u << 16) 219 #define US_IDR_DSRIC (0x1u << 17) 220 #define US_IDR_DCDIC (0x1u << 18) 221 #define US_IDR_CTSIC (0x1u << 19) 222 #define US_IDR_MANE (0x1u << 24) 223 #define US_IDR_UNRE (0x1u << 10) 224 #define US_IDR_NSSE (0x1u << 19) 225 #define US_IDR_LINBK (0x1u << 13) 226 #define US_IDR_LINID (0x1u << 14) 227 #define US_IDR_LINTC (0x1u << 15) 228 #define US_IDR_LINBE (0x1u << 25) 229 #define US_IDR_LINISFE (0x1u << 26) 230 #define US_IDR_LINIPE (0x1u << 27) 231 #define US_IDR_LINCE (0x1u << 28) 232 #define US_IDR_LINSNRE (0x1u << 29) 233 #define US_IDR_LINSTE (0x1u << 30) 234 #define US_IDR_LINHTE (0x1u << 31) 235 #define US_IDR_LSFE (0x1u << 6) 236 #define US_IDR_LCRCE (0x1u << 7) 237 #define US_IDR_LTXD (0x1u << 24) 238 #define US_IDR_LCOL (0x1u << 25) 239 #define US_IDR_LFET (0x1u << 26) 240 #define US_IDR_LRXD (0x1u << 27) 241 #define US_IDR_LBLOVFE (0x1u << 28) 243 #define US_IMR_RXRDY (0x1u << 0) 244 #define US_IMR_TXRDY (0x1u << 1) 245 #define US_IMR_RXBRK (0x1u << 2) 246 #define US_IMR_OVRE (0x1u << 5) 247 #define US_IMR_FRAME (0x1u << 6) 248 #define US_IMR_PARE (0x1u << 7) 249 #define US_IMR_TIMEOUT (0x1u << 8) 250 #define US_IMR_TXEMPTY (0x1u << 9) 251 #define US_IMR_ITER (0x1u << 10) 252 #define US_IMR_NACK (0x1u << 13) 253 #define US_IMR_RIIC (0x1u << 16) 254 #define US_IMR_DSRIC (0x1u << 17) 255 #define US_IMR_DCDIC (0x1u << 18) 256 #define US_IMR_CTSIC (0x1u << 19) 257 #define US_IMR_MANE (0x1u << 24) 258 #define US_IMR_UNRE (0x1u << 10) 259 #define US_IMR_NSSE (0x1u << 19) 260 #define US_IMR_LINBK (0x1u << 13) 261 #define US_IMR_LINID (0x1u << 14) 262 #define US_IMR_LINTC (0x1u << 15) 263 #define US_IMR_LINBE (0x1u << 25) 264 #define US_IMR_LINISFE (0x1u << 26) 265 #define US_IMR_LINIPE (0x1u << 27) 266 #define US_IMR_LINCE (0x1u << 28) 267 #define US_IMR_LINSNRE (0x1u << 29) 268 #define US_IMR_LINSTE (0x1u << 30) 269 #define US_IMR_LINHTE (0x1u << 31) 270 #define US_IMR_LSFE (0x1u << 6) 271 #define US_IMR_LCRCE (0x1u << 7) 272 #define US_IMR_LTXD (0x1u << 24) 273 #define US_IMR_LCOL (0x1u << 25) 274 #define US_IMR_LFET (0x1u << 26) 275 #define US_IMR_LRXD (0x1u << 27) 276 #define US_IMR_LBLOVFE (0x1u << 28) 278 #define US_CSR_RXRDY (0x1u << 0) 279 #define US_CSR_TXRDY (0x1u << 1) 280 #define US_CSR_RXBRK (0x1u << 2) 281 #define US_CSR_OVRE (0x1u << 5) 282 #define US_CSR_FRAME (0x1u << 6) 283 #define US_CSR_PARE (0x1u << 7) 284 #define US_CSR_TIMEOUT (0x1u << 8) 285 #define US_CSR_TXEMPTY (0x1u << 9) 286 #define US_CSR_ITER (0x1u << 10) 287 #define US_CSR_NACK (0x1u << 13) 288 #define US_CSR_RIIC (0x1u << 16) 289 #define US_CSR_DSRIC (0x1u << 17) 290 #define US_CSR_DCDIC (0x1u << 18) 291 #define US_CSR_CTSIC (0x1u << 19) 292 #define US_CSR_RI (0x1u << 20) 293 #define US_CSR_DSR (0x1u << 21) 294 #define US_CSR_DCD (0x1u << 22) 295 #define US_CSR_CTS (0x1u << 23) 296 #define US_CSR_MANERR (0x1u << 24) 297 #define US_CSR_UNRE (0x1u << 10) 298 #define US_CSR_NSSE (0x1u << 19) 299 #define US_CSR_NSS (0x1u << 23) 300 #define US_CSR_LINBK (0x1u << 13) 301 #define US_CSR_LINID (0x1u << 14) 302 #define US_CSR_LINTC (0x1u << 15) 303 #define US_CSR_LINBLS (0x1u << 23) 304 #define US_CSR_LINBE (0x1u << 25) 305 #define US_CSR_LINISFE (0x1u << 26) 306 #define US_CSR_LINIPE (0x1u << 27) 307 #define US_CSR_LINCE (0x1u << 28) 308 #define US_CSR_LINSNRE (0x1u << 29) 309 #define US_CSR_LINSTE (0x1u << 30) 310 #define US_CSR_LINHTE (0x1u << 31) 311 #define US_CSR_LSFE (0x1u << 6) 312 #define US_CSR_LCRCE (0x1u << 7) 313 #define US_CSR_LTXD (0x1u << 24) 314 #define US_CSR_LCOL (0x1u << 25) 315 #define US_CSR_LFET (0x1u << 26) 316 #define US_CSR_LRXD (0x1u << 27) 317 #define US_CSR_LBLOVFE (0x1u << 28) 319 #define US_RHR_RXCHR_Pos 0 320 #define US_RHR_RXCHR_Msk (0x1ffu << US_RHR_RXCHR_Pos) 321 #define US_RHR_RXSYNH (0x1u << 15) 323 #define US_THR_TXCHR_Pos 0 324 #define US_THR_TXCHR_Msk (0x1ffu << US_THR_TXCHR_Pos) 325 #define US_THR_TXCHR(value) ((US_THR_TXCHR_Msk & ((value) << US_THR_TXCHR_Pos))) 326 #define US_THR_TXSYNH (0x1u << 15) 328 #define US_BRGR_CD_Pos 0 329 #define US_BRGR_CD_Msk (0xffffu << US_BRGR_CD_Pos) 330 #define US_BRGR_CD(value) ((US_BRGR_CD_Msk & ((value) << US_BRGR_CD_Pos))) 331 #define US_BRGR_FP_Pos 16 332 #define US_BRGR_FP_Msk (0x7u << US_BRGR_FP_Pos) 333 #define US_BRGR_FP(value) ((US_BRGR_FP_Msk & ((value) << US_BRGR_FP_Pos))) 335 #define US_RTOR_TO_Pos 0 336 #define US_RTOR_TO_Msk (0x1ffffu << US_RTOR_TO_Pos) 337 #define US_RTOR_TO(value) ((US_RTOR_TO_Msk & ((value) << US_RTOR_TO_Pos))) 339 #define US_TTGR_TG_Pos 0 340 #define US_TTGR_TG_Msk (0xffu << US_TTGR_TG_Pos) 341 #define US_TTGR_TG(value) ((US_TTGR_TG_Msk & ((value) << US_TTGR_TG_Pos))) 342 #define US_TTGR_PCYCLE_Pos 0 343 #define US_TTGR_PCYCLE_Msk (0xffffffu << US_TTGR_PCYCLE_Pos) 344 #define US_TTGR_PCYCLE(value) ((US_TTGR_PCYCLE_Msk & ((value) << US_TTGR_PCYCLE_Pos))) 346 #define US_FIDI_FI_DI_RATIO_Pos 0 347 #define US_FIDI_FI_DI_RATIO_Msk (0xffffu << US_FIDI_FI_DI_RATIO_Pos) 348 #define US_FIDI_FI_DI_RATIO(value) ((US_FIDI_FI_DI_RATIO_Msk & ((value) << US_FIDI_FI_DI_RATIO_Pos))) 349 #define US_FIDI_BETA2_Pos 0 350 #define US_FIDI_BETA2_Msk (0xffffffu << US_FIDI_BETA2_Pos) 351 #define US_FIDI_BETA2(value) ((US_FIDI_BETA2_Msk & ((value) << US_FIDI_BETA2_Pos))) 353 #define US_NER_NB_ERRORS_Pos 0 354 #define US_NER_NB_ERRORS_Msk (0xffu << US_NER_NB_ERRORS_Pos) 356 #define US_IF_IRDA_FILTER_Pos 0 357 #define US_IF_IRDA_FILTER_Msk (0xffu << US_IF_IRDA_FILTER_Pos) 358 #define US_IF_IRDA_FILTER(value) ((US_IF_IRDA_FILTER_Msk & ((value) << US_IF_IRDA_FILTER_Pos))) 360 #define US_MAN_TX_PL_Pos 0 361 #define US_MAN_TX_PL_Msk (0xfu << US_MAN_TX_PL_Pos) 362 #define US_MAN_TX_PL(value) ((US_MAN_TX_PL_Msk & ((value) << US_MAN_TX_PL_Pos))) 363 #define US_MAN_TX_PP_Pos 8 364 #define US_MAN_TX_PP_Msk (0x3u << US_MAN_TX_PP_Pos) 365 #define US_MAN_TX_PP(value) ((US_MAN_TX_PP_Msk & ((value) << US_MAN_TX_PP_Pos))) 366 #define US_MAN_TX_PP_ALL_ONE (0x0u << 8) 367 #define US_MAN_TX_PP_ALL_ZERO (0x1u << 8) 368 #define US_MAN_TX_PP_ZERO_ONE (0x2u << 8) 369 #define US_MAN_TX_PP_ONE_ZERO (0x3u << 8) 370 #define US_MAN_TX_MPOL (0x1u << 12) 371 #define US_MAN_RX_PL_Pos 16 372 #define US_MAN_RX_PL_Msk (0xfu << US_MAN_RX_PL_Pos) 373 #define US_MAN_RX_PL(value) ((US_MAN_RX_PL_Msk & ((value) << US_MAN_RX_PL_Pos))) 374 #define US_MAN_RX_PP_Pos 24 375 #define US_MAN_RX_PP_Msk (0x3u << US_MAN_RX_PP_Pos) 376 #define US_MAN_RX_PP(value) ((US_MAN_RX_PP_Msk & ((value) << US_MAN_RX_PP_Pos))) 377 #define US_MAN_RX_PP_ALL_ONE (0x0u << 24) 378 #define US_MAN_RX_PP_ALL_ZERO (0x1u << 24) 379 #define US_MAN_RX_PP_ZERO_ONE (0x2u << 24) 380 #define US_MAN_RX_PP_ONE_ZERO (0x3u << 24) 381 #define US_MAN_RX_MPOL (0x1u << 28) 382 #define US_MAN_ONE (0x1u << 29) 383 #define US_MAN_DRIFT (0x1u << 30) 384 #define US_MAN_RXIDLEV (0x1u << 31) 386 #define US_LINMR_NACT_Pos 0 387 #define US_LINMR_NACT_Msk (0x3u << US_LINMR_NACT_Pos) 388 #define US_LINMR_NACT(value) ((US_LINMR_NACT_Msk & ((value) << US_LINMR_NACT_Pos))) 389 #define US_LINMR_NACT_PUBLISH (0x0u << 0) 390 #define US_LINMR_NACT_SUBSCRIBE (0x1u << 0) 391 #define US_LINMR_NACT_IGNORE (0x2u << 0) 392 #define US_LINMR_PARDIS (0x1u << 2) 393 #define US_LINMR_CHKDIS (0x1u << 3) 394 #define US_LINMR_CHKTYP (0x1u << 4) 395 #define US_LINMR_DLM (0x1u << 5) 396 #define US_LINMR_FSDIS (0x1u << 6) 397 #define US_LINMR_WKUPTYP (0x1u << 7) 398 #define US_LINMR_DLC_Pos 8 399 #define US_LINMR_DLC_Msk (0xffu << US_LINMR_DLC_Pos) 400 #define US_LINMR_DLC(value) ((US_LINMR_DLC_Msk & ((value) << US_LINMR_DLC_Pos))) 401 #define US_LINMR_PDCM (0x1u << 16) 402 #define US_LINMR_SYNCDIS (0x1u << 17) 404 #define US_LINIR_IDCHR_Pos 0 405 #define US_LINIR_IDCHR_Msk (0xffu << US_LINIR_IDCHR_Pos) 406 #define US_LINIR_IDCHR(value) ((US_LINIR_IDCHR_Msk & ((value) << US_LINIR_IDCHR_Pos))) 408 #define US_LINBRR_LINCD_Pos 0 409 #define US_LINBRR_LINCD_Msk (0xffffu << US_LINBRR_LINCD_Pos) 410 #define US_LINBRR_LINFP_Pos 16 411 #define US_LINBRR_LINFP_Msk (0x7u << US_LINBRR_LINFP_Pos) 413 #define US_LONMR_COMMT (0x1u << 0) 414 #define US_LONMR_COLDET (0x1u << 1) 415 #define US_LONMR_TCOL (0x1u << 2) 416 #define US_LONMR_CDTAIL (0x1u << 3) 417 #define US_LONMR_DMAM (0x1u << 4) 418 #define US_LONMR_LCDS (0x1u << 5) 419 #define US_LONMR_EOFS_Pos 16 420 #define US_LONMR_EOFS_Msk (0xffu << US_LONMR_EOFS_Pos) 421 #define US_LONMR_EOFS(value) ((US_LONMR_EOFS_Msk & ((value) << US_LONMR_EOFS_Pos))) 423 #define US_LONPR_LONPL_Pos 0 424 #define US_LONPR_LONPL_Msk (0x3fffu << US_LONPR_LONPL_Pos) 425 #define US_LONPR_LONPL(value) ((US_LONPR_LONPL_Msk & ((value) << US_LONPR_LONPL_Pos))) 427 #define US_LONDL_LONDL_Pos 0 428 #define US_LONDL_LONDL_Msk (0xffu << US_LONDL_LONDL_Pos) 429 #define US_LONDL_LONDL(value) ((US_LONDL_LONDL_Msk & ((value) << US_LONDL_LONDL_Pos))) 431 #define US_LONL2HDR_BLI_Pos 0 432 #define US_LONL2HDR_BLI_Msk (0x3fu << US_LONL2HDR_BLI_Pos) 433 #define US_LONL2HDR_BLI(value) ((US_LONL2HDR_BLI_Msk & ((value) << US_LONL2HDR_BLI_Pos))) 434 #define US_LONL2HDR_ALTP (0x1u << 6) 435 #define US_LONL2HDR_PB (0x1u << 7) 437 #define US_LONBL_LONBL_Pos 0 438 #define US_LONBL_LONBL_Msk (0x3fu << US_LONBL_LONBL_Pos) 440 #define US_LONB1TX_BETA1TX_Pos 0 441 #define US_LONB1TX_BETA1TX_Msk (0xffffffu << US_LONB1TX_BETA1TX_Pos) 442 #define US_LONB1TX_BETA1TX(value) ((US_LONB1TX_BETA1TX_Msk & ((value) << US_LONB1TX_BETA1TX_Pos))) 444 #define US_LONB1RX_BETA1RX_Pos 0 445 #define US_LONB1RX_BETA1RX_Msk (0xffffffu << US_LONB1RX_BETA1RX_Pos) 446 #define US_LONB1RX_BETA1RX(value) ((US_LONB1RX_BETA1RX_Msk & ((value) << US_LONB1RX_BETA1RX_Pos))) 448 #define US_LONPRIO_PSNB_Pos 0 449 #define US_LONPRIO_PSNB_Msk (0x7fu << US_LONPRIO_PSNB_Pos) 450 #define US_LONPRIO_PSNB(value) ((US_LONPRIO_PSNB_Msk & ((value) << US_LONPRIO_PSNB_Pos))) 451 #define US_LONPRIO_NPS_Pos 8 452 #define US_LONPRIO_NPS_Msk (0x7fu << US_LONPRIO_NPS_Pos) 453 #define US_LONPRIO_NPS(value) ((US_LONPRIO_NPS_Msk & ((value) << US_LONPRIO_NPS_Pos))) 455 #define US_IDTTX_IDTTX_Pos 0 456 #define US_IDTTX_IDTTX_Msk (0xffffffu << US_IDTTX_IDTTX_Pos) 457 #define US_IDTTX_IDTTX(value) ((US_IDTTX_IDTTX_Msk & ((value) << US_IDTTX_IDTTX_Pos))) 459 #define US_IDTRX_IDTRX_Pos 0 460 #define US_IDTRX_IDTRX_Msk (0xffffffu << US_IDTRX_IDTRX_Pos) 461 #define US_IDTRX_IDTRX(value) ((US_IDTRX_IDTRX_Msk & ((value) << US_IDTRX_IDTRX_Pos))) 463 #define US_ICDIFF_ICDIFF_Pos 0 464 #define US_ICDIFF_ICDIFF_Msk (0xfu << US_ICDIFF_ICDIFF_Pos) 465 #define US_ICDIFF_ICDIFF(value) ((US_ICDIFF_ICDIFF_Msk & ((value) << US_ICDIFF_ICDIFF_Pos))) 467 #define US_WPMR_WPEN (0x1u << 0) 468 #define US_WPMR_WPKEY_Pos 8 469 #define US_WPMR_WPKEY_Msk (0xffffffu << US_WPMR_WPKEY_Pos) 470 #define US_WPMR_WPKEY(value) ((US_WPMR_WPKEY_Msk & ((value) << US_WPMR_WPKEY_Pos))) 471 #define US_WPMR_WPKEY_PASSWD (0x555341u << 8) 473 #define US_WPSR_WPVS (0x1u << 0) 474 #define US_WPSR_WPVSRC_Pos 8 475 #define US_WPSR_WPVSRC_Msk (0xffffu << US_WPSR_WPVSRC_Pos) 477 #define US_VERSION_VERSION_Pos 0 478 #define US_VERSION_VERSION_Msk (0xfffu << US_VERSION_VERSION_Pos) 479 #define US_VERSION_MFN_Pos 16 480 #define US_VERSION_MFN_Msk (0x7u << US_VERSION_MFN_Pos) __I uint32_t US_VERSION
(Usart Offset: 0x00FC) Version Register
Definition: component_usart.h:77
Usart hardware registers.
Definition: component_usart.h:41
#define __IO
Definition: core_cm7.h:287
#define __O
Definition: core_cm7.h:286
#define __I
Definition: core_cm7.h:284