39 #ifndef __ALTERA_ALT_UART_H__ 40 #define __ALTERA_ALT_UART_H__ 115 #define ALT_UART_RBR_THR_DLL_VALUE_LSB 0 117 #define ALT_UART_RBR_THR_DLL_VALUE_MSB 7 119 #define ALT_UART_RBR_THR_DLL_VALUE_WIDTH 8 121 #define ALT_UART_RBR_THR_DLL_VALUE_SET_MSK 0x000000ff 123 #define ALT_UART_RBR_THR_DLL_VALUE_CLR_MSK 0xffffff00 125 #define ALT_UART_RBR_THR_DLL_VALUE_RESET 0x0 127 #define ALT_UART_RBR_THR_DLL_VALUE_GET(value) (((value) & 0x000000ff) >> 0) 129 #define ALT_UART_RBR_THR_DLL_VALUE_SET(value) (((value) << 0) & 0x000000ff) 153 #define ALT_UART_RBR_THR_DLL_OFST 0x0 155 #define ALT_UART_RBR_THR_DLL_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_RBR_THR_DLL_OFST)) 227 #define ALT_UART_IER_DLH_ERBFI_DLH0_E_DISD 0x0 233 #define ALT_UART_IER_DLH_ERBFI_DLH0_E_END 0x1 236 #define ALT_UART_IER_DLH_ERBFI_DLH0_LSB 0 238 #define ALT_UART_IER_DLH_ERBFI_DLH0_MSB 0 240 #define ALT_UART_IER_DLH_ERBFI_DLH0_WIDTH 1 242 #define ALT_UART_IER_DLH_ERBFI_DLH0_SET_MSK 0x00000001 244 #define ALT_UART_IER_DLH_ERBFI_DLH0_CLR_MSK 0xfffffffe 246 #define ALT_UART_IER_DLH_ERBFI_DLH0_RESET 0x0 248 #define ALT_UART_IER_DLH_ERBFI_DLH0_GET(value) (((value) & 0x00000001) >> 0) 250 #define ALT_UART_IER_DLH_ERBFI_DLH0_SET(value) (((value) << 0) & 0x00000001) 280 #define ALT_UART_IER_DLH_ETBEI_DLHL_E_DISD 0x0 286 #define ALT_UART_IER_DLH_ETBEI_DLHL_E_END 0x1 289 #define ALT_UART_IER_DLH_ETBEI_DLHL_LSB 1 291 #define ALT_UART_IER_DLH_ETBEI_DLHL_MSB 1 293 #define ALT_UART_IER_DLH_ETBEI_DLHL_WIDTH 1 295 #define ALT_UART_IER_DLH_ETBEI_DLHL_SET_MSK 0x00000002 297 #define ALT_UART_IER_DLH_ETBEI_DLHL_CLR_MSK 0xfffffffd 299 #define ALT_UART_IER_DLH_ETBEI_DLHL_RESET 0x0 301 #define ALT_UART_IER_DLH_ETBEI_DLHL_GET(value) (((value) & 0x00000002) >> 1) 303 #define ALT_UART_IER_DLH_ETBEI_DLHL_SET(value) (((value) << 1) & 0x00000002) 332 #define ALT_UART_IER_DLH_ELSI_DHL2_E_DISD 0x0 338 #define ALT_UART_IER_DLH_ELSI_DHL2_E_END 0x1 341 #define ALT_UART_IER_DLH_ELSI_DHL2_LSB 2 343 #define ALT_UART_IER_DLH_ELSI_DHL2_MSB 2 345 #define ALT_UART_IER_DLH_ELSI_DHL2_WIDTH 1 347 #define ALT_UART_IER_DLH_ELSI_DHL2_SET_MSK 0x00000004 349 #define ALT_UART_IER_DLH_ELSI_DHL2_CLR_MSK 0xfffffffb 351 #define ALT_UART_IER_DLH_ELSI_DHL2_RESET 0x0 353 #define ALT_UART_IER_DLH_ELSI_DHL2_GET(value) (((value) & 0x00000004) >> 2) 355 #define ALT_UART_IER_DLH_ELSI_DHL2_SET(value) (((value) << 2) & 0x00000004) 384 #define ALT_UART_IER_DLH_EDSSI_DHL3_E_DISD 0x0 390 #define ALT_UART_IER_DLH_EDSSI_DHL3_E_END 0x1 393 #define ALT_UART_IER_DLH_EDSSI_DHL3_LSB 3 395 #define ALT_UART_IER_DLH_EDSSI_DHL3_MSB 3 397 #define ALT_UART_IER_DLH_EDSSI_DHL3_WIDTH 1 399 #define ALT_UART_IER_DLH_EDSSI_DHL3_SET_MSK 0x00000008 401 #define ALT_UART_IER_DLH_EDSSI_DHL3_CLR_MSK 0xfffffff7 403 #define ALT_UART_IER_DLH_EDSSI_DHL3_RESET 0x0 405 #define ALT_UART_IER_DLH_EDSSI_DHL3_GET(value) (((value) & 0x00000008) >> 3) 407 #define ALT_UART_IER_DLH_EDSSI_DHL3_SET(value) (((value) << 3) & 0x00000008) 418 #define ALT_UART_IER_DLH_DLH4_LSB 4 420 #define ALT_UART_IER_DLH_DLH4_MSB 4 422 #define ALT_UART_IER_DLH_DLH4_WIDTH 1 424 #define ALT_UART_IER_DLH_DLH4_SET_MSK 0x00000010 426 #define ALT_UART_IER_DLH_DLH4_CLR_MSK 0xffffffef 428 #define ALT_UART_IER_DLH_DLH4_RESET 0x0 430 #define ALT_UART_IER_DLH_DLH4_GET(value) (((value) & 0x00000010) >> 4) 432 #define ALT_UART_IER_DLH_DLH4_SET(value) (((value) << 4) & 0x00000010) 443 #define ALT_UART_IER_DLH_DLH5_LSB 5 445 #define ALT_UART_IER_DLH_DLH5_MSB 5 447 #define ALT_UART_IER_DLH_DLH5_WIDTH 1 449 #define ALT_UART_IER_DLH_DLH5_SET_MSK 0x00000020 451 #define ALT_UART_IER_DLH_DLH5_CLR_MSK 0xffffffdf 453 #define ALT_UART_IER_DLH_DLH5_RESET 0x0 455 #define ALT_UART_IER_DLH_DLH5_GET(value) (((value) & 0x00000020) >> 5) 457 #define ALT_UART_IER_DLH_DLH5_SET(value) (((value) << 5) & 0x00000020) 468 #define ALT_UART_IER_DLH_DLH6_LSB 6 470 #define ALT_UART_IER_DLH_DLH6_MSB 6 472 #define ALT_UART_IER_DLH_DLH6_WIDTH 1 474 #define ALT_UART_IER_DLH_DLH6_SET_MSK 0x00000040 476 #define ALT_UART_IER_DLH_DLH6_CLR_MSK 0xffffffbf 478 #define ALT_UART_IER_DLH_DLH6_RESET 0x0 480 #define ALT_UART_IER_DLH_DLH6_GET(value) (((value) & 0x00000040) >> 6) 482 #define ALT_UART_IER_DLH_DLH6_SET(value) (((value) << 6) & 0x00000040) 510 #define ALT_UART_IER_DLH_PTIME_DLH7_E_DISD 0x0 516 #define ALT_UART_IER_DLH_PTIME_DLH7_E_END 0x1 519 #define ALT_UART_IER_DLH_PTIME_DLH7_LSB 7 521 #define ALT_UART_IER_DLH_PTIME_DLH7_MSB 7 523 #define ALT_UART_IER_DLH_PTIME_DLH7_WIDTH 1 525 #define ALT_UART_IER_DLH_PTIME_DLH7_SET_MSK 0x00000080 527 #define ALT_UART_IER_DLH_PTIME_DLH7_CLR_MSK 0xffffff7f 529 #define ALT_UART_IER_DLH_PTIME_DLH7_RESET 0x0 531 #define ALT_UART_IER_DLH_PTIME_DLH7_GET(value) (((value) & 0x00000080) >> 7) 533 #define ALT_UART_IER_DLH_PTIME_DLH7_SET(value) (((value) << 7) & 0x00000080) 548 uint32_t erbfi_dlh0 : 1;
549 uint32_t etbei_dlhl : 1;
550 uint32_t elsi_dhl2 : 1;
551 uint32_t edssi_dhl3 : 1;
555 uint32_t ptime_dlh7 : 1;
564 #define ALT_UART_IER_DLH_OFST 0x4 566 #define ALT_UART_IER_DLH_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_IER_DLH_OFST)) 607 #define ALT_UART_IIR_ID_E_MODMSTAT 0x0 613 #define ALT_UART_IIR_ID_E_NOINTRPENDING 0x1 619 #define ALT_UART_IIR_ID_E_THREMPTY 0x2 625 #define ALT_UART_IIR_ID_E_RXDATAVAILABLE 0x4 631 #define ALT_UART_IIR_ID_E_RXLINESTAT 0x6 637 #define ALT_UART_IIR_ID_E_CHARTMO 0xc 640 #define ALT_UART_IIR_ID_LSB 0 642 #define ALT_UART_IIR_ID_MSB 3 644 #define ALT_UART_IIR_ID_WIDTH 4 646 #define ALT_UART_IIR_ID_SET_MSK 0x0000000f 648 #define ALT_UART_IIR_ID_CLR_MSK 0xfffffff0 650 #define ALT_UART_IIR_ID_RESET 0x1 652 #define ALT_UART_IIR_ID_GET(value) (((value) & 0x0000000f) >> 0) 654 #define ALT_UART_IIR_ID_SET(value) (((value) << 0) & 0x0000000f) 676 #define ALT_UART_IIR_FIFOEN_E_DISD 0x0 682 #define ALT_UART_IIR_FIFOEN_E_END 0x3 685 #define ALT_UART_IIR_FIFOEN_LSB 6 687 #define ALT_UART_IIR_FIFOEN_MSB 7 689 #define ALT_UART_IIR_FIFOEN_WIDTH 2 691 #define ALT_UART_IIR_FIFOEN_SET_MSK 0x000000c0 693 #define ALT_UART_IIR_FIFOEN_CLR_MSK 0xffffff3f 695 #define ALT_UART_IIR_FIFOEN_RESET 0x0 697 #define ALT_UART_IIR_FIFOEN_GET(value) (((value) & 0x000000c0) >> 6) 699 #define ALT_UART_IIR_FIFOEN_SET(value) (((value) << 6) & 0x000000c0) 714 const uint32_t id : 4;
716 const uint32_t fifoen : 2;
725 #define ALT_UART_IIR_OFST 0x8 727 #define ALT_UART_IIR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_IIR_OFST)) 769 #define ALT_UART_FCR_FIFOE_E_DISD 0x0 775 #define ALT_UART_FCR_FIFOE_E_END 0x1 778 #define ALT_UART_FCR_FIFOE_LSB 0 780 #define ALT_UART_FCR_FIFOE_MSB 0 782 #define ALT_UART_FCR_FIFOE_WIDTH 1 784 #define ALT_UART_FCR_FIFOE_SET_MSK 0x00000001 786 #define ALT_UART_FCR_FIFOE_CLR_MSK 0xfffffffe 788 #define ALT_UART_FCR_FIFOE_RESET 0x0 790 #define ALT_UART_FCR_FIFOE_GET(value) (((value) & 0x00000001) >> 0) 792 #define ALT_UART_FCR_FIFOE_SET(value) (((value) << 0) & 0x00000001) 816 #define ALT_UART_FCR_RFIFOR_E_NORST 0x0 822 #define ALT_UART_FCR_RFIFOR_E_RST 0x1 825 #define ALT_UART_FCR_RFIFOR_LSB 1 827 #define ALT_UART_FCR_RFIFOR_MSB 1 829 #define ALT_UART_FCR_RFIFOR_WIDTH 1 831 #define ALT_UART_FCR_RFIFOR_SET_MSK 0x00000002 833 #define ALT_UART_FCR_RFIFOR_CLR_MSK 0xfffffffd 835 #define ALT_UART_FCR_RFIFOR_RESET 0x0 837 #define ALT_UART_FCR_RFIFOR_GET(value) (((value) & 0x00000002) >> 1) 839 #define ALT_UART_FCR_RFIFOR_SET(value) (((value) << 1) & 0x00000002) 865 #define ALT_UART_FCR_XFIFOR_E_NORST 0x0 871 #define ALT_UART_FCR_XFIFOR_E_RST 0x1 874 #define ALT_UART_FCR_XFIFOR_LSB 2 876 #define ALT_UART_FCR_XFIFOR_MSB 2 878 #define ALT_UART_FCR_XFIFOR_WIDTH 1 880 #define ALT_UART_FCR_XFIFOR_SET_MSK 0x00000004 882 #define ALT_UART_FCR_XFIFOR_CLR_MSK 0xfffffffb 884 #define ALT_UART_FCR_XFIFOR_RESET 0x0 886 #define ALT_UART_FCR_XFIFOR_GET(value) (((value) & 0x00000004) >> 2) 888 #define ALT_UART_FCR_XFIFOR_SET(value) (((value) << 2) & 0x00000004) 940 #define ALT_UART_FCR_DMAM_E_SINGLE 0x0 946 #define ALT_UART_FCR_DMAM_E_MULT 0x1 949 #define ALT_UART_FCR_DMAM_LSB 3 951 #define ALT_UART_FCR_DMAM_MSB 3 953 #define ALT_UART_FCR_DMAM_WIDTH 1 955 #define ALT_UART_FCR_DMAM_SET_MSK 0x00000008 957 #define ALT_UART_FCR_DMAM_CLR_MSK 0xfffffff7 959 #define ALT_UART_FCR_DMAM_RESET 0x0 961 #define ALT_UART_FCR_DMAM_GET(value) (((value) & 0x00000008) >> 3) 963 #define ALT_UART_FCR_DMAM_SET(value) (((value) << 3) & 0x00000008) 990 #define ALT_UART_FCR_TET_E_FIFOEMPTY 0x0 996 #define ALT_UART_FCR_TET_E_TWOCHARS 0x1 1002 #define ALT_UART_FCR_TET_E_QUARTERFULL 0x2 1008 #define ALT_UART_FCR_TET_E_HALFFULL 0x3 1011 #define ALT_UART_FCR_TET_LSB 4 1013 #define ALT_UART_FCR_TET_MSB 5 1015 #define ALT_UART_FCR_TET_WIDTH 2 1017 #define ALT_UART_FCR_TET_SET_MSK 0x00000030 1019 #define ALT_UART_FCR_TET_CLR_MSK 0xffffffcf 1021 #define ALT_UART_FCR_TET_RESET 0x0 1023 #define ALT_UART_FCR_TET_GET(value) (((value) & 0x00000030) >> 4) 1025 #define ALT_UART_FCR_TET_SET(value) (((value) << 4) & 0x00000030) 1054 #define ALT_UART_FCR_RT_E_ONECHAR 0x0 1060 #define ALT_UART_FCR_RT_E_QUARTERFULL 0x1 1066 #define ALT_UART_FCR_RT_E_HALFFULL 0x2 1072 #define ALT_UART_FCR_RT_E_FULLLESS2 0x3 1075 #define ALT_UART_FCR_RT_LSB 6 1077 #define ALT_UART_FCR_RT_MSB 7 1079 #define ALT_UART_FCR_RT_WIDTH 2 1081 #define ALT_UART_FCR_RT_SET_MSK 0x000000c0 1083 #define ALT_UART_FCR_RT_CLR_MSK 0xffffff3f 1085 #define ALT_UART_FCR_RT_RESET 0x0 1087 #define ALT_UART_FCR_RT_GET(value) (((value) & 0x000000c0) >> 6) 1089 #define ALT_UART_FCR_RT_SET(value) (((value) << 6) & 0x000000c0) 1091 #ifndef __ASSEMBLY__ 1105 uint32_t rfifor : 1;
1106 uint32_t xfifor : 1;
1118 #define ALT_UART_FCR_OFST 0x8 1120 #define ALT_UART_FCR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_FCR_OFST)) 1164 #define ALT_UART_LCR_DLS_E_LEN5 0x0 1170 #define ALT_UART_LCR_DLS_E_LEN6 0x1 1176 #define ALT_UART_LCR_DLS_E_LEN7 0x2 1182 #define ALT_UART_LCR_DLS_E_LEN8 0x3 1185 #define ALT_UART_LCR_DLS_LSB 0 1187 #define ALT_UART_LCR_DLS_MSB 1 1189 #define ALT_UART_LCR_DLS_WIDTH 2 1191 #define ALT_UART_LCR_DLS_SET_MSK 0x00000003 1193 #define ALT_UART_LCR_DLS_CLR_MSK 0xfffffffc 1195 #define ALT_UART_LCR_DLS_RESET 0x0 1197 #define ALT_UART_LCR_DLS_GET(value) (((value) & 0x00000003) >> 0) 1199 #define ALT_UART_LCR_DLS_SET(value) (((value) << 0) & 0x00000003) 1223 #define ALT_UART_LCR_STOP_E_ONESTOP 0x0 1229 #define ALT_UART_LCR_STOP_E_ONEPOINT5STOP 0x1 1232 #define ALT_UART_LCR_STOP_LSB 2 1234 #define ALT_UART_LCR_STOP_MSB 2 1236 #define ALT_UART_LCR_STOP_WIDTH 1 1238 #define ALT_UART_LCR_STOP_SET_MSK 0x00000004 1240 #define ALT_UART_LCR_STOP_CLR_MSK 0xfffffffb 1242 #define ALT_UART_LCR_STOP_RESET 0x0 1244 #define ALT_UART_LCR_STOP_GET(value) (((value) & 0x00000004) >> 2) 1246 #define ALT_UART_LCR_STOP_SET(value) (((value) << 2) & 0x00000004) 1269 #define ALT_UART_LCR_PEN_E_DISD 0x0 1275 #define ALT_UART_LCR_PEN_E_END 0x1 1278 #define ALT_UART_LCR_PEN_LSB 3 1280 #define ALT_UART_LCR_PEN_MSB 3 1282 #define ALT_UART_LCR_PEN_WIDTH 1 1284 #define ALT_UART_LCR_PEN_SET_MSK 0x00000008 1286 #define ALT_UART_LCR_PEN_CLR_MSK 0xfffffff7 1288 #define ALT_UART_LCR_PEN_RESET 0x0 1290 #define ALT_UART_LCR_PEN_GET(value) (((value) & 0x00000008) >> 3) 1292 #define ALT_UART_LCR_PEN_SET(value) (((value) << 3) & 0x00000008) 1316 #define ALT_UART_LCR_EPS_E_ODDPAR 0x0 1322 #define ALT_UART_LCR_EPS_E_EVENPAR 0x1 1325 #define ALT_UART_LCR_EPS_LSB 4 1327 #define ALT_UART_LCR_EPS_MSB 4 1329 #define ALT_UART_LCR_EPS_WIDTH 1 1331 #define ALT_UART_LCR_EPS_SET_MSK 0x00000010 1333 #define ALT_UART_LCR_EPS_CLR_MSK 0xffffffef 1335 #define ALT_UART_LCR_EPS_RESET 0x0 1337 #define ALT_UART_LCR_EPS_GET(value) (((value) & 0x00000010) >> 4) 1339 #define ALT_UART_LCR_EPS_SET(value) (((value) << 4) & 0x00000010) 1355 #define ALT_UART_LCR_BREAK_LSB 6 1357 #define ALT_UART_LCR_BREAK_MSB 6 1359 #define ALT_UART_LCR_BREAK_WIDTH 1 1361 #define ALT_UART_LCR_BREAK_SET_MSK 0x00000040 1363 #define ALT_UART_LCR_BREAK_CLR_MSK 0xffffffbf 1365 #define ALT_UART_LCR_BREAK_RESET 0x0 1367 #define ALT_UART_LCR_BREAK_GET(value) (((value) & 0x00000040) >> 6) 1369 #define ALT_UART_LCR_BREAK_SET(value) (((value) << 6) & 0x00000040) 1382 #define ALT_UART_LCR_DLAB_LSB 7 1384 #define ALT_UART_LCR_DLAB_MSB 7 1386 #define ALT_UART_LCR_DLAB_WIDTH 1 1388 #define ALT_UART_LCR_DLAB_SET_MSK 0x00000080 1390 #define ALT_UART_LCR_DLAB_CLR_MSK 0xffffff7f 1392 #define ALT_UART_LCR_DLAB_RESET 0x0 1394 #define ALT_UART_LCR_DLAB_GET(value) (((value) & 0x00000080) >> 7) 1396 #define ALT_UART_LCR_DLAB_SET(value) (((value) << 7) & 0x00000080) 1398 #ifndef __ASSEMBLY__ 1416 uint32_t break_ : 1;
1426 #define ALT_UART_LCR_OFST 0xc 1428 #define ALT_UART_LCR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_LCR_OFST)) 1475 #define ALT_UART_MCR_DTR_E_LOGIC1 0x0 1481 #define ALT_UART_MCR_DTR_E_LOGIC0 0x1 1484 #define ALT_UART_MCR_DTR_LSB 0 1486 #define ALT_UART_MCR_DTR_MSB 0 1488 #define ALT_UART_MCR_DTR_WIDTH 1 1490 #define ALT_UART_MCR_DTR_SET_MSK 0x00000001 1492 #define ALT_UART_MCR_DTR_CLR_MSK 0xfffffffe 1494 #define ALT_UART_MCR_DTR_RESET 0x0 1496 #define ALT_UART_MCR_DTR_GET(value) (((value) & 0x00000001) >> 0) 1498 #define ALT_UART_MCR_DTR_SET(value) (((value) << 0) & 0x00000001) 1532 #define ALT_UART_MCR_RTS_E_LOGIC1 0x0 1538 #define ALT_UART_MCR_RTS_E_LOGIC0 0x1 1541 #define ALT_UART_MCR_RTS_LSB 1 1543 #define ALT_UART_MCR_RTS_MSB 1 1545 #define ALT_UART_MCR_RTS_WIDTH 1 1547 #define ALT_UART_MCR_RTS_SET_MSK 0x00000002 1549 #define ALT_UART_MCR_RTS_CLR_MSK 0xfffffffd 1551 #define ALT_UART_MCR_RTS_RESET 0x0 1553 #define ALT_UART_MCR_RTS_GET(value) (((value) & 0x00000002) >> 1) 1555 #define ALT_UART_MCR_RTS_SET(value) (((value) << 1) & 0x00000002) 1582 #define ALT_UART_MCR_OUT1_E_LOGIC1 0x0 1588 #define ALT_UART_MCR_OUT1_E_LOGIC0 0x1 1591 #define ALT_UART_MCR_OUT1_LSB 2 1593 #define ALT_UART_MCR_OUT1_MSB 2 1595 #define ALT_UART_MCR_OUT1_WIDTH 1 1597 #define ALT_UART_MCR_OUT1_SET_MSK 0x00000004 1599 #define ALT_UART_MCR_OUT1_CLR_MSK 0xfffffffb 1601 #define ALT_UART_MCR_OUT1_RESET 0x0 1603 #define ALT_UART_MCR_OUT1_GET(value) (((value) & 0x00000004) >> 2) 1605 #define ALT_UART_MCR_OUT1_SET(value) (((value) << 2) & 0x00000004) 1632 #define ALT_UART_MCR_OUT2_E_LOGIC1 0x0 1638 #define ALT_UART_MCR_OUT2_E_LOGIC0 0x1 1641 #define ALT_UART_MCR_OUT2_LSB 3 1643 #define ALT_UART_MCR_OUT2_MSB 3 1645 #define ALT_UART_MCR_OUT2_WIDTH 1 1647 #define ALT_UART_MCR_OUT2_SET_MSK 0x00000008 1649 #define ALT_UART_MCR_OUT2_CLR_MSK 0xfffffff7 1651 #define ALT_UART_MCR_OUT2_RESET 0x0 1653 #define ALT_UART_MCR_OUT2_GET(value) (((value) & 0x00000008) >> 3) 1655 #define ALT_UART_MCR_OUT2_SET(value) (((value) << 3) & 0x00000008) 1673 #define ALT_UART_MCR_LOOPBACK_LSB 4 1675 #define ALT_UART_MCR_LOOPBACK_MSB 4 1677 #define ALT_UART_MCR_LOOPBACK_WIDTH 1 1679 #define ALT_UART_MCR_LOOPBACK_SET_MSK 0x00000010 1681 #define ALT_UART_MCR_LOOPBACK_CLR_MSK 0xffffffef 1683 #define ALT_UART_MCR_LOOPBACK_RESET 0x0 1685 #define ALT_UART_MCR_LOOPBACK_GET(value) (((value) & 0x00000010) >> 4) 1687 #define ALT_UART_MCR_LOOPBACK_SET(value) (((value) << 4) & 0x00000010) 1709 #define ALT_UART_MCR_AFCE_E_DISD 0x0 1715 #define ALT_UART_MCR_AFCE_E_END 0x1 1718 #define ALT_UART_MCR_AFCE_LSB 5 1720 #define ALT_UART_MCR_AFCE_MSB 5 1722 #define ALT_UART_MCR_AFCE_WIDTH 1 1724 #define ALT_UART_MCR_AFCE_SET_MSK 0x00000020 1726 #define ALT_UART_MCR_AFCE_CLR_MSK 0xffffffdf 1728 #define ALT_UART_MCR_AFCE_RESET 0x0 1730 #define ALT_UART_MCR_AFCE_GET(value) (((value) & 0x00000020) >> 5) 1732 #define ALT_UART_MCR_AFCE_SET(value) (((value) << 5) & 0x00000020) 1734 #ifndef __ASSEMBLY__ 1751 uint32_t loopback : 1;
1761 #define ALT_UART_MCR_OFST 0x10 1763 #define ALT_UART_MCR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_MCR_OFST)) 1807 #define ALT_UART_LSR_DR_E_NODATARDY 0x0 1813 #define ALT_UART_LSR_DR_E_DATARDY 0x1 1816 #define ALT_UART_LSR_DR_LSB 0 1818 #define ALT_UART_LSR_DR_MSB 0 1820 #define ALT_UART_LSR_DR_WIDTH 1 1822 #define ALT_UART_LSR_DR_SET_MSK 0x00000001 1824 #define ALT_UART_LSR_DR_CLR_MSK 0xfffffffe 1826 #define ALT_UART_LSR_DR_RESET 0x0 1828 #define ALT_UART_LSR_DR_GET(value) (((value) & 0x00000001) >> 0) 1830 #define ALT_UART_LSR_DR_SET(value) (((value) << 0) & 0x00000001) 1859 #define ALT_UART_LSR_OE_E_NOOVERRUN 0x0 1865 #define ALT_UART_LSR_OE_E_OVERRUN 0x1 1868 #define ALT_UART_LSR_OE_LSB 1 1870 #define ALT_UART_LSR_OE_MSB 1 1872 #define ALT_UART_LSR_OE_WIDTH 1 1874 #define ALT_UART_LSR_OE_SET_MSK 0x00000002 1876 #define ALT_UART_LSR_OE_CLR_MSK 0xfffffffd 1878 #define ALT_UART_LSR_OE_RESET 0x0 1880 #define ALT_UART_LSR_OE_GET(value) (((value) & 0x00000002) >> 1) 1882 #define ALT_UART_LSR_OE_SET(value) (((value) << 1) & 0x00000002) 1909 #define ALT_UART_LSR_PE_E_NOPARITYERR 0x0 1915 #define ALT_UART_LSR_PE_E_PARITYERR 0x1 1918 #define ALT_UART_LSR_PE_LSB 2 1920 #define ALT_UART_LSR_PE_MSB 2 1922 #define ALT_UART_LSR_PE_WIDTH 1 1924 #define ALT_UART_LSR_PE_SET_MSK 0x00000004 1926 #define ALT_UART_LSR_PE_CLR_MSK 0xfffffffb 1928 #define ALT_UART_LSR_PE_RESET 0x0 1930 #define ALT_UART_LSR_PE_GET(value) (((value) & 0x00000004) >> 2) 1932 #define ALT_UART_LSR_PE_SET(value) (((value) << 2) & 0x00000004) 1963 #define ALT_UART_LSR_FE_E_NOFRMERR 0x0 1969 #define ALT_UART_LSR_FE_E_FRMERR 0x1 1972 #define ALT_UART_LSR_FE_LSB 3 1974 #define ALT_UART_LSR_FE_MSB 3 1976 #define ALT_UART_LSR_FE_WIDTH 1 1978 #define ALT_UART_LSR_FE_SET_MSK 0x00000008 1980 #define ALT_UART_LSR_FE_CLR_MSK 0xfffffff7 1982 #define ALT_UART_LSR_FE_RESET 0x0 1984 #define ALT_UART_LSR_FE_GET(value) (((value) & 0x00000008) >> 3) 1986 #define ALT_UART_LSR_FE_SET(value) (((value) << 3) & 0x00000008) 2003 #define ALT_UART_LSR_BI_LSB 4 2005 #define ALT_UART_LSR_BI_MSB 4 2007 #define ALT_UART_LSR_BI_WIDTH 1 2009 #define ALT_UART_LSR_BI_SET_MSK 0x00000010 2011 #define ALT_UART_LSR_BI_CLR_MSK 0xffffffef 2013 #define ALT_UART_LSR_BI_RESET 0x0 2015 #define ALT_UART_LSR_BI_GET(value) (((value) & 0x00000010) >> 4) 2017 #define ALT_UART_LSR_BI_SET(value) (((value) << 4) & 0x00000010) 2035 #define ALT_UART_LSR_THRE_LSB 5 2037 #define ALT_UART_LSR_THRE_MSB 5 2039 #define ALT_UART_LSR_THRE_WIDTH 1 2041 #define ALT_UART_LSR_THRE_SET_MSK 0x00000020 2043 #define ALT_UART_LSR_THRE_CLR_MSK 0xffffffdf 2045 #define ALT_UART_LSR_THRE_RESET 0x1 2047 #define ALT_UART_LSR_THRE_GET(value) (((value) & 0x00000020) >> 5) 2049 #define ALT_UART_LSR_THRE_SET(value) (((value) << 5) & 0x00000020) 2074 #define ALT_UART_LSR_TEMT_E_NOTEMPTY 0x0 2080 #define ALT_UART_LSR_TEMT_E_EMPTY 0x1 2083 #define ALT_UART_LSR_TEMT_LSB 6 2085 #define ALT_UART_LSR_TEMT_MSB 6 2087 #define ALT_UART_LSR_TEMT_WIDTH 1 2089 #define ALT_UART_LSR_TEMT_SET_MSK 0x00000040 2091 #define ALT_UART_LSR_TEMT_CLR_MSK 0xffffffbf 2093 #define ALT_UART_LSR_TEMT_RESET 0x1 2095 #define ALT_UART_LSR_TEMT_GET(value) (((value) & 0x00000040) >> 6) 2097 #define ALT_UART_LSR_TEMT_SET(value) (((value) << 6) & 0x00000040) 2123 #define ALT_UART_LSR_RFE_E_NOERR 0x0 2129 #define ALT_UART_LSR_RFE_E_ERR 0x1 2132 #define ALT_UART_LSR_RFE_LSB 7 2134 #define ALT_UART_LSR_RFE_MSB 7 2136 #define ALT_UART_LSR_RFE_WIDTH 1 2138 #define ALT_UART_LSR_RFE_SET_MSK 0x00000080 2140 #define ALT_UART_LSR_RFE_CLR_MSK 0xffffff7f 2142 #define ALT_UART_LSR_RFE_RESET 0x0 2144 #define ALT_UART_LSR_RFE_GET(value) (((value) & 0x00000080) >> 7) 2146 #define ALT_UART_LSR_RFE_SET(value) (((value) << 7) & 0x00000080) 2148 #ifndef __ASSEMBLY__ 2161 const uint32_t dr : 1;
2162 const uint32_t oe : 1;
2163 const uint32_t pe : 1;
2164 const uint32_t fe : 1;
2165 const uint32_t bi : 1;
2166 const uint32_t thre : 1;
2167 const uint32_t temt : 1;
2168 const uint32_t rfe : 1;
2177 #define ALT_UART_LSR_OFST 0x14 2179 #define ALT_UART_LSR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_LSR_OFST)) 2233 #define ALT_UART_MSR_DCTS_E_NOCHG 0x0 2239 #define ALT_UART_MSR_DCTS_E_CHG 0x1 2242 #define ALT_UART_MSR_DCTS_LSB 0 2244 #define ALT_UART_MSR_DCTS_MSB 0 2246 #define ALT_UART_MSR_DCTS_WIDTH 1 2248 #define ALT_UART_MSR_DCTS_SET_MSK 0x00000001 2250 #define ALT_UART_MSR_DCTS_CLR_MSK 0xfffffffe 2252 #define ALT_UART_MSR_DCTS_RESET 0x0 2254 #define ALT_UART_MSR_DCTS_GET(value) (((value) & 0x00000001) >> 0) 2256 #define ALT_UART_MSR_DCTS_SET(value) (((value) << 0) & 0x00000001) 2285 #define ALT_UART_MSR_DDSR_E_NOCHG 0x0 2291 #define ALT_UART_MSR_DDSR_E_CHG 0x1 2294 #define ALT_UART_MSR_DDSR_LSB 1 2296 #define ALT_UART_MSR_DDSR_MSB 1 2298 #define ALT_UART_MSR_DDSR_WIDTH 1 2300 #define ALT_UART_MSR_DDSR_SET_MSK 0x00000002 2302 #define ALT_UART_MSR_DDSR_CLR_MSK 0xfffffffd 2304 #define ALT_UART_MSR_DDSR_RESET 0x0 2306 #define ALT_UART_MSR_DDSR_GET(value) (((value) & 0x00000002) >> 1) 2308 #define ALT_UART_MSR_DDSR_SET(value) (((value) << 1) & 0x00000002) 2334 #define ALT_UART_MSR_TERI_E_NOCHG 0x0 2340 #define ALT_UART_MSR_TERI_E_CHG 0x1 2343 #define ALT_UART_MSR_TERI_LSB 2 2345 #define ALT_UART_MSR_TERI_MSB 2 2347 #define ALT_UART_MSR_TERI_WIDTH 1 2349 #define ALT_UART_MSR_TERI_SET_MSK 0x00000004 2351 #define ALT_UART_MSR_TERI_CLR_MSK 0xfffffffb 2353 #define ALT_UART_MSR_TERI_RESET 0x0 2355 #define ALT_UART_MSR_TERI_GET(value) (((value) & 0x00000004) >> 2) 2357 #define ALT_UART_MSR_TERI_SET(value) (((value) << 2) & 0x00000004) 2386 #define ALT_UART_MSR_DDCD_E_NOCHG 0x0 2392 #define ALT_UART_MSR_DDCD_E_CHG 0x1 2395 #define ALT_UART_MSR_DDCD_LSB 3 2397 #define ALT_UART_MSR_DDCD_MSB 3 2399 #define ALT_UART_MSR_DDCD_WIDTH 1 2401 #define ALT_UART_MSR_DDCD_SET_MSK 0x00000008 2403 #define ALT_UART_MSR_DDCD_CLR_MSK 0xfffffff7 2405 #define ALT_UART_MSR_DDCD_RESET 0x0 2407 #define ALT_UART_MSR_DDCD_GET(value) (((value) & 0x00000008) >> 3) 2409 #define ALT_UART_MSR_DDCD_SET(value) (((value) << 3) & 0x00000008) 2435 #define ALT_UART_MSR_CTS_E_LOGIC1 0x0 2441 #define ALT_UART_MSR_CTS_E_LOGIC0 0x1 2444 #define ALT_UART_MSR_CTS_LSB 4 2446 #define ALT_UART_MSR_CTS_MSB 4 2448 #define ALT_UART_MSR_CTS_WIDTH 1 2450 #define ALT_UART_MSR_CTS_SET_MSK 0x00000010 2452 #define ALT_UART_MSR_CTS_CLR_MSK 0xffffffef 2454 #define ALT_UART_MSR_CTS_RESET 0x0 2456 #define ALT_UART_MSR_CTS_GET(value) (((value) & 0x00000010) >> 4) 2458 #define ALT_UART_MSR_CTS_SET(value) (((value) << 4) & 0x00000010) 2484 #define ALT_UART_MSR_DSR_E_LOGIC1 0x0 2490 #define ALT_UART_MSR_DSR_E_LOGIC0 0x1 2493 #define ALT_UART_MSR_DSR_LSB 5 2495 #define ALT_UART_MSR_DSR_MSB 5 2497 #define ALT_UART_MSR_DSR_WIDTH 1 2499 #define ALT_UART_MSR_DSR_SET_MSK 0x00000020 2501 #define ALT_UART_MSR_DSR_CLR_MSK 0xffffffdf 2503 #define ALT_UART_MSR_DSR_RESET 0x0 2505 #define ALT_UART_MSR_DSR_GET(value) (((value) & 0x00000020) >> 5) 2507 #define ALT_UART_MSR_DSR_SET(value) (((value) << 5) & 0x00000020) 2533 #define ALT_UART_MSR_RI_E_LOGIC1 0x0 2539 #define ALT_UART_MSR_RI_E_LOGIC0 0x1 2542 #define ALT_UART_MSR_RI_LSB 6 2544 #define ALT_UART_MSR_RI_MSB 6 2546 #define ALT_UART_MSR_RI_WIDTH 1 2548 #define ALT_UART_MSR_RI_SET_MSK 0x00000040 2550 #define ALT_UART_MSR_RI_CLR_MSK 0xffffffbf 2552 #define ALT_UART_MSR_RI_RESET 0x0 2554 #define ALT_UART_MSR_RI_GET(value) (((value) & 0x00000040) >> 6) 2556 #define ALT_UART_MSR_RI_SET(value) (((value) << 6) & 0x00000040) 2582 #define ALT_UART_MSR_DCD_E_LOGIC1 0x0 2588 #define ALT_UART_MSR_DCD_E_LOGIC0 0x1 2591 #define ALT_UART_MSR_DCD_LSB 7 2593 #define ALT_UART_MSR_DCD_MSB 7 2595 #define ALT_UART_MSR_DCD_WIDTH 1 2597 #define ALT_UART_MSR_DCD_SET_MSK 0x00000080 2599 #define ALT_UART_MSR_DCD_CLR_MSK 0xffffff7f 2601 #define ALT_UART_MSR_DCD_RESET 0x0 2603 #define ALT_UART_MSR_DCD_GET(value) (((value) & 0x00000080) >> 7) 2605 #define ALT_UART_MSR_DCD_SET(value) (((value) << 7) & 0x00000080) 2607 #ifndef __ASSEMBLY__ 2620 const uint32_t dcts : 1;
2621 const uint32_t ddsr : 1;
2622 const uint32_t teri : 1;
2623 const uint32_t ddcd : 1;
2624 const uint32_t cts : 1;
2625 const uint32_t dsr : 1;
2626 const uint32_t ri : 1;
2627 const uint32_t dcd : 1;
2636 #define ALT_UART_MSR_OFST 0x18 2638 #define ALT_UART_MSR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_MSR_OFST)) 2662 #define ALT_UART_SCR_SCR_LSB 0 2664 #define ALT_UART_SCR_SCR_MSB 7 2666 #define ALT_UART_SCR_SCR_WIDTH 8 2668 #define ALT_UART_SCR_SCR_SET_MSK 0x000000ff 2670 #define ALT_UART_SCR_SCR_CLR_MSK 0xffffff00 2672 #define ALT_UART_SCR_SCR_RESET 0x0 2674 #define ALT_UART_SCR_SCR_GET(value) (((value) & 0x000000ff) >> 0) 2676 #define ALT_UART_SCR_SCR_SET(value) (((value) << 0) & 0x000000ff) 2678 #ifndef __ASSEMBLY__ 2700 #define ALT_UART_SCR_OFST 0x1c 2702 #define ALT_UART_SCR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SCR_OFST)) 2736 #define ALT_UART_SRBR_SRBR_LSB 0 2738 #define ALT_UART_SRBR_SRBR_MSB 7 2740 #define ALT_UART_SRBR_SRBR_WIDTH 8 2742 #define ALT_UART_SRBR_SRBR_SET_MSK 0x000000ff 2744 #define ALT_UART_SRBR_SRBR_CLR_MSK 0xffffff00 2746 #define ALT_UART_SRBR_SRBR_RESET 0x0 2748 #define ALT_UART_SRBR_SRBR_GET(value) (((value) & 0x000000ff) >> 0) 2750 #define ALT_UART_SRBR_SRBR_SET(value) (((value) << 0) & 0x000000ff) 2752 #ifndef __ASSEMBLY__ 2774 #define ALT_UART_SRBR_OFST 0x30 2776 #define ALT_UART_SRBR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SRBR_OFST)) 2810 #define ALT_UART_STHR_STHR_LSB 0 2812 #define ALT_UART_STHR_STHR_MSB 7 2814 #define ALT_UART_STHR_STHR_WIDTH 8 2816 #define ALT_UART_STHR_STHR_SET_MSK 0x000000ff 2818 #define ALT_UART_STHR_STHR_CLR_MSK 0xffffff00 2820 #define ALT_UART_STHR_STHR_RESET 0x0 2822 #define ALT_UART_STHR_STHR_GET(value) (((value) & 0x000000ff) >> 0) 2824 #define ALT_UART_STHR_STHR_SET(value) (((value) << 0) & 0x000000ff) 2826 #ifndef __ASSEMBLY__ 2848 #define ALT_UART_STHR_OFST 0x34 2850 #define ALT_UART_STHR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_STHR_OFST)) 2891 #define ALT_UART_FAR_SRBR_STHR_E_DISD 0x0 2897 #define ALT_UART_FAR_SRBR_STHR_E_END 0x1 2900 #define ALT_UART_FAR_SRBR_STHR_LSB 0 2902 #define ALT_UART_FAR_SRBR_STHR_MSB 0 2904 #define ALT_UART_FAR_SRBR_STHR_WIDTH 1 2906 #define ALT_UART_FAR_SRBR_STHR_SET_MSK 0x00000001 2908 #define ALT_UART_FAR_SRBR_STHR_CLR_MSK 0xfffffffe 2910 #define ALT_UART_FAR_SRBR_STHR_RESET 0x0 2912 #define ALT_UART_FAR_SRBR_STHR_GET(value) (((value) & 0x00000001) >> 0) 2914 #define ALT_UART_FAR_SRBR_STHR_SET(value) (((value) << 0) & 0x00000001) 2916 #ifndef __ASSEMBLY__ 2929 uint32_t srbr_sthr : 1;
2938 #define ALT_UART_FAR_OFST 0x70 2940 #define ALT_UART_FAR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_FAR_OFST)) 2968 #define ALT_UART_TFR_TFR_LSB 0 2970 #define ALT_UART_TFR_TFR_MSB 7 2972 #define ALT_UART_TFR_TFR_WIDTH 8 2974 #define ALT_UART_TFR_TFR_SET_MSK 0x000000ff 2976 #define ALT_UART_TFR_TFR_CLR_MSK 0xffffff00 2978 #define ALT_UART_TFR_TFR_RESET 0x0 2980 #define ALT_UART_TFR_TFR_GET(value) (((value) & 0x000000ff) >> 0) 2982 #define ALT_UART_TFR_TFR_SET(value) (((value) << 0) & 0x000000ff) 2984 #ifndef __ASSEMBLY__ 2997 const uint32_t tfr : 8;
3006 #define ALT_UART_TFR_OFST 0x74 3008 #define ALT_UART_TFR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_TFR_OFST)) 3038 #define ALT_UART_RFW_RFWD_LSB 0 3040 #define ALT_UART_RFW_RFWD_MSB 7 3042 #define ALT_UART_RFW_RFWD_WIDTH 8 3044 #define ALT_UART_RFW_RFWD_SET_MSK 0x000000ff 3046 #define ALT_UART_RFW_RFWD_CLR_MSK 0xffffff00 3048 #define ALT_UART_RFW_RFWD_RESET 0x0 3050 #define ALT_UART_RFW_RFWD_GET(value) (((value) & 0x000000ff) >> 0) 3052 #define ALT_UART_RFW_RFWD_SET(value) (((value) << 0) & 0x000000ff) 3066 #define ALT_UART_RFW_RFPE_LSB 8 3068 #define ALT_UART_RFW_RFPE_MSB 8 3070 #define ALT_UART_RFW_RFPE_WIDTH 1 3072 #define ALT_UART_RFW_RFPE_SET_MSK 0x00000100 3074 #define ALT_UART_RFW_RFPE_CLR_MSK 0xfffffeff 3076 #define ALT_UART_RFW_RFPE_RESET 0x0 3078 #define ALT_UART_RFW_RFPE_GET(value) (((value) & 0x00000100) >> 8) 3080 #define ALT_UART_RFW_RFPE_SET(value) (((value) << 8) & 0x00000100) 3094 #define ALT_UART_RFW_RFFE_LSB 9 3096 #define ALT_UART_RFW_RFFE_MSB 9 3098 #define ALT_UART_RFW_RFFE_WIDTH 1 3100 #define ALT_UART_RFW_RFFE_SET_MSK 0x00000200 3102 #define ALT_UART_RFW_RFFE_CLR_MSK 0xfffffdff 3104 #define ALT_UART_RFW_RFFE_RESET 0x0 3106 #define ALT_UART_RFW_RFFE_GET(value) (((value) & 0x00000200) >> 9) 3108 #define ALT_UART_RFW_RFFE_SET(value) (((value) << 9) & 0x00000200) 3110 #ifndef __ASSEMBLY__ 3134 #define ALT_UART_RFW_OFST 0x78 3136 #define ALT_UART_RFW_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_RFW_OFST)) 3176 #define ALT_UART_USR_TFNF_E_FULL 0x0 3182 #define ALT_UART_USR_TFNF_E_NOTFULL 0x1 3185 #define ALT_UART_USR_TFNF_LSB 1 3187 #define ALT_UART_USR_TFNF_MSB 1 3189 #define ALT_UART_USR_TFNF_WIDTH 1 3191 #define ALT_UART_USR_TFNF_SET_MSK 0x00000002 3193 #define ALT_UART_USR_TFNF_CLR_MSK 0xfffffffd 3195 #define ALT_UART_USR_TFNF_RESET 0x1 3197 #define ALT_UART_USR_TFNF_GET(value) (((value) & 0x00000002) >> 1) 3199 #define ALT_UART_USR_TFNF_SET(value) (((value) << 1) & 0x00000002) 3222 #define ALT_UART_USR_TFE_E_NOTEMPTY 0x0 3228 #define ALT_UART_USR_TFE_E_EMPTY 0x1 3231 #define ALT_UART_USR_TFE_LSB 2 3233 #define ALT_UART_USR_TFE_MSB 2 3235 #define ALT_UART_USR_TFE_WIDTH 1 3237 #define ALT_UART_USR_TFE_SET_MSK 0x00000004 3239 #define ALT_UART_USR_TFE_CLR_MSK 0xfffffffb 3241 #define ALT_UART_USR_TFE_RESET 0x1 3243 #define ALT_UART_USR_TFE_GET(value) (((value) & 0x00000004) >> 2) 3245 #define ALT_UART_USR_TFE_SET(value) (((value) << 2) & 0x00000004) 3268 #define ALT_UART_USR_RFNE_E_EMPTY 0x0 3274 #define ALT_UART_USR_RFNE_E_NOTEMPTY 0x1 3277 #define ALT_UART_USR_RFNE_LSB 3 3279 #define ALT_UART_USR_RFNE_MSB 3 3281 #define ALT_UART_USR_RFNE_WIDTH 1 3283 #define ALT_UART_USR_RFNE_SET_MSK 0x00000008 3285 #define ALT_UART_USR_RFNE_CLR_MSK 0xfffffff7 3287 #define ALT_UART_USR_RFNE_RESET 0x0 3289 #define ALT_UART_USR_RFNE_GET(value) (((value) & 0x00000008) >> 3) 3291 #define ALT_UART_USR_RFNE_SET(value) (((value) << 3) & 0x00000008) 3314 #define ALT_UART_USR_RFF_E_NOTFULL 0x0 3320 #define ALT_UART_USR_RFF_E_FULL 0x1 3323 #define ALT_UART_USR_RFF_LSB 4 3325 #define ALT_UART_USR_RFF_MSB 4 3327 #define ALT_UART_USR_RFF_WIDTH 1 3329 #define ALT_UART_USR_RFF_SET_MSK 0x00000010 3331 #define ALT_UART_USR_RFF_CLR_MSK 0xffffffef 3333 #define ALT_UART_USR_RFF_RESET 0x0 3335 #define ALT_UART_USR_RFF_GET(value) (((value) & 0x00000010) >> 4) 3337 #define ALT_UART_USR_RFF_SET(value) (((value) << 4) & 0x00000010) 3339 #ifndef __ASSEMBLY__ 3353 const uint32_t tfnf : 1;
3354 const uint32_t tfe : 1;
3355 const uint32_t rfne : 1;
3356 const uint32_t rff : 1;
3365 #define ALT_UART_USR_OFST 0x7c 3367 #define ALT_UART_USR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_USR_OFST)) 3392 #define ALT_UART_TFL_TFL_LSB 0 3394 #define ALT_UART_TFL_TFL_MSB 4 3396 #define ALT_UART_TFL_TFL_WIDTH 5 3398 #define ALT_UART_TFL_TFL_SET_MSK 0x0000001f 3400 #define ALT_UART_TFL_TFL_CLR_MSK 0xffffffe0 3402 #define ALT_UART_TFL_TFL_RESET 0x0 3404 #define ALT_UART_TFL_TFL_GET(value) (((value) & 0x0000001f) >> 0) 3406 #define ALT_UART_TFL_TFL_SET(value) (((value) << 0) & 0x0000001f) 3408 #ifndef __ASSEMBLY__ 3421 const uint32_t tfl : 5;
3430 #define ALT_UART_TFL_OFST 0x80 3432 #define ALT_UART_TFL_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_TFL_OFST)) 3457 #define ALT_UART_RFL_RFL_LSB 0 3459 #define ALT_UART_RFL_RFL_MSB 4 3461 #define ALT_UART_RFL_RFL_WIDTH 5 3463 #define ALT_UART_RFL_RFL_SET_MSK 0x0000001f 3465 #define ALT_UART_RFL_RFL_CLR_MSK 0xffffffe0 3467 #define ALT_UART_RFL_RFL_RESET 0x0 3469 #define ALT_UART_RFL_RFL_GET(value) (((value) & 0x0000001f) >> 0) 3471 #define ALT_UART_RFL_RFL_SET(value) (((value) << 0) & 0x0000001f) 3473 #ifndef __ASSEMBLY__ 3486 const uint32_t rfl : 5;
3495 #define ALT_UART_RFL_OFST 0x84 3497 #define ALT_UART_RFL_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_RFL_OFST)) 3535 #define ALT_UART_SRR_UR_E_NORST 0x0 3541 #define ALT_UART_SRR_UR_E_RST 0x1 3544 #define ALT_UART_SRR_UR_LSB 0 3546 #define ALT_UART_SRR_UR_MSB 0 3548 #define ALT_UART_SRR_UR_WIDTH 1 3550 #define ALT_UART_SRR_UR_SET_MSK 0x00000001 3552 #define ALT_UART_SRR_UR_CLR_MSK 0xfffffffe 3554 #define ALT_UART_SRR_UR_RESET 0x0 3556 #define ALT_UART_SRR_UR_GET(value) (((value) & 0x00000001) >> 0) 3558 #define ALT_UART_SRR_UR_SET(value) (((value) << 0) & 0x00000001) 3585 #define ALT_UART_SRR_RFR_E_NORST 0x0 3591 #define ALT_UART_SRR_RFR_E_RST 0x1 3594 #define ALT_UART_SRR_RFR_LSB 1 3596 #define ALT_UART_SRR_RFR_MSB 1 3598 #define ALT_UART_SRR_RFR_WIDTH 1 3600 #define ALT_UART_SRR_RFR_SET_MSK 0x00000002 3602 #define ALT_UART_SRR_RFR_CLR_MSK 0xfffffffd 3604 #define ALT_UART_SRR_RFR_RESET 0x0 3606 #define ALT_UART_SRR_RFR_GET(value) (((value) & 0x00000002) >> 1) 3608 #define ALT_UART_SRR_RFR_SET(value) (((value) << 1) & 0x00000002) 3634 #define ALT_UART_SRR_XFR_E_NORST 0x0 3640 #define ALT_UART_SRR_XFR_E_RST 0x1 3643 #define ALT_UART_SRR_XFR_LSB 2 3645 #define ALT_UART_SRR_XFR_MSB 2 3647 #define ALT_UART_SRR_XFR_WIDTH 1 3649 #define ALT_UART_SRR_XFR_SET_MSK 0x00000004 3651 #define ALT_UART_SRR_XFR_CLR_MSK 0xfffffffb 3653 #define ALT_UART_SRR_XFR_RESET 0x0 3655 #define ALT_UART_SRR_XFR_GET(value) (((value) & 0x00000004) >> 2) 3657 #define ALT_UART_SRR_XFR_SET(value) (((value) << 2) & 0x00000004) 3659 #ifndef __ASSEMBLY__ 3683 #define ALT_UART_SRR_OFST 0x88 3685 #define ALT_UART_SRR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SRR_OFST)) 3731 #define ALT_UART_SRTS_SRTS_E_LOGIC0 0x1 3737 #define ALT_UART_SRTS_SRTS_E_LOGIC1 0x0 3740 #define ALT_UART_SRTS_SRTS_LSB 0 3742 #define ALT_UART_SRTS_SRTS_MSB 0 3744 #define ALT_UART_SRTS_SRTS_WIDTH 1 3746 #define ALT_UART_SRTS_SRTS_SET_MSK 0x00000001 3748 #define ALT_UART_SRTS_SRTS_CLR_MSK 0xfffffffe 3750 #define ALT_UART_SRTS_SRTS_RESET 0x0 3752 #define ALT_UART_SRTS_SRTS_GET(value) (((value) & 0x00000001) >> 0) 3754 #define ALT_UART_SRTS_SRTS_SET(value) (((value) << 0) & 0x00000001) 3756 #ifndef __ASSEMBLY__ 3778 #define ALT_UART_SRTS_OFST 0x8c 3780 #define ALT_UART_SRTS_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SRTS_OFST)) 3821 #define ALT_UART_SBCR_SBCR_E_DISD 0x0 3827 #define ALT_UART_SBCR_SBCR_E_END 0x1 3830 #define ALT_UART_SBCR_SBCR_LSB 0 3832 #define ALT_UART_SBCR_SBCR_MSB 0 3834 #define ALT_UART_SBCR_SBCR_WIDTH 1 3836 #define ALT_UART_SBCR_SBCR_SET_MSK 0x00000001 3838 #define ALT_UART_SBCR_SBCR_CLR_MSK 0xfffffffe 3840 #define ALT_UART_SBCR_SBCR_RESET 0x0 3842 #define ALT_UART_SBCR_SBCR_GET(value) (((value) & 0x00000001) >> 0) 3844 #define ALT_UART_SBCR_SBCR_SET(value) (((value) << 0) & 0x00000001) 3846 #ifndef __ASSEMBLY__ 3868 #define ALT_UART_SBCR_OFST 0x90 3870 #define ALT_UART_SBCR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SBCR_OFST)) 3907 #define ALT_UART_SDMAM_SDMAM_E_SINGLE 0x0 3913 #define ALT_UART_SDMAM_SDMAM_E_MULT 0x1 3916 #define ALT_UART_SDMAM_SDMAM_LSB 0 3918 #define ALT_UART_SDMAM_SDMAM_MSB 0 3920 #define ALT_UART_SDMAM_SDMAM_WIDTH 1 3922 #define ALT_UART_SDMAM_SDMAM_SET_MSK 0x00000001 3924 #define ALT_UART_SDMAM_SDMAM_CLR_MSK 0xfffffffe 3926 #define ALT_UART_SDMAM_SDMAM_RESET 0x0 3928 #define ALT_UART_SDMAM_SDMAM_GET(value) (((value) & 0x00000001) >> 0) 3930 #define ALT_UART_SDMAM_SDMAM_SET(value) (((value) << 0) & 0x00000001) 3932 #ifndef __ASSEMBLY__ 3954 #define ALT_UART_SDMAM_OFST 0x94 3956 #define ALT_UART_SDMAM_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SDMAM_OFST)) 3995 #define ALT_UART_SFE_SFE_E_DISD 0x0 4001 #define ALT_UART_SFE_SFE_E_END 0x1 4004 #define ALT_UART_SFE_SFE_LSB 0 4006 #define ALT_UART_SFE_SFE_MSB 0 4008 #define ALT_UART_SFE_SFE_WIDTH 1 4010 #define ALT_UART_SFE_SFE_SET_MSK 0x00000001 4012 #define ALT_UART_SFE_SFE_CLR_MSK 0xfffffffe 4014 #define ALT_UART_SFE_SFE_RESET 0x0 4016 #define ALT_UART_SFE_SFE_GET(value) (((value) & 0x00000001) >> 0) 4018 #define ALT_UART_SFE_SFE_SET(value) (((value) << 0) & 0x00000001) 4020 #ifndef __ASSEMBLY__ 4042 #define ALT_UART_SFE_OFST 0x98 4044 #define ALT_UART_SFE_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SFE_OFST)) 4087 #define ALT_UART_SRT_SRT_E_ONECHAR 0x0 4093 #define ALT_UART_SRT_SRT_E_QUARTERFULL 0x1 4099 #define ALT_UART_SRT_SRT_E_HALFFULL 0x2 4105 #define ALT_UART_SRT_SRT_E_FULLLESS2 0x3 4108 #define ALT_UART_SRT_SRT_LSB 0 4110 #define ALT_UART_SRT_SRT_MSB 1 4112 #define ALT_UART_SRT_SRT_WIDTH 2 4114 #define ALT_UART_SRT_SRT_SET_MSK 0x00000003 4116 #define ALT_UART_SRT_SRT_CLR_MSK 0xfffffffc 4118 #define ALT_UART_SRT_SRT_RESET 0x0 4120 #define ALT_UART_SRT_SRT_GET(value) (((value) & 0x00000003) >> 0) 4122 #define ALT_UART_SRT_SRT_SET(value) (((value) << 0) & 0x00000003) 4124 #ifndef __ASSEMBLY__ 4146 #define ALT_UART_SRT_OFST 0x9c 4148 #define ALT_UART_SRT_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_SRT_OFST)) 4189 #define ALT_UART_STET_STET_E_FIFOEMPTY 0x0 4195 #define ALT_UART_STET_STET_E_TWOCHARS 0x1 4201 #define ALT_UART_STET_STET_E_QUARTERFULL 0x2 4207 #define ALT_UART_STET_STET_E_HALFFULL 0x3 4210 #define ALT_UART_STET_STET_LSB 0 4212 #define ALT_UART_STET_STET_MSB 1 4214 #define ALT_UART_STET_STET_WIDTH 2 4216 #define ALT_UART_STET_STET_SET_MSK 0x00000003 4218 #define ALT_UART_STET_STET_CLR_MSK 0xfffffffc 4220 #define ALT_UART_STET_STET_RESET 0x0 4222 #define ALT_UART_STET_STET_GET(value) (((value) & 0x00000003) >> 0) 4224 #define ALT_UART_STET_STET_SET(value) (((value) << 0) & 0x00000003) 4226 #ifndef __ASSEMBLY__ 4248 #define ALT_UART_STET_OFST 0xa0 4250 #define ALT_UART_STET_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_STET_OFST)) 4289 #define ALT_UART_HTX_HTX_E_DISD 0x0 4295 #define ALT_UART_HTX_HTX_E_END 0x1 4298 #define ALT_UART_HTX_HTX_LSB 0 4300 #define ALT_UART_HTX_HTX_MSB 0 4302 #define ALT_UART_HTX_HTX_WIDTH 1 4304 #define ALT_UART_HTX_HTX_SET_MSK 0x00000001 4306 #define ALT_UART_HTX_HTX_CLR_MSK 0xfffffffe 4308 #define ALT_UART_HTX_HTX_RESET 0x0 4310 #define ALT_UART_HTX_HTX_GET(value) (((value) & 0x00000001) >> 0) 4312 #define ALT_UART_HTX_HTX_SET(value) (((value) << 0) & 0x00000001) 4314 #ifndef __ASSEMBLY__ 4336 #define ALT_UART_HTX_OFST 0xa4 4338 #define ALT_UART_HTX_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_HTX_OFST)) 4366 #define ALT_UART_DMASA_DMASA_LSB 0 4368 #define ALT_UART_DMASA_DMASA_MSB 0 4370 #define ALT_UART_DMASA_DMASA_WIDTH 1 4372 #define ALT_UART_DMASA_DMASA_SET_MSK 0x00000001 4374 #define ALT_UART_DMASA_DMASA_CLR_MSK 0xfffffffe 4376 #define ALT_UART_DMASA_DMASA_RESET 0x0 4378 #define ALT_UART_DMASA_DMASA_GET(value) (((value) & 0x00000001) >> 0) 4380 #define ALT_UART_DMASA_DMASA_SET(value) (((value) << 0) & 0x00000001) 4382 #ifndef __ASSEMBLY__ 4404 #define ALT_UART_DMASA_OFST 0xa8 4406 #define ALT_UART_DMASA_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_DMASA_OFST)) 4453 #define ALT_UART_CPR_APBDATAWIDTH_E_WIDTH32BITS 0x2 4456 #define ALT_UART_CPR_APBDATAWIDTH_LSB 0 4458 #define ALT_UART_CPR_APBDATAWIDTH_MSB 1 4460 #define ALT_UART_CPR_APBDATAWIDTH_WIDTH 2 4462 #define ALT_UART_CPR_APBDATAWIDTH_SET_MSK 0x00000003 4464 #define ALT_UART_CPR_APBDATAWIDTH_CLR_MSK 0xfffffffc 4466 #define ALT_UART_CPR_APBDATAWIDTH_RESET 0x2 4468 #define ALT_UART_CPR_APBDATAWIDTH_GET(value) (((value) & 0x00000003) >> 0) 4470 #define ALT_UART_CPR_APBDATAWIDTH_SET(value) (((value) << 0) & 0x00000003) 4491 #define ALT_UART_CPR_AFCE_MOD_E_END 0x1 4494 #define ALT_UART_CPR_AFCE_MOD_LSB 4 4496 #define ALT_UART_CPR_AFCE_MOD_MSB 4 4498 #define ALT_UART_CPR_AFCE_MOD_WIDTH 1 4500 #define ALT_UART_CPR_AFCE_MOD_SET_MSK 0x00000010 4502 #define ALT_UART_CPR_AFCE_MOD_CLR_MSK 0xffffffef 4504 #define ALT_UART_CPR_AFCE_MOD_RESET 0x1 4506 #define ALT_UART_CPR_AFCE_MOD_GET(value) (((value) & 0x00000010) >> 4) 4508 #define ALT_UART_CPR_AFCE_MOD_SET(value) (((value) << 4) & 0x00000010) 4530 #define ALT_UART_CPR_THRE_MOD_E_END 0x1 4533 #define ALT_UART_CPR_THRE_MOD_LSB 5 4535 #define ALT_UART_CPR_THRE_MOD_MSB 5 4537 #define ALT_UART_CPR_THRE_MOD_WIDTH 1 4539 #define ALT_UART_CPR_THRE_MOD_SET_MSK 0x00000020 4541 #define ALT_UART_CPR_THRE_MOD_CLR_MSK 0xffffffdf 4543 #define ALT_UART_CPR_THRE_MOD_RESET 0x1 4545 #define ALT_UART_CPR_THRE_MOD_GET(value) (((value) & 0x00000020) >> 5) 4547 #define ALT_UART_CPR_THRE_MOD_SET(value) (((value) << 5) & 0x00000020) 4568 #define ALT_UART_CPR_SIR_MOD_E_DISD 0x0 4571 #define ALT_UART_CPR_SIR_MOD_LSB 6 4573 #define ALT_UART_CPR_SIR_MOD_MSB 6 4575 #define ALT_UART_CPR_SIR_MOD_WIDTH 1 4577 #define ALT_UART_CPR_SIR_MOD_SET_MSK 0x00000040 4579 #define ALT_UART_CPR_SIR_MOD_CLR_MSK 0xffffffbf 4581 #define ALT_UART_CPR_SIR_MOD_RESET 0x0 4583 #define ALT_UART_CPR_SIR_MOD_GET(value) (((value) & 0x00000040) >> 6) 4585 #define ALT_UART_CPR_SIR_MOD_SET(value) (((value) << 6) & 0x00000040) 4606 #define ALT_UART_CPR_SIR_LP_MOD_E_DISD 0x0 4609 #define ALT_UART_CPR_SIR_LP_MOD_LSB 7 4611 #define ALT_UART_CPR_SIR_LP_MOD_MSB 7 4613 #define ALT_UART_CPR_SIR_LP_MOD_WIDTH 1 4615 #define ALT_UART_CPR_SIR_LP_MOD_SET_MSK 0x00000080 4617 #define ALT_UART_CPR_SIR_LP_MOD_CLR_MSK 0xffffff7f 4619 #define ALT_UART_CPR_SIR_LP_MOD_RESET 0x0 4621 #define ALT_UART_CPR_SIR_LP_MOD_GET(value) (((value) & 0x00000080) >> 7) 4623 #define ALT_UART_CPR_SIR_LP_MOD_SET(value) (((value) << 7) & 0x00000080) 4645 #define ALT_UART_CPR_ADDITIONAL_FEAT_E_END 0x1 4648 #define ALT_UART_CPR_ADDITIONAL_FEAT_LSB 8 4650 #define ALT_UART_CPR_ADDITIONAL_FEAT_MSB 8 4652 #define ALT_UART_CPR_ADDITIONAL_FEAT_WIDTH 1 4654 #define ALT_UART_CPR_ADDITIONAL_FEAT_SET_MSK 0x00000100 4656 #define ALT_UART_CPR_ADDITIONAL_FEAT_CLR_MSK 0xfffffeff 4658 #define ALT_UART_CPR_ADDITIONAL_FEAT_RESET 0x1 4660 #define ALT_UART_CPR_ADDITIONAL_FEAT_GET(value) (((value) & 0x00000100) >> 8) 4662 #define ALT_UART_CPR_ADDITIONAL_FEAT_SET(value) (((value) << 8) & 0x00000100) 4685 #define ALT_UART_CPR_FIFO_ACCESS_E_END 0x1 4688 #define ALT_UART_CPR_FIFO_ACCESS_LSB 9 4690 #define ALT_UART_CPR_FIFO_ACCESS_MSB 9 4692 #define ALT_UART_CPR_FIFO_ACCESS_WIDTH 1 4694 #define ALT_UART_CPR_FIFO_ACCESS_SET_MSK 0x00000200 4696 #define ALT_UART_CPR_FIFO_ACCESS_CLR_MSK 0xfffffdff 4698 #define ALT_UART_CPR_FIFO_ACCESS_RESET 0x1 4700 #define ALT_UART_CPR_FIFO_ACCESS_GET(value) (((value) & 0x00000200) >> 9) 4702 #define ALT_UART_CPR_FIFO_ACCESS_SET(value) (((value) << 9) & 0x00000200) 4723 #define ALT_UART_CPR_FIFO_STAT_E_END 0x1 4726 #define ALT_UART_CPR_FIFO_STAT_LSB 10 4728 #define ALT_UART_CPR_FIFO_STAT_MSB 10 4730 #define ALT_UART_CPR_FIFO_STAT_WIDTH 1 4732 #define ALT_UART_CPR_FIFO_STAT_SET_MSK 0x00000400 4734 #define ALT_UART_CPR_FIFO_STAT_CLR_MSK 0xfffffbff 4736 #define ALT_UART_CPR_FIFO_STAT_RESET 0x1 4738 #define ALT_UART_CPR_FIFO_STAT_GET(value) (((value) & 0x00000400) >> 10) 4740 #define ALT_UART_CPR_FIFO_STAT_SET(value) (((value) << 10) & 0x00000400) 4764 #define ALT_UART_CPR_SHADOW_E_END 0x1 4767 #define ALT_UART_CPR_SHADOW_LSB 11 4769 #define ALT_UART_CPR_SHADOW_MSB 11 4771 #define ALT_UART_CPR_SHADOW_WIDTH 1 4773 #define ALT_UART_CPR_SHADOW_SET_MSK 0x00000800 4775 #define ALT_UART_CPR_SHADOW_CLR_MSK 0xfffff7ff 4777 #define ALT_UART_CPR_SHADOW_RESET 0x1 4779 #define ALT_UART_CPR_SHADOW_GET(value) (((value) & 0x00000800) >> 11) 4781 #define ALT_UART_CPR_SHADOW_SET(value) (((value) << 11) & 0x00000800) 4802 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_E_END 0x1 4805 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_LSB 12 4807 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_MSB 12 4809 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_WIDTH 1 4811 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_SET_MSK 0x00001000 4813 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_CLR_MSK 0xffffefff 4815 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_RESET 0x1 4817 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_GET(value) (((value) & 0x00001000) >> 12) 4819 #define ALT_UART_CPR_UART_ADD_ENC_PARAM_SET(value) (((value) << 12) & 0x00001000) 4840 #define ALT_UART_CPR_DMA_EXTRA_E_END 0x1 4843 #define ALT_UART_CPR_DMA_EXTRA_LSB 13 4845 #define ALT_UART_CPR_DMA_EXTRA_MSB 13 4847 #define ALT_UART_CPR_DMA_EXTRA_WIDTH 1 4849 #define ALT_UART_CPR_DMA_EXTRA_SET_MSK 0x00002000 4851 #define ALT_UART_CPR_DMA_EXTRA_CLR_MSK 0xffffdfff 4853 #define ALT_UART_CPR_DMA_EXTRA_RESET 0x1 4855 #define ALT_UART_CPR_DMA_EXTRA_GET(value) (((value) & 0x00002000) >> 13) 4857 #define ALT_UART_CPR_DMA_EXTRA_SET(value) (((value) << 13) & 0x00002000) 4878 #define ALT_UART_CPR_FIFO_MOD_E_FIFO128BYTES 0x80 4881 #define ALT_UART_CPR_FIFO_MOD_LSB 16 4883 #define ALT_UART_CPR_FIFO_MOD_MSB 23 4885 #define ALT_UART_CPR_FIFO_MOD_WIDTH 8 4887 #define ALT_UART_CPR_FIFO_MOD_SET_MSK 0x00ff0000 4889 #define ALT_UART_CPR_FIFO_MOD_CLR_MSK 0xff00ffff 4891 #define ALT_UART_CPR_FIFO_MOD_RESET 0x37 4893 #define ALT_UART_CPR_FIFO_MOD_GET(value) (((value) & 0x00ff0000) >> 16) 4895 #define ALT_UART_CPR_FIFO_MOD_SET(value) (((value) << 16) & 0x00ff0000) 4897 #ifndef __ASSEMBLY__ 4910 const uint32_t apbdatawidth : 2;
4912 const uint32_t afce_mode : 1;
4913 const uint32_t thre_mode : 1;
4914 const uint32_t sir_mode : 1;
4915 const uint32_t sir_lp_mode : 1;
4916 const uint32_t additional_feat : 1;
4917 const uint32_t fifo_access : 1;
4918 const uint32_t fifo_stat : 1;
4919 const uint32_t shadow : 1;
4920 const uint32_t uart_add_encoded_param : 1;
4921 const uint32_t dma_extra : 1;
4923 const uint32_t fifo_mode : 8;
4932 #define ALT_UART_CPR_OFST 0xf4 4934 #define ALT_UART_CPR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_CPR_OFST)) 4958 #define ALT_UART_UCV_UART_COMPONENT_VER_LSB 0 4960 #define ALT_UART_UCV_UART_COMPONENT_VER_MSB 31 4962 #define ALT_UART_UCV_UART_COMPONENT_VER_WIDTH 32 4964 #define ALT_UART_UCV_UART_COMPONENT_VER_SET_MSK 0xffffffff 4966 #define ALT_UART_UCV_UART_COMPONENT_VER_CLR_MSK 0x00000000 4968 #define ALT_UART_UCV_UART_COMPONENT_VER_RESET 0x3331312a 4970 #define ALT_UART_UCV_UART_COMPONENT_VER_GET(value) (((value) & 0xffffffff) >> 0) 4972 #define ALT_UART_UCV_UART_COMPONENT_VER_SET(value) (((value) << 0) & 0xffffffff) 4974 #ifndef __ASSEMBLY__ 4987 const uint32_t uart_component_version : 32;
4995 #define ALT_UART_UCV_OFST 0xf8 4997 #define ALT_UART_UCV_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_UCV_OFST)) 5020 #define ALT_UART_CTR_PERIPHERAL_ID_LSB 0 5022 #define ALT_UART_CTR_PERIPHERAL_ID_MSB 31 5024 #define ALT_UART_CTR_PERIPHERAL_ID_WIDTH 32 5026 #define ALT_UART_CTR_PERIPHERAL_ID_SET_MSK 0xffffffff 5028 #define ALT_UART_CTR_PERIPHERAL_ID_CLR_MSK 0x00000000 5030 #define ALT_UART_CTR_PERIPHERAL_ID_RESET 0x44570110 5032 #define ALT_UART_CTR_PERIPHERAL_ID_GET(value) (((value) & 0xffffffff) >> 0) 5034 #define ALT_UART_CTR_PERIPHERAL_ID_SET(value) (((value) << 0) & 0xffffffff) 5036 #ifndef __ASSEMBLY__ 5049 const uint32_t peripheral_id : 32;
5057 #define ALT_UART_CTR_OFST 0xfc 5059 #define ALT_UART_CTR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_UART_CTR_OFST)) 5061 #ifndef __ASSEMBLY__ 5074 volatile ALT_UART_RBR_THR_DLL_t rbr_thr_dll;
5075 volatile ALT_UART_IER_DLH_t ier_dlh;
5079 volatile ALT_UART_IIR_t iir;
5080 volatile ALT_UART_FCR_t fcr;
5082 volatile ALT_UART_LCR_t lcr;
5083 volatile ALT_UART_MCR_t mcr;
5084 volatile ALT_UART_LSR_t lsr;
5085 volatile ALT_UART_MSR_t msr;
5086 volatile ALT_UART_SCR_t scr;
5087 volatile uint32_t _pad_0x20_0x2f[4];
5088 volatile ALT_UART_SRBR_t srbr;
5089 volatile ALT_UART_STHR_t sthr;
5090 volatile uint32_t _pad_0x38_0x6f[14];
5091 volatile ALT_UART_FAR_t far;
5092 volatile ALT_UART_TFR_t tfr;
5093 volatile ALT_UART_RFW_t RFW;
5094 volatile ALT_UART_USR_t usr;
5095 volatile ALT_UART_TFL_t tfl;
5096 volatile ALT_UART_RFL_t rfl;
5097 volatile ALT_UART_SRR_t srr;
5098 volatile ALT_UART_SRTS_t srts;
5099 volatile ALT_UART_SBCR_t sbcr;
5100 volatile ALT_UART_SDMAM_t sdmam;
5101 volatile ALT_UART_SFE_t sfe;
5102 volatile ALT_UART_SRT_t srt;
5103 volatile ALT_UART_STET_t stet;
5104 volatile ALT_UART_HTX_t htx;
5105 volatile ALT_UART_DMASA_t dmasa;
5106 volatile uint32_t _pad_0xac_0xf3[18];
5107 volatile ALT_UART_CPR_t cpr;
5108 volatile ALT_UART_UCV_t ucv;
5109 volatile ALT_UART_CTR_t ctr;
5113 typedef volatile struct ALT_UART_s ALT_UART_t;
5117 volatile uint32_t rbr_thr_dll;
5118 volatile uint32_t ier_dlh;
5122 volatile uint32_t iir;
5123 volatile uint32_t fcr;
5125 volatile uint32_t lcr;
5126 volatile uint32_t mcr;
5127 volatile uint32_t lsr;
5128 volatile uint32_t msr;
5129 volatile uint32_t scr;
5130 volatile uint32_t _pad_0x20_0x2f[4];
5131 volatile uint32_t srbr;
5132 volatile uint32_t sthr;
5133 volatile uint32_t _pad_0x38_0x6f[14];
5134 volatile uint32_t far;
5135 volatile uint32_t tfr;
5136 volatile uint32_t RFW;
5137 volatile uint32_t usr;
5138 volatile uint32_t tfl;
5139 volatile uint32_t rfl;
5140 volatile uint32_t srr;
5141 volatile uint32_t srts;
5142 volatile uint32_t sbcr;
5143 volatile uint32_t sdmam;
5144 volatile uint32_t sfe;
5145 volatile uint32_t srt;
5146 volatile uint32_t stet;
5147 volatile uint32_t htx;
5148 volatile uint32_t dmasa;
5149 volatile uint32_t _pad_0xac_0xf3[18];
5150 volatile uint32_t cpr;
5151 volatile uint32_t ucv;
5152 volatile uint32_t ctr;
Definition: alt_uart.h:3419
Definition: alt_uart.h:712
Definition: alt_uart.h:5115
Definition: alt_uart.h:2927
Definition: alt_uart.h:3767
Definition: alt_uart.h:4135
Definition: alt_uart.h:4031
Definition: alt_uart.h:5072
Definition: alt_uart.h:2689
Definition: alt_uart.h:4985
Definition: alt_uart.h:3484
Definition: alt_uart.h:2837
Definition: alt_uart.h:1102
Definition: alt_uart.h:3121
Definition: alt_uart.h:1409
Definition: alt_uart.h:4325
Definition: alt_uart.h:4393
Definition: alt_uart.h:2618
Definition: alt_uart.h:3350
Definition: alt_uart.h:4237
Definition: alt_uart.h:3857
Definition: alt_uart.h:4908
Definition: alt_uart.h:546
Definition: alt_uart.h:3943
Definition: alt_uart.h:3670
Definition: alt_uart.h:142
Definition: alt_uart.h:5047
Definition: alt_uart.h:2995
Definition: alt_uart.h:2763
Definition: alt_uart.h:2159
Definition: alt_uart.h:1745