| M480 BSP V3.05.001 The Board Support Package for M480 Series

uart_reg.h
Go to the documentation of this file.
1 /**************************************************************************/
9 #ifndef __UART_REG_H__
10 #define __UART_REG_H__
11
12 #if defined ( __CC_ARM )
13 #pragma anon_unions
14 #endif
15
26 typedef struct
27 {
28
29
1822 __IO uint32_t DAT;
1823 __IO uint32_t INTEN;
1824 __IO uint32_t FIFO;
1825 __IO uint32_t LINE;
1826 __IO uint32_t MODEM;
1827 __IO uint32_t MODEMSTS;
1828 __IO uint32_t FIFOSTS;
1829 __IO uint32_t INTSTS;
1830 __IO uint32_t TOUT;
1831 __IO uint32_t BAUD;
1832 __IO uint32_t IRDA;
1833 __IO uint32_t ALTCTL;
1834 __IO uint32_t FUNCSEL;
1835 __IO uint32_t LINCTL;
1836 __IO uint32_t LINSTS;
1837 __IO uint32_t BRCOMP;
1838 __IO uint32_t WKCTL;
1839 __IO uint32_t WKSTS;
1840 __IO uint32_t DWKCOMP;
1842 } UART_T;
1843
1849 #define UART_DAT_DAT_Pos (0)
1850 #define UART_DAT_DAT_Msk (0xfful << UART_DAT_DAT_Pos)
1852 #define UART_DAT_PARITY_Pos (8)
1853 #define UART_DAT_PARITY_Msk (0x1ul << UART_DAT_PARITY_Pos)
1855 #define UART_INTEN_RDAIEN_Pos (0)
1856 #define UART_INTEN_RDAIEN_Msk (0x1ul << UART_INTEN_RDAIEN_Pos)
1858 #define UART_INTEN_THREIEN_Pos (1)
1859 #define UART_INTEN_THREIEN_Msk (0x1ul << UART_INTEN_THREIEN_Pos)
1861 #define UART_INTEN_RLSIEN_Pos (2)
1862 #define UART_INTEN_RLSIEN_Msk (0x1ul << UART_INTEN_RLSIEN_Pos)
1864 #define UART_INTEN_MODEMIEN_Pos (3)
1865 #define UART_INTEN_MODEMIEN_Msk (0x1ul << UART_INTEN_MODEMIEN_Pos)
1867 #define UART_INTEN_RXTOIEN_Pos (4)
1868 #define UART_INTEN_RXTOIEN_Msk (0x1ul << UART_INTEN_RXTOIEN_Pos)
1870 #define UART_INTEN_BUFERRIEN_Pos (5)
1871 #define UART_INTEN_BUFERRIEN_Msk (0x1ul << UART_INTEN_BUFERRIEN_Pos)
1873 #define UART_INTEN_WKIEN_Pos (6)
1874 #define UART_INTEN_WKIEN_Msk (0x1ul << UART_INTEN_WKIEN_Pos)
1876 #define UART_INTEN_LINIEN_Pos (8)
1877 #define UART_INTEN_LINIEN_Msk (0x1ul << UART_INTEN_LINIEN_Pos)
1879 #define UART_INTEN_TOCNTEN_Pos (11)
1880 #define UART_INTEN_TOCNTEN_Msk (0x1ul << UART_INTEN_TOCNTEN_Pos)
1882 #define UART_INTEN_ATORTSEN_Pos (12)
1883 #define UART_INTEN_ATORTSEN_Msk (0x1ul << UART_INTEN_ATORTSEN_Pos)
1885 #define UART_INTEN_ATOCTSEN_Pos (13)
1886 #define UART_INTEN_ATOCTSEN_Msk (0x1ul << UART_INTEN_ATOCTSEN_Pos)
1888 #define UART_INTEN_TXPDMAEN_Pos (14)
1889 #define UART_INTEN_TXPDMAEN_Msk (0x1ul << UART_INTEN_TXPDMAEN_Pos)
1891 #define UART_INTEN_RXPDMAEN_Pos (15)
1892 #define UART_INTEN_RXPDMAEN_Msk (0x1ul << UART_INTEN_RXPDMAEN_Pos)
1894 #define UART_INTEN_ABRIEN_Pos (18)
1895 #define UART_INTEN_ABRIEN_Msk (0x1ul << UART_INTEN_ABRIEN_Pos)
1897 #define UART_INTEN_TXENDIEN_Pos (22)
1898 #define UART_INTEN_TXENDIEN_Msk (0x1ul << UART_INTEN_TXENDIEN_Pos)
1900 #define UART_FIFO_RXRST_Pos (1)
1901 #define UART_FIFO_RXRST_Msk (0x1ul << UART_FIFO_RXRST_Pos)
1903 #define UART_FIFO_TXRST_Pos (2)
1904 #define UART_FIFO_TXRST_Msk (0x1ul << UART_FIFO_TXRST_Pos)
1906 #define UART_FIFO_RFITL_Pos (4)
1907 #define UART_FIFO_RFITL_Msk (0xful << UART_FIFO_RFITL_Pos)
1909 #define UART_FIFO_RXOFF_Pos (8)
1910 #define UART_FIFO_RXOFF_Msk (0x1ul << UART_FIFO_RXOFF_Pos)
1912 #define UART_FIFO_RTSTRGLV_Pos (16)
1913 #define UART_FIFO_RTSTRGLV_Msk (0xful << UART_FIFO_RTSTRGLV_Pos)
1915 #define UART_LINE_WLS_Pos (0)
1916 #define UART_LINE_WLS_Msk (0x3ul << UART_LINE_WLS_Pos)
1918 #define UART_LINE_NSB_Pos (2)
1919 #define UART_LINE_NSB_Msk (0x1ul << UART_LINE_NSB_Pos)
1921 #define UART_LINE_PBE_Pos (3)
1922 #define UART_LINE_PBE_Msk (0x1ul << UART_LINE_PBE_Pos)
1924 #define UART_LINE_EPE_Pos (4)
1925 #define UART_LINE_EPE_Msk (0x1ul << UART_LINE_EPE_Pos)
1927 #define UART_LINE_SPE_Pos (5)
1928 #define UART_LINE_SPE_Msk (0x1ul << UART_LINE_SPE_Pos)
1930 #define UART_LINE_BCB_Pos (6)
1931 #define UART_LINE_BCB_Msk (0x1ul << UART_LINE_BCB_Pos)
1933 #define UART_LINE_PSS_Pos (7)
1934 #define UART_LINE_PSS_Msk (0x1ul << UART_LINE_PSS_Pos)
1936 #define UART_LINE_TXDINV_Pos (8)
1937 #define UART_LINE_TXDINV_Msk (0x1ul << UART_LINE_TXDINV_Pos)
1939 #define UART_LINE_RXDINV_Pos (9)
1940 #define UART_LINE_RXDINV_Msk (0x1ul << UART_LINE_RXDINV_Pos)
1942 #define UART_MODEM_RTS_Pos (1)
1943 #define UART_MODEM_RTS_Msk (0x1ul << UART_MODEM_RTS_Pos)
1945 #define UART_MODEM_RTSACTLV_Pos (9)
1946 #define UART_MODEM_RTSACTLV_Msk (0x1ul << UART_MODEM_RTSACTLV_Pos)
1948 #define UART_MODEM_RTSSTS_Pos (13)
1949 #define UART_MODEM_RTSSTS_Msk (0x1ul << UART_MODEM_RTSSTS_Pos)
1951 #define UART_MODEMSTS_CTSDETF_Pos (0)
1952 #define UART_MODEMSTS_CTSDETF_Msk (0x1ul << UART_MODEMSTS_CTSDETF_Pos)
1954 #define UART_MODEMSTS_CTSSTS_Pos (4)
1955 #define UART_MODEMSTS_CTSSTS_Msk (0x1ul << UART_MODEMSTS_CTSSTS_Pos)
1957 #define UART_MODEMSTS_CTSACTLV_Pos (8)
1958 #define UART_MODEMSTS_CTSACTLV_Msk (0x1ul << UART_MODEMSTS_CTSACTLV_Pos)
1960 #define UART_FIFOSTS_RXOVIF_Pos (0)
1961 #define UART_FIFOSTS_RXOVIF_Msk (0x1ul << UART_FIFOSTS_RXOVIF_Pos)
1963 #define UART_FIFOSTS_ABRDIF_Pos (1)
1964 #define UART_FIFOSTS_ABRDIF_Msk (0x1ul << UART_FIFOSTS_ABRDIF_Pos)
1966 #define UART_FIFOSTS_ABRDTOIF_Pos (2)
1967 #define UART_FIFOSTS_ABRDTOIF_Msk (0x1ul << UART_FIFOSTS_ABRDTOIF_Pos)
1969 #define UART_FIFOSTS_ADDRDETF_Pos (3)
1970 #define UART_FIFOSTS_ADDRDETF_Msk (0x1ul << UART_FIFOSTS_ADDRDETF_Pos)
1972 #define UART_FIFOSTS_PEF_Pos (4)
1973 #define UART_FIFOSTS_PEF_Msk (0x1ul << UART_FIFOSTS_PEF_Pos)
1975 #define UART_FIFOSTS_FEF_Pos (5)
1976 #define UART_FIFOSTS_FEF_Msk (0x1ul << UART_FIFOSTS_FEF_Pos)
1978 #define UART_FIFOSTS_BIF_Pos (6)
1979 #define UART_FIFOSTS_BIF_Msk (0x1ul << UART_FIFOSTS_BIF_Pos)
1981 #define UART_FIFOSTS_RXPTR_Pos (8)
1982 #define UART_FIFOSTS_RXPTR_Msk (0x3ful << UART_FIFOSTS_RXPTR_Pos)
1984 #define UART_FIFOSTS_RXEMPTY_Pos (14)
1985 #define UART_FIFOSTS_RXEMPTY_Msk (0x1ul << UART_FIFOSTS_RXEMPTY_Pos)
1987 #define UART_FIFOSTS_RXFULL_Pos (15)
1988 #define UART_FIFOSTS_RXFULL_Msk (0x1ul << UART_FIFOSTS_RXFULL_Pos)
1990 #define UART_FIFOSTS_TXPTR_Pos (16)
1991 #define UART_FIFOSTS_TXPTR_Msk (0x3ful << UART_FIFOSTS_TXPTR_Pos)
1993 #define UART_FIFOSTS_TXEMPTY_Pos (22)
1994 #define UART_FIFOSTS_TXEMPTY_Msk (0x1ul << UART_FIFOSTS_TXEMPTY_Pos)
1996 #define UART_FIFOSTS_TXFULL_Pos (23)
1997 #define UART_FIFOSTS_TXFULL_Msk (0x1ul << UART_FIFOSTS_TXFULL_Pos)
1999 #define UART_FIFOSTS_TXOVIF_Pos (24)
2000 #define UART_FIFOSTS_TXOVIF_Msk (0x1ul << UART_FIFOSTS_TXOVIF_Pos)
2002 #define UART_FIFOSTS_TXEMPTYF_Pos (28)
2003 #define UART_FIFOSTS_TXEMPTYF_Msk (0x1ul << UART_FIFOSTS_TXEMPTYF_Pos)
2005 #define UART_FIFOSTS_RXIDLE_Pos (29)
2006 #define UART_FIFOSTS_RXIDLE_Msk (0x1ul << UART_FIFOSTS_RXIDLE_Pos)
2008 #define UART_FIFOSTS_TXRXACT_Pos (31)
2009 #define UART_FIFOSTS_TXRXACT_Msk (0x1ul << UART_FIFOSTS_TXRXACT_Pos)
2011 #define UART_INTSTS_RDAIF_Pos (0)
2012 #define UART_INTSTS_RDAIF_Msk (0x1ul << UART_INTSTS_RDAIF_Pos)
2014 #define UART_INTSTS_THREIF_Pos (1)
2015 #define UART_INTSTS_THREIF_Msk (0x1ul << UART_INTSTS_THREIF_Pos)
2017 #define UART_INTSTS_RLSIF_Pos (2)
2018 #define UART_INTSTS_RLSIF_Msk (0x1ul << UART_INTSTS_RLSIF_Pos)
2020 #define UART_INTSTS_MODEMIF_Pos (3)
2021 #define UART_INTSTS_MODEMIF_Msk (0x1ul << UART_INTSTS_MODEMIF_Pos)
2023 #define UART_INTSTS_RXTOIF_Pos (4)
2024 #define UART_INTSTS_RXTOIF_Msk (0x1ul << UART_INTSTS_RXTOIF_Pos)
2026 #define UART_INTSTS_BUFERRIF_Pos (5)
2027 #define UART_INTSTS_BUFERRIF_Msk (0x1ul << UART_INTSTS_BUFERRIF_Pos)
2029 #define UART_INTSTS_WKIF_Pos (6)
2030 #define UART_INTSTS_WKIF_Msk (0x1ul << UART_INTSTS_WKIF_Pos)
2032 #define UART_INTSTS_LINIF_Pos (7)
2033 #define UART_INTSTS_LINIF_Msk (0x1ul << UART_INTSTS_LINIF_Pos)
2035 #define UART_INTSTS_RDAINT_Pos (8)
2036 #define UART_INTSTS_RDAINT_Msk (0x1ul << UART_INTSTS_RDAINT_Pos)
2038 #define UART_INTSTS_THREINT_Pos (9)
2039 #define UART_INTSTS_THREINT_Msk (0x1ul << UART_INTSTS_THREINT_Pos)
2041 #define UART_INTSTS_RLSINT_Pos (10)
2042 #define UART_INTSTS_RLSINT_Msk (0x1ul << UART_INTSTS_RLSINT_Pos)
2044 #define UART_INTSTS_MODEMINT_Pos (11)
2045 #define UART_INTSTS_MODEMINT_Msk (0x1ul << UART_INTSTS_MODEMINT_Pos)
2047 #define UART_INTSTS_RXTOINT_Pos (12)
2048 #define UART_INTSTS_RXTOINT_Msk (0x1ul << UART_INTSTS_RXTOINT_Pos)
2050 #define UART_INTSTS_BUFERRINT_Pos (13)
2051 #define UART_INTSTS_BUFERRINT_Msk (0x1ul << UART_INTSTS_BUFERRINT_Pos)
2053 #define UART_INTSTS_WKINT_Pos (14)
2054 #define UART_INTSTS_WKINT_Msk (0x1ul << UART_INTSTS_WKINT_Pos)
2056 #define UART_INTSTS_LININT_Pos (15)
2057 #define UART_INTSTS_LININT_Msk (0x1ul << UART_INTSTS_LININT_Pos)
2059 #define UART_INTSTS_HWRLSIF_Pos (18)
2060 #define UART_INTSTS_HWRLSIF_Msk (0x1ul << UART_INTSTS_HWRLSIF_Pos)
2062 #define UART_INTSTS_HWMODIF_Pos (19)
2063 #define UART_INTSTS_HWMODIF_Msk (0x1ul << UART_INTSTS_HWMODIF_Pos)
2065 #define UART_INTSTS_HWTOIF_Pos (20)
2066 #define UART_INTSTS_HWTOIF_Msk (0x1ul << UART_INTSTS_HWTOIF_Pos)
2068 #define UART_INTSTS_HWBUFEIF_Pos (21)
2069 #define UART_INTSTS_HWBUFEIF_Msk (0x1ul << UART_INTSTS_HWBUFEIF_Pos)
2071 #define UART_INTSTS_TXENDIF_Pos (22)
2072 #define UART_INTSTS_TXENDIF_Msk (0x1ul << UART_INTSTS_TXENDIF_Pos)
2074 #define UART_INTSTS_HWRLSINT_Pos (26)
2075 #define UART_INTSTS_HWRLSINT_Msk (0x1ul << UART_INTSTS_HWRLSINT_Pos)
2077 #define UART_INTSTS_HWMODINT_Pos (27)
2078 #define UART_INTSTS_HWMODINT_Msk (0x1ul << UART_INTSTS_HWMODINT_Pos)
2080 #define UART_INTSTS_HWTOINT_Pos (28)
2081 #define UART_INTSTS_HWTOINT_Msk (0x1ul << UART_INTSTS_HWTOINT_Pos)
2083 #define UART_INTSTS_HWBUFEINT_Pos (29)
2084 #define UART_INTSTS_HWBUFEINT_Msk (0x1ul << UART_INTSTS_HWBUFEINT_Pos)
2086 #define UART_INTSTS_TXENDINT_Pos (30)
2087 #define UART_INTSTS_TXENDINT_Msk (0x1ul << UART_INTSTS_TXENDINT_Pos)
2089 #define UART_INTSTS_ABRINT_Pos (31)
2090 #define UART_INTSTS_ABRINT_Msk (0x1ul << UART_INTSTS_ABRINT_Pos)
2092 #define UART_TOUT_TOIC_Pos (0)
2093 #define UART_TOUT_TOIC_Msk (0xfful << UART_TOUT_TOIC_Pos)
2095 #define UART_TOUT_DLY_Pos (8)
2096 #define UART_TOUT_DLY_Msk (0xfful << UART_TOUT_DLY_Pos)
2098 #define UART_BAUD_BRD_Pos (0)
2099 #define UART_BAUD_BRD_Msk (0xfffful << UART_BAUD_BRD_Pos)
2101 #define UART_BAUD_EDIVM1_Pos (24)
2102 #define UART_BAUD_EDIVM1_Msk (0xful << UART_BAUD_EDIVM1_Pos)
2104 #define UART_BAUD_BAUDM0_Pos (28)
2105 #define UART_BAUD_BAUDM0_Msk (0x1ul << UART_BAUD_BAUDM0_Pos)
2107 #define UART_BAUD_BAUDM1_Pos (29)
2108 #define UART_BAUD_BAUDM1_Msk (0x1ul << UART_BAUD_BAUDM1_Pos)
2110 #define UART_IRDA_TXEN_Pos (1)
2111 #define UART_IRDA_TXEN_Msk (0x1ul << UART_IRDA_TXEN_Pos)
2113 #define UART_IRDA_TXINV_Pos (5)
2114 #define UART_IRDA_TXINV_Msk (0x1ul << UART_IRDA_TXINV_Pos)
2116 #define UART_IRDA_RXINV_Pos (6)
2117 #define UART_IRDA_RXINV_Msk (0x1ul << UART_IRDA_RXINV_Pos)
2119 #define UART_ALTCTL_BRKFL_Pos (0)
2120 #define UART_ALTCTL_BRKFL_Msk (0xful << UART_ALTCTL_BRKFL_Pos)
2122 #define UART_ALTCTL_LINRXEN_Pos (6)
2123 #define UART_ALTCTL_LINRXEN_Msk (0x1ul << UART_ALTCTL_LINRXEN_Pos)
2125 #define UART_ALTCTL_LINTXEN_Pos (7)
2126 #define UART_ALTCTL_LINTXEN_Msk (0x1ul << UART_ALTCTL_LINTXEN_Pos)
2128 #define UART_ALTCTL_RS485NMM_Pos (8)
2129 #define UART_ALTCTL_RS485NMM_Msk (0x1ul << UART_ALTCTL_RS485NMM_Pos)
2131 #define UART_ALTCTL_RS485AAD_Pos (9)
2132 #define UART_ALTCTL_RS485AAD_Msk (0x1ul << UART_ALTCTL_RS485AAD_Pos)
2134 #define UART_ALTCTL_RS485AUD_Pos (10)
2135 #define UART_ALTCTL_RS485AUD_Msk (0x1ul << UART_ALTCTL_RS485AUD_Pos)
2137 #define UART_ALTCTL_ADDRDEN_Pos (15)
2138 #define UART_ALTCTL_ADDRDEN_Msk (0x1ul << UART_ALTCTL_ADDRDEN_Pos)
2140 #define UART_ALTCTL_ABRIF_Pos (17)
2141 #define UART_ALTCTL_ABRIF_Msk (0x1ul << UART_ALTCTL_ABRIF_Pos)
2143 #define UART_ALTCTL_ABRDEN_Pos (18)
2144 #define UART_ALTCTL_ABRDEN_Msk (0x1ul << UART_ALTCTL_ABRDEN_Pos)
2146 #define UART_ALTCTL_ABRDBITS_Pos (19)
2147 #define UART_ALTCTL_ABRDBITS_Msk (0x3ul << UART_ALTCTL_ABRDBITS_Pos)
2149 #define UART_ALTCTL_ADDRMV_Pos (24)
2150 #define UART_ALTCTL_ADDRMV_Msk (0xfful << UART_ALTCTL_ADDRMV_Pos)
2152 #define UART_FUNCSEL_FUNCSEL_Pos (0)
2153 #define UART_FUNCSEL_FUNCSEL_Msk (0x3ul << UART_FUNCSEL_FUNCSEL_Pos)
2155 #define UART_FUNCSEL_TXRXDIS_Pos (3)
2156 #define UART_FUNCSEL_TXRXDIS_Msk (0x1ul << UART_FUNCSEL_TXRXDIS_Pos)
2158 #define UART_LINCTL_SLVEN_Pos (0)
2159 #define UART_LINCTL_SLVEN_Msk (0x1ul << UART_LINCTL_SLVEN_Pos)
2161 #define UART_LINCTL_SLVHDEN_Pos (1)
2162 #define UART_LINCTL_SLVHDEN_Msk (0x1ul << UART_LINCTL_SLVHDEN_Pos)
2164 #define UART_LINCTL_SLVAREN_Pos (2)
2165 #define UART_LINCTL_SLVAREN_Msk (0x1ul << UART_LINCTL_SLVAREN_Pos)
2167 #define UART_LINCTL_SLVDUEN_Pos (3)
2168 #define UART_LINCTL_SLVDUEN_Msk (0x1ul << UART_LINCTL_SLVDUEN_Pos)
2170 #define UART_LINCTL_MUTE_Pos (4)
2171 #define UART_LINCTL_MUTE_Msk (0x1ul << UART_LINCTL_MUTE_Pos)
2173 #define UART_LINCTL_SENDH_Pos (8)
2174 #define UART_LINCTL_SENDH_Msk (0x1ul << UART_LINCTL_SENDH_Pos)
2176 #define UART_LINCTL_IDPEN_Pos (9)
2177 #define UART_LINCTL_IDPEN_Msk (0x1ul << UART_LINCTL_IDPEN_Pos)
2179 #define UART_LINCTL_BRKDETEN_Pos (10)
2180 #define UART_LINCTL_BRKDETEN_Msk (0x1ul << UART_LINCTL_BRKDETEN_Pos)
2182 #define UART_LINCTL_LINRXOFF_Pos (11)
2183 #define UART_LINCTL_LINRXOFF_Msk (0x1ul << UART_LINCTL_LINRXOFF_Pos)
2185 #define UART_LINCTL_BITERREN_Pos (12)
2186 #define UART_LINCTL_BITERREN_Msk (0x1ul << UART_LINCTL_BITERREN_Pos)
2188 #define UART_LINCTL_BRKFL_Pos (16)
2189 #define UART_LINCTL_BRKFL_Msk (0xful << UART_LINCTL_BRKFL_Pos)
2191 #define UART_LINCTL_BSL_Pos (20)
2192 #define UART_LINCTL_BSL_Msk (0x3ul << UART_LINCTL_BSL_Pos)
2194 #define UART_LINCTL_HSEL_Pos (22)
2195 #define UART_LINCTL_HSEL_Msk (0x3ul << UART_LINCTL_HSEL_Pos)
2197 #define UART_LINCTL_PID_Pos (24)
2198 #define UART_LINCTL_PID_Msk (0xfful << UART_LINCTL_PID_Pos)
2200 #define UART_LINSTS_SLVHDETF_Pos (0)
2201 #define UART_LINSTS_SLVHDETF_Msk (0x1ul << UART_LINSTS_SLVHDETF_Pos)
2203 #define UART_LINSTS_SLVHEF_Pos (1)
2204 #define UART_LINSTS_SLVHEF_Msk (0x1ul << UART_LINSTS_SLVHEF_Pos)
2206 #define UART_LINSTS_SLVIDPEF_Pos (2)
2207 #define UART_LINSTS_SLVIDPEF_Msk (0x1ul << UART_LINSTS_SLVIDPEF_Pos)
2209 #define UART_LINSTS_SLVSYNCF_Pos (3)
2210 #define UART_LINSTS_SLVSYNCF_Msk (0x1ul << UART_LINSTS_SLVSYNCF_Pos)
2212 #define UART_LINSTS_BRKDETF_Pos (8)
2213 #define UART_LINSTS_BRKDETF_Msk (0x1ul << UART_LINSTS_BRKDETF_Pos)
2215 #define UART_LINSTS_BITEF_Pos (9)
2216 #define UART_LINSTS_BITEF_Msk (0x1ul << UART_LINSTS_BITEF_Pos)
2218 #define UART_BRCOMP_BRCOMP_Pos (0)
2219 #define UART_BRCOMP_BRCOMP_Msk (0x1fful << UART_BRCOMP_BRCOMP_Pos)
2221 #define UART_BRCOMP_BRCOMPDEC_Pos (31)
2222 #define UART_BRCOMP_BRCOMPDEC_Msk (0x1ul << UART_BRCOMP_BRCOMPDEC_Pos)
2224 #define UART_WKCTL_WKCTSEN_Pos (0)
2225 #define UART_WKCTL_WKCTSEN_Msk (0x1ul << UART_WKCTL_WKCTSEN_Pos)
2227 #define UART_WKCTL_WKDATEN_Pos (1)
2228 #define UART_WKCTL_WKDATEN_Msk (0x1ul << UART_WKCTL_WKDATEN_Pos)
2230 #define UART_WKCTL_WKRFRTEN_Pos (2)
2231 #define UART_WKCTL_WKRFRTEN_Msk (0x1ul << UART_WKCTL_WKRFRTEN_Pos)
2233 #define UART_WKCTL_WKRS485EN_Pos (3)
2234 #define UART_WKCTL_WKRS485EN_Msk (0x1ul << UART_WKCTL_WKRS485EN_Pos)
2236 #define UART_WKCTL_WKTOUTEN_Pos (4)
2237 #define UART_WKCTL_WKTOUTEN_Msk (0x1ul << UART_WKCTL_WKTOUTEN_Pos)
2239 #define UART_WKSTS_CTSWKF_Pos (0)
2240 #define UART_WKSTS_CTSWKF_Msk (0x1ul << UART_WKSTS_CTSWKF_Pos)
2242 #define UART_WKSTS_DATWKF_Pos (1)
2243 #define UART_WKSTS_DATWKF_Msk (0x1ul << UART_WKSTS_DATWKF_Pos)
2245 #define UART_WKSTS_RFRTWKF_Pos (2)
2246 #define UART_WKSTS_RFRTWKF_Msk (0x1ul << UART_WKSTS_RFRTWKF_Pos)
2248 #define UART_WKSTS_RS485WKF_Pos (3)
2249 #define UART_WKSTS_RS485WKF_Msk (0x1ul << UART_WKSTS_RS485WKF_Pos)
2251 #define UART_WKSTS_TOUTWKF_Pos (4)
2252 #define UART_WKSTS_TOUTWKF_Msk (0x1ul << UART_WKSTS_TOUTWKF_Pos)
2254 #define UART_DWKCOMP_STCOMP_Pos (0)
2255 #define UART_DWKCOMP_STCOMP_Msk (0xfffful << UART_DWKCOMP_STCOMP_Pos) /* UART_CONST */
2258 /* end of UART register group */ /* end of REGISTER group */
2260
2261 #if defined ( __CC_ARM )
2262 #pragma no_anon_unions
2263 #endif
2264
2265 #endif /* __UART_REG_H__ */
UART_T::ALTCTL
__IO uint32_t ALTCTL
Definition: uart_reg.h:1833
UART_T::MODEMSTS
__IO uint32_t MODEMSTS
Definition: uart_reg.h:1827
UART_T::IRDA
__IO uint32_t IRDA
Definition: uart_reg.h:1832
UART_T::LINSTS
__IO uint32_t LINSTS
Definition: uart_reg.h:1836
UART_T::LINCTL
__IO uint32_t LINCTL
Definition: uart_reg.h:1835
UART_T::BRCOMP
__IO uint32_t BRCOMP
Definition: uart_reg.h:1837
UART_T::INTEN
__IO uint32_t INTEN
Definition: uart_reg.h:1823
UART_T::BAUD
__IO uint32_t BAUD
Definition: uart_reg.h:1831
UART_T::DWKCOMP
__IO uint32_t DWKCOMP
Definition: uart_reg.h:1840
UART_T::DAT
__IO uint32_t DAT
Definition: uart_reg.h:1822
UART_T::WKCTL
__IO uint32_t WKCTL
Definition: uart_reg.h:1838
UART_T::INTSTS
__IO uint32_t INTSTS
Definition: uart_reg.h:1829
UART_T::TOUT
__IO uint32_t TOUT
Definition: uart_reg.h:1830
UART_T::LINE
__IO uint32_t LINE
Definition: uart_reg.h:1825
UART_T
Definition: uart_reg.h:26
UART_T::FUNCSEL
__IO uint32_t FUNCSEL
Definition: uart_reg.h:1834
UART_T::MODEM
__IO uint32_t MODEM
Definition: uart_reg.h:1826
UART_T::FIFOSTS
__IO uint32_t FIFOSTS
Definition: uart_reg.h:1828
UART_T::FIFO
__IO uint32_t FIFO
Definition: uart_reg.h:1824
UART_T::WKSTS
__IO uint32_t WKSTS
Definition: uart_reg.h:1839