diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 08:33:19 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 09:34:37 -0400 |
commit | def282d61578e157ed6362eaffafef8a13af10be (patch) | |
tree | 367a23ba8246aff274cb4464cded3899c909c3d0 /arch/blackfin/mach-bf537/include/mach/defBF534.h | |
parent | d012ce22a492a38977ba727b02bcd216ed571710 (diff) |
Blackfin: punt duplicated CAN MMRs
Now that there's a common header with everything unified, drop the defines
from the global namespace. Pollution sucks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/include/mach/defBF534.h')
-rw-r--r-- | arch/blackfin/mach-bf537/include/mach/defBF534.h | 622 |
1 files changed, 0 insertions, 622 deletions
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF534.h b/arch/blackfin/mach-bf537/include/mach/defBF534.h index 066d5c261f47..cf396ea40092 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF534.h | |||
@@ -1702,628 +1702,6 @@ | |||
1702 | #define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */ | 1702 | #define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */ |
1703 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ | 1703 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ |
1704 | 1704 | ||
1705 | /* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/ | ||
1706 | /* CAN_CONTROL Masks */ | ||
1707 | #define SRS 0x0001 /* Software Reset */ | ||
1708 | #define DNM 0x0002 /* Device Net Mode */ | ||
1709 | #define ABO 0x0004 /* Auto-Bus On Enable */ | ||
1710 | #define TXPRIO 0x0008 /* TX Priority (Priority/Mailbox*) */ | ||
1711 | #define WBA 0x0010 /* Wake-Up On CAN Bus Activity Enable */ | ||
1712 | #define SMR 0x0020 /* Sleep Mode Request */ | ||
1713 | #define CSR 0x0040 /* CAN Suspend Mode Request */ | ||
1714 | #define CCR 0x0080 /* CAN Configuration Mode Request */ | ||
1715 | |||
1716 | /* CAN_STATUS Masks */ | ||
1717 | #define WT 0x0001 /* TX Warning Flag */ | ||
1718 | #define WR 0x0002 /* RX Warning Flag */ | ||
1719 | #define EP 0x0004 /* Error Passive Mode */ | ||
1720 | #define EBO 0x0008 /* Error Bus Off Mode */ | ||
1721 | #define SMA 0x0020 /* Sleep Mode Acknowledge */ | ||
1722 | #define CSA 0x0040 /* Suspend Mode Acknowledge */ | ||
1723 | #define CCA 0x0080 /* Configuration Mode Acknowledge */ | ||
1724 | #define MBPTR 0x1F00 /* Mailbox Pointer */ | ||
1725 | #define TRM 0x4000 /* Transmit Mode */ | ||
1726 | #define REC 0x8000 /* Receive Mode */ | ||
1727 | |||
1728 | /* CAN_CLOCK Masks */ | ||
1729 | #define BRP 0x03FF /* Bit-Rate Pre-Scaler */ | ||
1730 | |||
1731 | /* CAN_TIMING Masks */ | ||
1732 | #define TSEG1 0x000F /* Time Segment 1 */ | ||
1733 | #define TSEG2 0x0070 /* Time Segment 2 */ | ||
1734 | #define SAM 0x0080 /* Sampling */ | ||
1735 | #define SJW 0x0300 /* Synchronization Jump Width */ | ||
1736 | |||
1737 | /* CAN_DEBUG Masks */ | ||
1738 | #define DEC 0x0001 /* Disable CAN Error Counters */ | ||
1739 | #define DRI 0x0002 /* Disable CAN RX Input */ | ||
1740 | #define DTO 0x0004 /* Disable CAN TX Output */ | ||
1741 | #define DIL 0x0008 /* Disable CAN Internal Loop */ | ||
1742 | #define MAA 0x0010 /* Mode Auto-Acknowledge Enable */ | ||
1743 | #define MRB 0x0020 /* Mode Read Back Enable */ | ||
1744 | #define CDE 0x8000 /* CAN Debug Enable */ | ||
1745 | |||
1746 | /* CAN_CEC Masks */ | ||
1747 | #define RXECNT 0x00FF /* Receive Error Counter */ | ||
1748 | #define TXECNT 0xFF00 /* Transmit Error Counter */ | ||
1749 | |||
1750 | /* CAN_INTR Masks */ | ||
1751 | #define MBRIRQ 0x0001 /* Mailbox Receive Interrupt */ | ||
1752 | #define MBRIF MBRIRQ /* legacy */ | ||
1753 | #define MBTIRQ 0x0002 /* Mailbox Transmit Interrupt */ | ||
1754 | #define MBTIF MBTIRQ /* legacy */ | ||
1755 | #define GIRQ 0x0004 /* Global Interrupt */ | ||
1756 | #define SMACK 0x0008 /* Sleep Mode Acknowledge */ | ||
1757 | #define CANTX 0x0040 /* CAN TX Bus Value */ | ||
1758 | #define CANRX 0x0080 /* CAN RX Bus Value */ | ||
1759 | |||
1760 | /* CAN_MBxx_ID1 and CAN_MBxx_ID0 Masks */ | ||
1761 | #define DFC 0xFFFF /* Data Filtering Code (If Enabled) (ID0) */ | ||
1762 | #define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (ID0) */ | ||
1763 | #define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (ID1) */ | ||
1764 | #define BASEID 0x1FFC /* Base Identifier */ | ||
1765 | #define IDE 0x2000 /* Identifier Extension */ | ||
1766 | #define RTR 0x4000 /* Remote Frame Transmission Request */ | ||
1767 | #define AME 0x8000 /* Acceptance Mask Enable */ | ||
1768 | |||
1769 | /* CAN_MBxx_TIMESTAMP Masks */ | ||
1770 | #define TSV 0xFFFF /* Timestamp */ | ||
1771 | |||
1772 | /* CAN_MBxx_LENGTH Masks */ | ||
1773 | #define DLC 0x000F /* Data Length Code */ | ||
1774 | |||
1775 | /* CAN_AMxxH and CAN_AMxxL Masks */ | ||
1776 | #define DFM 0xFFFF /* Data Field Mask (If Enabled) (CAN_AMxxL) */ | ||
1777 | #define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (CAN_AMxxL) */ | ||
1778 | #define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (CAN_AMxxH) */ | ||
1779 | #define BASEID 0x1FFC /* Base Identifier */ | ||
1780 | #define AMIDE 0x2000 /* Acceptance Mask ID Extension Enable */ | ||
1781 | #define FMD 0x4000 /* Full Mask Data Field Enable */ | ||
1782 | #define FDF 0x8000 /* Filter On Data Field Enable */ | ||
1783 | |||
1784 | /* CAN_MC1 Masks */ | ||
1785 | #define MC0 0x0001 /* Enable Mailbox 0 */ | ||
1786 | #define MC1 0x0002 /* Enable Mailbox 1 */ | ||
1787 | #define MC2 0x0004 /* Enable Mailbox 2 */ | ||
1788 | #define MC3 0x0008 /* Enable Mailbox 3 */ | ||
1789 | #define MC4 0x0010 /* Enable Mailbox 4 */ | ||
1790 | #define MC5 0x0020 /* Enable Mailbox 5 */ | ||
1791 | #define MC6 0x0040 /* Enable Mailbox 6 */ | ||
1792 | #define MC7 0x0080 /* Enable Mailbox 7 */ | ||
1793 | #define MC8 0x0100 /* Enable Mailbox 8 */ | ||
1794 | #define MC9 0x0200 /* Enable Mailbox 9 */ | ||
1795 | #define MC10 0x0400 /* Enable Mailbox 10 */ | ||
1796 | #define MC11 0x0800 /* Enable Mailbox 11 */ | ||
1797 | #define MC12 0x1000 /* Enable Mailbox 12 */ | ||
1798 | #define MC13 0x2000 /* Enable Mailbox 13 */ | ||
1799 | #define MC14 0x4000 /* Enable Mailbox 14 */ | ||
1800 | #define MC15 0x8000 /* Enable Mailbox 15 */ | ||
1801 | |||
1802 | /* CAN_MC2 Masks */ | ||
1803 | #define MC16 0x0001 /* Enable Mailbox 16 */ | ||
1804 | #define MC17 0x0002 /* Enable Mailbox 17 */ | ||
1805 | #define MC18 0x0004 /* Enable Mailbox 18 */ | ||
1806 | #define MC19 0x0008 /* Enable Mailbox 19 */ | ||
1807 | #define MC20 0x0010 /* Enable Mailbox 20 */ | ||
1808 | #define MC21 0x0020 /* Enable Mailbox 21 */ | ||
1809 | #define MC22 0x0040 /* Enable Mailbox 22 */ | ||
1810 | #define MC23 0x0080 /* Enable Mailbox 23 */ | ||
1811 | #define MC24 0x0100 /* Enable Mailbox 24 */ | ||
1812 | #define MC25 0x0200 /* Enable Mailbox 25 */ | ||
1813 | #define MC26 0x0400 /* Enable Mailbox 26 */ | ||
1814 | #define MC27 0x0800 /* Enable Mailbox 27 */ | ||
1815 | #define MC28 0x1000 /* Enable Mailbox 28 */ | ||
1816 | #define MC29 0x2000 /* Enable Mailbox 29 */ | ||
1817 | #define MC30 0x4000 /* Enable Mailbox 30 */ | ||
1818 | #define MC31 0x8000 /* Enable Mailbox 31 */ | ||
1819 | |||
1820 | /* CAN_MD1 Masks */ | ||
1821 | #define MD0 0x0001 /* Enable Mailbox 0 For Receive */ | ||
1822 | #define MD1 0x0002 /* Enable Mailbox 1 For Receive */ | ||
1823 | #define MD2 0x0004 /* Enable Mailbox 2 For Receive */ | ||
1824 | #define MD3 0x0008 /* Enable Mailbox 3 For Receive */ | ||
1825 | #define MD4 0x0010 /* Enable Mailbox 4 For Receive */ | ||
1826 | #define MD5 0x0020 /* Enable Mailbox 5 For Receive */ | ||
1827 | #define MD6 0x0040 /* Enable Mailbox 6 For Receive */ | ||
1828 | #define MD7 0x0080 /* Enable Mailbox 7 For Receive */ | ||
1829 | #define MD8 0x0100 /* Enable Mailbox 8 For Receive */ | ||
1830 | #define MD9 0x0200 /* Enable Mailbox 9 For Receive */ | ||
1831 | #define MD10 0x0400 /* Enable Mailbox 10 For Receive */ | ||
1832 | #define MD11 0x0800 /* Enable Mailbox 11 For Receive */ | ||
1833 | #define MD12 0x1000 /* Enable Mailbox 12 For Receive */ | ||
1834 | #define MD13 0x2000 /* Enable Mailbox 13 For Receive */ | ||
1835 | #define MD14 0x4000 /* Enable Mailbox 14 For Receive */ | ||
1836 | #define MD15 0x8000 /* Enable Mailbox 15 For Receive */ | ||
1837 | |||
1838 | /* CAN_MD2 Masks */ | ||
1839 | #define MD16 0x0001 /* Enable Mailbox 16 For Receive */ | ||
1840 | #define MD17 0x0002 /* Enable Mailbox 17 For Receive */ | ||
1841 | #define MD18 0x0004 /* Enable Mailbox 18 For Receive */ | ||
1842 | #define MD19 0x0008 /* Enable Mailbox 19 For Receive */ | ||
1843 | #define MD20 0x0010 /* Enable Mailbox 20 For Receive */ | ||
1844 | #define MD21 0x0020 /* Enable Mailbox 21 For Receive */ | ||
1845 | #define MD22 0x0040 /* Enable Mailbox 22 For Receive */ | ||
1846 | #define MD23 0x0080 /* Enable Mailbox 23 For Receive */ | ||
1847 | #define MD24 0x0100 /* Enable Mailbox 24 For Receive */ | ||
1848 | #define MD25 0x0200 /* Enable Mailbox 25 For Receive */ | ||
1849 | #define MD26 0x0400 /* Enable Mailbox 26 For Receive */ | ||
1850 | #define MD27 0x0800 /* Enable Mailbox 27 For Receive */ | ||
1851 | #define MD28 0x1000 /* Enable Mailbox 28 For Receive */ | ||
1852 | #define MD29 0x2000 /* Enable Mailbox 29 For Receive */ | ||
1853 | #define MD30 0x4000 /* Enable Mailbox 30 For Receive */ | ||
1854 | #define MD31 0x8000 /* Enable Mailbox 31 For Receive */ | ||
1855 | |||
1856 | /* CAN_RMP1 Masks */ | ||
1857 | #define RMP0 0x0001 /* RX Message Pending In Mailbox 0 */ | ||
1858 | #define RMP1 0x0002 /* RX Message Pending In Mailbox 1 */ | ||
1859 | #define RMP2 0x0004 /* RX Message Pending In Mailbox 2 */ | ||
1860 | #define RMP3 0x0008 /* RX Message Pending In Mailbox 3 */ | ||
1861 | #define RMP4 0x0010 /* RX Message Pending In Mailbox 4 */ | ||
1862 | #define RMP5 0x0020 /* RX Message Pending In Mailbox 5 */ | ||
1863 | #define RMP6 0x0040 /* RX Message Pending In Mailbox 6 */ | ||
1864 | #define RMP7 0x0080 /* RX Message Pending In Mailbox 7 */ | ||
1865 | #define RMP8 0x0100 /* RX Message Pending In Mailbox 8 */ | ||
1866 | #define RMP9 0x0200 /* RX Message Pending In Mailbox 9 */ | ||
1867 | #define RMP10 0x0400 /* RX Message Pending In Mailbox 10 */ | ||
1868 | #define RMP11 0x0800 /* RX Message Pending In Mailbox 11 */ | ||
1869 | #define RMP12 0x1000 /* RX Message Pending In Mailbox 12 */ | ||
1870 | #define RMP13 0x2000 /* RX Message Pending In Mailbox 13 */ | ||
1871 | #define RMP14 0x4000 /* RX Message Pending In Mailbox 14 */ | ||
1872 | #define RMP15 0x8000 /* RX Message Pending In Mailbox 15 */ | ||
1873 | |||
1874 | /* CAN_RMP2 Masks */ | ||
1875 | #define RMP16 0x0001 /* RX Message Pending In Mailbox 16 */ | ||
1876 | #define RMP17 0x0002 /* RX Message Pending In Mailbox 17 */ | ||
1877 | #define RMP18 0x0004 /* RX Message Pending In Mailbox 18 */ | ||
1878 | #define RMP19 0x0008 /* RX Message Pending In Mailbox 19 */ | ||
1879 | #define RMP20 0x0010 /* RX Message Pending In Mailbox 20 */ | ||
1880 | #define RMP21 0x0020 /* RX Message Pending In Mailbox 21 */ | ||
1881 | #define RMP22 0x0040 /* RX Message Pending In Mailbox 22 */ | ||
1882 | #define RMP23 0x0080 /* RX Message Pending In Mailbox 23 */ | ||
1883 | #define RMP24 0x0100 /* RX Message Pending In Mailbox 24 */ | ||
1884 | #define RMP25 0x0200 /* RX Message Pending In Mailbox 25 */ | ||
1885 | #define RMP26 0x0400 /* RX Message Pending In Mailbox 26 */ | ||
1886 | #define RMP27 0x0800 /* RX Message Pending In Mailbox 27 */ | ||
1887 | #define RMP28 0x1000 /* RX Message Pending In Mailbox 28 */ | ||
1888 | #define RMP29 0x2000 /* RX Message Pending In Mailbox 29 */ | ||
1889 | #define RMP30 0x4000 /* RX Message Pending In Mailbox 30 */ | ||
1890 | #define RMP31 0x8000 /* RX Message Pending In Mailbox 31 */ | ||
1891 | |||
1892 | /* CAN_RML1 Masks */ | ||
1893 | #define RML0 0x0001 /* RX Message Lost In Mailbox 0 */ | ||
1894 | #define RML1 0x0002 /* RX Message Lost In Mailbox 1 */ | ||
1895 | #define RML2 0x0004 /* RX Message Lost In Mailbox 2 */ | ||
1896 | #define RML3 0x0008 /* RX Message Lost In Mailbox 3 */ | ||
1897 | #define RML4 0x0010 /* RX Message Lost In Mailbox 4 */ | ||
1898 | #define RML5 0x0020 /* RX Message Lost In Mailbox 5 */ | ||
1899 | #define RML6 0x0040 /* RX Message Lost In Mailbox 6 */ | ||
1900 | #define RML7 0x0080 /* RX Message Lost In Mailbox 7 */ | ||
1901 | #define RML8 0x0100 /* RX Message Lost In Mailbox 8 */ | ||
1902 | #define RML9 0x0200 /* RX Message Lost In Mailbox 9 */ | ||
1903 | #define RML10 0x0400 /* RX Message Lost In Mailbox 10 */ | ||
1904 | #define RML11 0x0800 /* RX Message Lost In Mailbox 11 */ | ||
1905 | #define RML12 0x1000 /* RX Message Lost In Mailbox 12 */ | ||
1906 | #define RML13 0x2000 /* RX Message Lost In Mailbox 13 */ | ||
1907 | #define RML14 0x4000 /* RX Message Lost In Mailbox 14 */ | ||
1908 | #define RML15 0x8000 /* RX Message Lost In Mailbox 15 */ | ||
1909 | |||
1910 | /* CAN_RML2 Masks */ | ||
1911 | #define RML16 0x0001 /* RX Message Lost In Mailbox 16 */ | ||
1912 | #define RML17 0x0002 /* RX Message Lost In Mailbox 17 */ | ||
1913 | #define RML18 0x0004 /* RX Message Lost In Mailbox 18 */ | ||
1914 | #define RML19 0x0008 /* RX Message Lost In Mailbox 19 */ | ||
1915 | #define RML20 0x0010 /* RX Message Lost In Mailbox 20 */ | ||
1916 | #define RML21 0x0020 /* RX Message Lost In Mailbox 21 */ | ||
1917 | #define RML22 0x0040 /* RX Message Lost In Mailbox 22 */ | ||
1918 | #define RML23 0x0080 /* RX Message Lost In Mailbox 23 */ | ||
1919 | #define RML24 0x0100 /* RX Message Lost In Mailbox 24 */ | ||
1920 | #define RML25 0x0200 /* RX Message Lost In Mailbox 25 */ | ||
1921 | #define RML26 0x0400 /* RX Message Lost In Mailbox 26 */ | ||
1922 | #define RML27 0x0800 /* RX Message Lost In Mailbox 27 */ | ||
1923 | #define RML28 0x1000 /* RX Message Lost In Mailbox 28 */ | ||
1924 | #define RML29 0x2000 /* RX Message Lost In Mailbox 29 */ | ||
1925 | #define RML30 0x4000 /* RX Message Lost In Mailbox 30 */ | ||
1926 | #define RML31 0x8000 /* RX Message Lost In Mailbox 31 */ | ||
1927 | |||
1928 | /* CAN_OPSS1 Masks */ | ||
1929 | #define OPSS0 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 0 */ | ||
1930 | #define OPSS1 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 1 */ | ||
1931 | #define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */ | ||
1932 | #define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */ | ||
1933 | #define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */ | ||
1934 | #define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */ | ||
1935 | #define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */ | ||
1936 | #define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */ | ||
1937 | #define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */ | ||
1938 | #define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */ | ||
1939 | #define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */ | ||
1940 | #define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */ | ||
1941 | #define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */ | ||
1942 | #define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */ | ||
1943 | #define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */ | ||
1944 | #define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */ | ||
1945 | |||
1946 | /* CAN_OPSS2 Masks */ | ||
1947 | #define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */ | ||
1948 | #define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */ | ||
1949 | #define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */ | ||
1950 | #define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */ | ||
1951 | #define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */ | ||
1952 | #define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */ | ||
1953 | #define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */ | ||
1954 | #define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */ | ||
1955 | #define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */ | ||
1956 | #define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */ | ||
1957 | #define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */ | ||
1958 | #define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */ | ||
1959 | #define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */ | ||
1960 | #define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */ | ||
1961 | #define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */ | ||
1962 | #define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */ | ||
1963 | |||
1964 | /* CAN_TRR1 Masks */ | ||
1965 | #define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */ | ||
1966 | #define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */ | ||
1967 | #define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */ | ||
1968 | #define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */ | ||
1969 | #define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */ | ||
1970 | #define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */ | ||
1971 | #define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */ | ||
1972 | #define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */ | ||
1973 | #define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */ | ||
1974 | #define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */ | ||
1975 | #define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */ | ||
1976 | #define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */ | ||
1977 | #define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */ | ||
1978 | #define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */ | ||
1979 | #define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */ | ||
1980 | #define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */ | ||
1981 | |||
1982 | /* CAN_TRR2 Masks */ | ||
1983 | #define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */ | ||
1984 | #define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */ | ||
1985 | #define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */ | ||
1986 | #define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */ | ||
1987 | #define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */ | ||
1988 | #define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */ | ||
1989 | #define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */ | ||
1990 | #define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */ | ||
1991 | #define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */ | ||
1992 | #define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */ | ||
1993 | #define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */ | ||
1994 | #define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */ | ||
1995 | #define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */ | ||
1996 | #define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */ | ||
1997 | #define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */ | ||
1998 | #define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */ | ||
1999 | |||
2000 | /* CAN_TRS1 Masks */ | ||
2001 | #define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */ | ||
2002 | #define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */ | ||
2003 | #define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */ | ||
2004 | #define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */ | ||
2005 | #define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */ | ||
2006 | #define TRS5 0x0020 /* Remote Frame Request For Mailbox 5 */ | ||
2007 | #define TRS6 0x0040 /* Remote Frame Request For Mailbox 6 */ | ||
2008 | #define TRS7 0x0080 /* Remote Frame Request For Mailbox 7 */ | ||
2009 | #define TRS8 0x0100 /* Remote Frame Request For Mailbox 8 */ | ||
2010 | #define TRS9 0x0200 /* Remote Frame Request For Mailbox 9 */ | ||
2011 | #define TRS10 0x0400 /* Remote Frame Request For Mailbox 10 */ | ||
2012 | #define TRS11 0x0800 /* Remote Frame Request For Mailbox 11 */ | ||
2013 | #define TRS12 0x1000 /* Remote Frame Request For Mailbox 12 */ | ||
2014 | #define TRS13 0x2000 /* Remote Frame Request For Mailbox 13 */ | ||
2015 | #define TRS14 0x4000 /* Remote Frame Request For Mailbox 14 */ | ||
2016 | #define TRS15 0x8000 /* Remote Frame Request For Mailbox 15 */ | ||
2017 | |||
2018 | /* CAN_TRS2 Masks */ | ||
2019 | #define TRS16 0x0001 /* Remote Frame Request For Mailbox 16 */ | ||
2020 | #define TRS17 0x0002 /* Remote Frame Request For Mailbox 17 */ | ||
2021 | #define TRS18 0x0004 /* Remote Frame Request For Mailbox 18 */ | ||
2022 | #define TRS19 0x0008 /* Remote Frame Request For Mailbox 19 */ | ||
2023 | #define TRS20 0x0010 /* Remote Frame Request For Mailbox 20 */ | ||
2024 | #define TRS21 0x0020 /* Remote Frame Request For Mailbox 21 */ | ||
2025 | #define TRS22 0x0040 /* Remote Frame Request For Mailbox 22 */ | ||
2026 | #define TRS23 0x0080 /* Remote Frame Request For Mailbox 23 */ | ||
2027 | #define TRS24 0x0100 /* Remote Frame Request For Mailbox 24 */ | ||
2028 | #define TRS25 0x0200 /* Remote Frame Request For Mailbox 25 */ | ||
2029 | #define TRS26 0x0400 /* Remote Frame Request For Mailbox 26 */ | ||
2030 | #define TRS27 0x0800 /* Remote Frame Request For Mailbox 27 */ | ||
2031 | #define TRS28 0x1000 /* Remote Frame Request For Mailbox 28 */ | ||
2032 | #define TRS29 0x2000 /* Remote Frame Request For Mailbox 29 */ | ||
2033 | #define TRS30 0x4000 /* Remote Frame Request For Mailbox 30 */ | ||
2034 | #define TRS31 0x8000 /* Remote Frame Request For Mailbox 31 */ | ||
2035 | |||
2036 | /* CAN_AA1 Masks */ | ||
2037 | #define AA0 0x0001 /* Aborted Message In Mailbox 0 */ | ||
2038 | #define AA1 0x0002 /* Aborted Message In Mailbox 1 */ | ||
2039 | #define AA2 0x0004 /* Aborted Message In Mailbox 2 */ | ||
2040 | #define AA3 0x0008 /* Aborted Message In Mailbox 3 */ | ||
2041 | #define AA4 0x0010 /* Aborted Message In Mailbox 4 */ | ||
2042 | #define AA5 0x0020 /* Aborted Message In Mailbox 5 */ | ||
2043 | #define AA6 0x0040 /* Aborted Message In Mailbox 6 */ | ||
2044 | #define AA7 0x0080 /* Aborted Message In Mailbox 7 */ | ||
2045 | #define AA8 0x0100 /* Aborted Message In Mailbox 8 */ | ||
2046 | #define AA9 0x0200 /* Aborted Message In Mailbox 9 */ | ||
2047 | #define AA10 0x0400 /* Aborted Message In Mailbox 10 */ | ||
2048 | #define AA11 0x0800 /* Aborted Message In Mailbox 11 */ | ||
2049 | #define AA12 0x1000 /* Aborted Message In Mailbox 12 */ | ||
2050 | #define AA13 0x2000 /* Aborted Message In Mailbox 13 */ | ||
2051 | #define AA14 0x4000 /* Aborted Message In Mailbox 14 */ | ||
2052 | #define AA15 0x8000 /* Aborted Message In Mailbox 15 */ | ||
2053 | |||
2054 | /* CAN_AA2 Masks */ | ||
2055 | #define AA16 0x0001 /* Aborted Message In Mailbox 16 */ | ||
2056 | #define AA17 0x0002 /* Aborted Message In Mailbox 17 */ | ||
2057 | #define AA18 0x0004 /* Aborted Message In Mailbox 18 */ | ||
2058 | #define AA19 0x0008 /* Aborted Message In Mailbox 19 */ | ||
2059 | #define AA20 0x0010 /* Aborted Message In Mailbox 20 */ | ||
2060 | #define AA21 0x0020 /* Aborted Message In Mailbox 21 */ | ||
2061 | #define AA22 0x0040 /* Aborted Message In Mailbox 22 */ | ||
2062 | #define AA23 0x0080 /* Aborted Message In Mailbox 23 */ | ||
2063 | #define AA24 0x0100 /* Aborted Message In Mailbox 24 */ | ||
2064 | #define AA25 0x0200 /* Aborted Message In Mailbox 25 */ | ||
2065 | #define AA26 0x0400 /* Aborted Message In Mailbox 26 */ | ||
2066 | #define AA27 0x0800 /* Aborted Message In Mailbox 27 */ | ||
2067 | #define AA28 0x1000 /* Aborted Message In Mailbox 28 */ | ||
2068 | #define AA29 0x2000 /* Aborted Message In Mailbox 29 */ | ||
2069 | #define AA30 0x4000 /* Aborted Message In Mailbox 30 */ | ||
2070 | #define AA31 0x8000 /* Aborted Message In Mailbox 31 */ | ||
2071 | |||
2072 | /* CAN_TA1 Masks */ | ||
2073 | #define TA0 0x0001 /* Transmit Successful From Mailbox 0 */ | ||
2074 | #define TA1 0x0002 /* Transmit Successful From Mailbox 1 */ | ||
2075 | #define TA2 0x0004 /* Transmit Successful From Mailbox 2 */ | ||
2076 | #define TA3 0x0008 /* Transmit Successful From Mailbox 3 */ | ||
2077 | #define TA4 0x0010 /* Transmit Successful From Mailbox 4 */ | ||
2078 | #define TA5 0x0020 /* Transmit Successful From Mailbox 5 */ | ||
2079 | #define TA6 0x0040 /* Transmit Successful From Mailbox 6 */ | ||
2080 | #define TA7 0x0080 /* Transmit Successful From Mailbox 7 */ | ||
2081 | #define TA8 0x0100 /* Transmit Successful From Mailbox 8 */ | ||
2082 | #define TA9 0x0200 /* Transmit Successful From Mailbox 9 */ | ||
2083 | #define TA10 0x0400 /* Transmit Successful From Mailbox 10 */ | ||
2084 | #define TA11 0x0800 /* Transmit Successful From Mailbox 11 */ | ||
2085 | #define TA12 0x1000 /* Transmit Successful From Mailbox 12 */ | ||
2086 | #define TA13 0x2000 /* Transmit Successful From Mailbox 13 */ | ||
2087 | #define TA14 0x4000 /* Transmit Successful From Mailbox 14 */ | ||
2088 | #define TA15 0x8000 /* Transmit Successful From Mailbox 15 */ | ||
2089 | |||
2090 | /* CAN_TA2 Masks */ | ||
2091 | #define TA16 0x0001 /* Transmit Successful From Mailbox 16 */ | ||
2092 | #define TA17 0x0002 /* Transmit Successful From Mailbox 17 */ | ||
2093 | #define TA18 0x0004 /* Transmit Successful From Mailbox 18 */ | ||
2094 | #define TA19 0x0008 /* Transmit Successful From Mailbox 19 */ | ||
2095 | #define TA20 0x0010 /* Transmit Successful From Mailbox 20 */ | ||
2096 | #define TA21 0x0020 /* Transmit Successful From Mailbox 21 */ | ||
2097 | #define TA22 0x0040 /* Transmit Successful From Mailbox 22 */ | ||
2098 | #define TA23 0x0080 /* Transmit Successful From Mailbox 23 */ | ||
2099 | #define TA24 0x0100 /* Transmit Successful From Mailbox 24 */ | ||
2100 | #define TA25 0x0200 /* Transmit Successful From Mailbox 25 */ | ||
2101 | #define TA26 0x0400 /* Transmit Successful From Mailbox 26 */ | ||
2102 | #define TA27 0x0800 /* Transmit Successful From Mailbox 27 */ | ||
2103 | #define TA28 0x1000 /* Transmit Successful From Mailbox 28 */ | ||
2104 | #define TA29 0x2000 /* Transmit Successful From Mailbox 29 */ | ||
2105 | #define TA30 0x4000 /* Transmit Successful From Mailbox 30 */ | ||
2106 | #define TA31 0x8000 /* Transmit Successful From Mailbox 31 */ | ||
2107 | |||
2108 | /* CAN_MBTD Masks */ | ||
2109 | #define TDPTR 0x001F /* Mailbox To Temporarily Disable */ | ||
2110 | #define TDA 0x0040 /* Temporary Disable Acknowledge */ | ||
2111 | #define TDR 0x0080 /* Temporary Disable Request */ | ||
2112 | |||
2113 | /* CAN_RFH1 Masks */ | ||
2114 | #define RFH0 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 0 */ | ||
2115 | #define RFH1 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 1 */ | ||
2116 | #define RFH2 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 2 */ | ||
2117 | #define RFH3 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 3 */ | ||
2118 | #define RFH4 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 4 */ | ||
2119 | #define RFH5 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 5 */ | ||
2120 | #define RFH6 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 6 */ | ||
2121 | #define RFH7 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 7 */ | ||
2122 | #define RFH8 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 8 */ | ||
2123 | #define RFH9 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 9 */ | ||
2124 | #define RFH10 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 10 */ | ||
2125 | #define RFH11 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 11 */ | ||
2126 | #define RFH12 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 12 */ | ||
2127 | #define RFH13 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 13 */ | ||
2128 | #define RFH14 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 14 */ | ||
2129 | #define RFH15 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 15 */ | ||
2130 | |||
2131 | /* CAN_RFH2 Masks */ | ||
2132 | #define RFH16 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 16 */ | ||
2133 | #define RFH17 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 17 */ | ||
2134 | #define RFH18 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 18 */ | ||
2135 | #define RFH19 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 19 */ | ||
2136 | #define RFH20 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 20 */ | ||
2137 | #define RFH21 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 21 */ | ||
2138 | #define RFH22 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 22 */ | ||
2139 | #define RFH23 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 23 */ | ||
2140 | #define RFH24 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 24 */ | ||
2141 | #define RFH25 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 25 */ | ||
2142 | #define RFH26 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 26 */ | ||
2143 | #define RFH27 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 27 */ | ||
2144 | #define RFH28 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 28 */ | ||
2145 | #define RFH29 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 29 */ | ||
2146 | #define RFH30 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 30 */ | ||
2147 | #define RFH31 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 31 */ | ||
2148 | |||
2149 | /* CAN_MBTIF1 Masks */ | ||
2150 | #define MBTIF0 0x0001 /* TX Interrupt Active In Mailbox 0 */ | ||
2151 | #define MBTIF1 0x0002 /* TX Interrupt Active In Mailbox 1 */ | ||
2152 | #define MBTIF2 0x0004 /* TX Interrupt Active In Mailbox 2 */ | ||
2153 | #define MBTIF3 0x0008 /* TX Interrupt Active In Mailbox 3 */ | ||
2154 | #define MBTIF4 0x0010 /* TX Interrupt Active In Mailbox 4 */ | ||
2155 | #define MBTIF5 0x0020 /* TX Interrupt Active In Mailbox 5 */ | ||
2156 | #define MBTIF6 0x0040 /* TX Interrupt Active In Mailbox 6 */ | ||
2157 | #define MBTIF7 0x0080 /* TX Interrupt Active In Mailbox 7 */ | ||
2158 | #define MBTIF8 0x0100 /* TX Interrupt Active In Mailbox 8 */ | ||
2159 | #define MBTIF9 0x0200 /* TX Interrupt Active In Mailbox 9 */ | ||
2160 | #define MBTIF10 0x0400 /* TX Interrupt Active In Mailbox 10 */ | ||
2161 | #define MBTIF11 0x0800 /* TX Interrupt Active In Mailbox 11 */ | ||
2162 | #define MBTIF12 0x1000 /* TX Interrupt Active In Mailbox 12 */ | ||
2163 | #define MBTIF13 0x2000 /* TX Interrupt Active In Mailbox 13 */ | ||
2164 | #define MBTIF14 0x4000 /* TX Interrupt Active In Mailbox 14 */ | ||
2165 | #define MBTIF15 0x8000 /* TX Interrupt Active In Mailbox 15 */ | ||
2166 | |||
2167 | /* CAN_MBTIF2 Masks */ | ||
2168 | #define MBTIF16 0x0001 /* TX Interrupt Active In Mailbox 16 */ | ||
2169 | #define MBTIF17 0x0002 /* TX Interrupt Active In Mailbox 17 */ | ||
2170 | #define MBTIF18 0x0004 /* TX Interrupt Active In Mailbox 18 */ | ||
2171 | #define MBTIF19 0x0008 /* TX Interrupt Active In Mailbox 19 */ | ||
2172 | #define MBTIF20 0x0010 /* TX Interrupt Active In Mailbox 20 */ | ||
2173 | #define MBTIF21 0x0020 /* TX Interrupt Active In Mailbox 21 */ | ||
2174 | #define MBTIF22 0x0040 /* TX Interrupt Active In Mailbox 22 */ | ||
2175 | #define MBTIF23 0x0080 /* TX Interrupt Active In Mailbox 23 */ | ||
2176 | #define MBTIF24 0x0100 /* TX Interrupt Active In Mailbox 24 */ | ||
2177 | #define MBTIF25 0x0200 /* TX Interrupt Active In Mailbox 25 */ | ||
2178 | #define MBTIF26 0x0400 /* TX Interrupt Active In Mailbox 26 */ | ||
2179 | #define MBTIF27 0x0800 /* TX Interrupt Active In Mailbox 27 */ | ||
2180 | #define MBTIF28 0x1000 /* TX Interrupt Active In Mailbox 28 */ | ||
2181 | #define MBTIF29 0x2000 /* TX Interrupt Active In Mailbox 29 */ | ||
2182 | #define MBTIF30 0x4000 /* TX Interrupt Active In Mailbox 30 */ | ||
2183 | #define MBTIF31 0x8000 /* TX Interrupt Active In Mailbox 31 */ | ||
2184 | |||
2185 | /* CAN_MBRIF1 Masks */ | ||
2186 | #define MBRIF0 0x0001 /* RX Interrupt Active In Mailbox 0 */ | ||
2187 | #define MBRIF1 0x0002 /* RX Interrupt Active In Mailbox 1 */ | ||
2188 | #define MBRIF2 0x0004 /* RX Interrupt Active In Mailbox 2 */ | ||
2189 | #define MBRIF3 0x0008 /* RX Interrupt Active In Mailbox 3 */ | ||
2190 | #define MBRIF4 0x0010 /* RX Interrupt Active In Mailbox 4 */ | ||
2191 | #define MBRIF5 0x0020 /* RX Interrupt Active In Mailbox 5 */ | ||
2192 | #define MBRIF6 0x0040 /* RX Interrupt Active In Mailbox 6 */ | ||
2193 | #define MBRIF7 0x0080 /* RX Interrupt Active In Mailbox 7 */ | ||
2194 | #define MBRIF8 0x0100 /* RX Interrupt Active In Mailbox 8 */ | ||
2195 | #define MBRIF9 0x0200 /* RX Interrupt Active In Mailbox 9 */ | ||
2196 | #define MBRIF10 0x0400 /* RX Interrupt Active In Mailbox 10 */ | ||
2197 | #define MBRIF11 0x0800 /* RX Interrupt Active In Mailbox 11 */ | ||
2198 | #define MBRIF12 0x1000 /* RX Interrupt Active In Mailbox 12 */ | ||
2199 | #define MBRIF13 0x2000 /* RX Interrupt Active In Mailbox 13 */ | ||
2200 | #define MBRIF14 0x4000 /* RX Interrupt Active In Mailbox 14 */ | ||
2201 | #define MBRIF15 0x8000 /* RX Interrupt Active In Mailbox 15 */ | ||
2202 | |||
2203 | /* CAN_MBRIF2 Masks */ | ||
2204 | #define MBRIF16 0x0001 /* RX Interrupt Active In Mailbox 16 */ | ||
2205 | #define MBRIF17 0x0002 /* RX Interrupt Active In Mailbox 17 */ | ||
2206 | #define MBRIF18 0x0004 /* RX Interrupt Active In Mailbox 18 */ | ||
2207 | #define MBRIF19 0x0008 /* RX Interrupt Active In Mailbox 19 */ | ||
2208 | #define MBRIF20 0x0010 /* RX Interrupt Active In Mailbox 20 */ | ||
2209 | #define MBRIF21 0x0020 /* RX Interrupt Active In Mailbox 21 */ | ||
2210 | #define MBRIF22 0x0040 /* RX Interrupt Active In Mailbox 22 */ | ||
2211 | #define MBRIF23 0x0080 /* RX Interrupt Active In Mailbox 23 */ | ||
2212 | #define MBRIF24 0x0100 /* RX Interrupt Active In Mailbox 24 */ | ||
2213 | #define MBRIF25 0x0200 /* RX Interrupt Active In Mailbox 25 */ | ||
2214 | #define MBRIF26 0x0400 /* RX Interrupt Active In Mailbox 26 */ | ||
2215 | #define MBRIF27 0x0800 /* RX Interrupt Active In Mailbox 27 */ | ||
2216 | #define MBRIF28 0x1000 /* RX Interrupt Active In Mailbox 28 */ | ||
2217 | #define MBRIF29 0x2000 /* RX Interrupt Active In Mailbox 29 */ | ||
2218 | #define MBRIF30 0x4000 /* RX Interrupt Active In Mailbox 30 */ | ||
2219 | #define MBRIF31 0x8000 /* RX Interrupt Active In Mailbox 31 */ | ||
2220 | |||
2221 | /* CAN_MBIM1 Masks */ | ||
2222 | #define MBIM0 0x0001 /* Enable Interrupt For Mailbox 0 */ | ||
2223 | #define MBIM1 0x0002 /* Enable Interrupt For Mailbox 1 */ | ||
2224 | #define MBIM2 0x0004 /* Enable Interrupt For Mailbox 2 */ | ||
2225 | #define MBIM3 0x0008 /* Enable Interrupt For Mailbox 3 */ | ||
2226 | #define MBIM4 0x0010 /* Enable Interrupt For Mailbox 4 */ | ||
2227 | #define MBIM5 0x0020 /* Enable Interrupt For Mailbox 5 */ | ||
2228 | #define MBIM6 0x0040 /* Enable Interrupt For Mailbox 6 */ | ||
2229 | #define MBIM7 0x0080 /* Enable Interrupt For Mailbox 7 */ | ||
2230 | #define MBIM8 0x0100 /* Enable Interrupt For Mailbox 8 */ | ||
2231 | #define MBIM9 0x0200 /* Enable Interrupt For Mailbox 9 */ | ||
2232 | #define MBIM10 0x0400 /* Enable Interrupt For Mailbox 10 */ | ||
2233 | #define MBIM11 0x0800 /* Enable Interrupt For Mailbox 11 */ | ||
2234 | #define MBIM12 0x1000 /* Enable Interrupt For Mailbox 12 */ | ||
2235 | #define MBIM13 0x2000 /* Enable Interrupt For Mailbox 13 */ | ||
2236 | #define MBIM14 0x4000 /* Enable Interrupt For Mailbox 14 */ | ||
2237 | #define MBIM15 0x8000 /* Enable Interrupt For Mailbox 15 */ | ||
2238 | |||
2239 | /* CAN_MBIM2 Masks */ | ||
2240 | #define MBIM16 0x0001 /* Enable Interrupt For Mailbox 16 */ | ||
2241 | #define MBIM17 0x0002 /* Enable Interrupt For Mailbox 17 */ | ||
2242 | #define MBIM18 0x0004 /* Enable Interrupt For Mailbox 18 */ | ||
2243 | #define MBIM19 0x0008 /* Enable Interrupt For Mailbox 19 */ | ||
2244 | #define MBIM20 0x0010 /* Enable Interrupt For Mailbox 20 */ | ||
2245 | #define MBIM21 0x0020 /* Enable Interrupt For Mailbox 21 */ | ||
2246 | #define MBIM22 0x0040 /* Enable Interrupt For Mailbox 22 */ | ||
2247 | #define MBIM23 0x0080 /* Enable Interrupt For Mailbox 23 */ | ||
2248 | #define MBIM24 0x0100 /* Enable Interrupt For Mailbox 24 */ | ||
2249 | #define MBIM25 0x0200 /* Enable Interrupt For Mailbox 25 */ | ||
2250 | #define MBIM26 0x0400 /* Enable Interrupt For Mailbox 26 */ | ||
2251 | #define MBIM27 0x0800 /* Enable Interrupt For Mailbox 27 */ | ||
2252 | #define MBIM28 0x1000 /* Enable Interrupt For Mailbox 28 */ | ||
2253 | #define MBIM29 0x2000 /* Enable Interrupt For Mailbox 29 */ | ||
2254 | #define MBIM30 0x4000 /* Enable Interrupt For Mailbox 30 */ | ||
2255 | #define MBIM31 0x8000 /* Enable Interrupt For Mailbox 31 */ | ||
2256 | |||
2257 | /* CAN_GIM Masks */ | ||
2258 | #define EWTIM 0x0001 /* Enable TX Error Count Interrupt */ | ||
2259 | #define EWRIM 0x0002 /* Enable RX Error Count Interrupt */ | ||
2260 | #define EPIM 0x0004 /* Enable Error-Passive Mode Interrupt */ | ||
2261 | #define BOIM 0x0008 /* Enable Bus Off Interrupt */ | ||
2262 | #define WUIM 0x0010 /* Enable Wake-Up Interrupt */ | ||
2263 | #define UIAIM 0x0020 /* Enable Access To Unimplemented Address Interrupt */ | ||
2264 | #define AAIM 0x0040 /* Enable Abort Acknowledge Interrupt */ | ||
2265 | #define RMLIM 0x0080 /* Enable RX Message Lost Interrupt */ | ||
2266 | #define UCEIM 0x0100 /* Enable Universal Counter Overflow Interrupt */ | ||
2267 | #define EXTIM 0x0200 /* Enable External Trigger Output Interrupt */ | ||
2268 | #define ADIM 0x0400 /* Enable Access Denied Interrupt */ | ||
2269 | |||
2270 | /* CAN_GIS Masks */ | ||
2271 | #define EWTIS 0x0001 /* TX Error Count IRQ Status */ | ||
2272 | #define EWRIS 0x0002 /* RX Error Count IRQ Status */ | ||
2273 | #define EPIS 0x0004 /* Error-Passive Mode IRQ Status */ | ||
2274 | #define BOIS 0x0008 /* Bus Off IRQ Status */ | ||
2275 | #define WUIS 0x0010 /* Wake-Up IRQ Status */ | ||
2276 | #define UIAIS 0x0020 /* Access To Unimplemented Address IRQ Status */ | ||
2277 | #define AAIS 0x0040 /* Abort Acknowledge IRQ Status */ | ||
2278 | #define RMLIS 0x0080 /* RX Message Lost IRQ Status */ | ||
2279 | #define UCEIS 0x0100 /* Universal Counter Overflow IRQ Status */ | ||
2280 | #define EXTIS 0x0200 /* External Trigger Output IRQ Status */ | ||
2281 | #define ADIS 0x0400 /* Access Denied IRQ Status */ | ||
2282 | |||
2283 | /* CAN_GIF Masks */ | ||
2284 | #define EWTIF 0x0001 /* TX Error Count IRQ Flag */ | ||
2285 | #define EWRIF 0x0002 /* RX Error Count IRQ Flag */ | ||
2286 | #define EPIF 0x0004 /* Error-Passive Mode IRQ Flag */ | ||
2287 | #define BOIF 0x0008 /* Bus Off IRQ Flag */ | ||
2288 | #define WUIF 0x0010 /* Wake-Up IRQ Flag */ | ||
2289 | #define UIAIF 0x0020 /* Access To Unimplemented Address IRQ Flag */ | ||
2290 | #define AAIF 0x0040 /* Abort Acknowledge IRQ Flag */ | ||
2291 | #define RMLIF 0x0080 /* RX Message Lost IRQ Flag */ | ||
2292 | #define UCEIF 0x0100 /* Universal Counter Overflow IRQ Flag */ | ||
2293 | #define EXTIF 0x0200 /* External Trigger Output IRQ Flag */ | ||
2294 | #define ADIF 0x0400 /* Access Denied IRQ Flag */ | ||
2295 | |||
2296 | /* CAN_UCCNF Masks */ | ||
2297 | #define UCCNF 0x000F /* Universal Counter Mode */ | ||
2298 | #define UC_STAMP 0x0001 /* Timestamp Mode */ | ||
2299 | #define UC_WDOG 0x0002 /* Watchdog Mode */ | ||
2300 | #define UC_AUTOTX 0x0003 /* Auto-Transmit Mode */ | ||
2301 | #define UC_ERROR 0x0006 /* CAN Error Frame Count */ | ||
2302 | #define UC_OVER 0x0007 /* CAN Overload Frame Count */ | ||
2303 | #define UC_LOST 0x0008 /* Arbitration Lost During TX Count */ | ||
2304 | #define UC_AA 0x0009 /* TX Abort Count */ | ||
2305 | #define UC_TA 0x000A /* TX Successful Count */ | ||
2306 | #define UC_REJECT 0x000B /* RX Message Rejected Count */ | ||
2307 | #define UC_RML 0x000C /* RX Message Lost Count */ | ||
2308 | #define UC_RX 0x000D /* Total Successful RX Messages Count */ | ||
2309 | #define UC_RMP 0x000E /* Successful RX W/Matching ID Count */ | ||
2310 | #define UC_ALL 0x000F /* Correct Message On CAN Bus Line Count */ | ||
2311 | #define UCRC 0x0020 /* Universal Counter Reload/Clear */ | ||
2312 | #define UCCT 0x0040 /* Universal Counter CAN Trigger */ | ||
2313 | #define UCE 0x0080 /* Universal Counter Enable */ | ||
2314 | |||
2315 | /* CAN_ESR Masks */ | ||
2316 | #define ACKE 0x0004 /* Acknowledge Error */ | ||
2317 | #define SER 0x0008 /* Stuff Error */ | ||
2318 | #define CRCE 0x0010 /* CRC Error */ | ||
2319 | #define SA0 0x0020 /* Stuck At Dominant Error */ | ||
2320 | #define BEF 0x0040 /* Bit Error Flag */ | ||
2321 | #define FER 0x0080 /* Form Error Flag */ | ||
2322 | |||
2323 | /* CAN_EWR Masks */ | ||
2324 | #define EWLREC 0x00FF /* RX Error Count Limit (For EWRIS) */ | ||
2325 | #define EWLTEC 0xFF00 /* TX Error Count Limit (For EWTIS) */ | ||
2326 | |||
2327 | /* ******************* PIN CONTROL REGISTER MASKS ************************/ | 1705 | /* ******************* PIN CONTROL REGISTER MASKS ************************/ |
2328 | /* PORT_MUX Masks */ | 1706 | /* PORT_MUX Masks */ |
2329 | #define PJSE 0x0001 /* Port J SPI/SPORT Enable */ | 1707 | #define PJSE 0x0001 /* Port J SPI/SPORT Enable */ |