/usr/share/sdcc/include/pic16/pic18f86j60.h is in sdcc-libraries 2.9.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 | /*
* pic18f86j60.h - device specific declarations
*
* This file is part of the GNU PIC library for SDCC,
* originally devised by Vangelis Rokas <vrokas AT otenet.gr>
*
* It has been automatically generated by inc2h-pic16.pl,
* (c) 2007 by Raphael Neider <rneider AT web.de>
*/
#ifndef __PIC18F86J60_H__
#define __PIC18F86J60_H__ 1
#define _DEVID1 0x3FFFFE
#define _DEVID2 0x3FFFFF
extern __sfr __at (0xE80) MAADR5;
extern __sfr __at (0xE81) MAADR6;
extern __sfr __at (0xE82) MAADR3;
extern __sfr __at (0xE83) MAADR4;
extern __sfr __at (0xE84) MAADR1;
extern __sfr __at (0xE85) MAADR2;
extern __sfr __at (0xE86) EBSTSD;
extern __sfr __at (0xE87) EBSTCON;
typedef union {
struct {
unsigned BISTST : 1;
unsigned TME : 1;
unsigned TMSEL0 : 1;
unsigned TMSEL1 : 1;
unsigned : 1;
unsigned PSV0 : 1;
unsigned PSV1 : 1;
unsigned PSV2 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned TMSEL : 1;
unsigned : 1;
unsigned : 1;
unsigned PSV : 1;
unsigned : 1;
unsigned : 1;
};
} __EBSTCONbits_t;
extern volatile __EBSTCONbits_t __at (0xE87) EBSTCONbits;
extern __sfr __at (0xE88) EBSTCS;
extern __sfr __at (0xE88) EBSTCSL;
extern __sfr __at (0xE89) EBSTCSH;
extern __sfr __at (0xE8A) MISTAT;
typedef union {
struct {
unsigned BUSY : 1;
unsigned SCAN : 1;
unsigned NVALID : 1;
unsigned LINKFL : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __MISTATbits_t;
extern volatile __MISTATbits_t __at (0xE8A) MISTATbits;
extern __sfr __at (0xE97) EFLOCON;
typedef union {
struct {
unsigned FCEN0 : 1;
unsigned FCEN1 : 1;
unsigned FULDPXS : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __EFLOCONbits_t;
extern volatile __EFLOCONbits_t __at (0xE97) EFLOCONbits;
extern __sfr __at (0xE98) EPAUS;
extern __sfr __at (0xE98) EPAUSL;
extern __sfr __at (0xE99) EPAUSH;
extern __sfr __at (0xEA0) MACON1;
typedef union {
struct {
unsigned MARXEN : 1;
unsigned PASSALL : 1;
unsigned RXPAUS : 1;
unsigned TXPAUS : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __MACON1bits_t;
extern volatile __MACON1bits_t __at (0xEA0) MACON1bits;
extern __sfr __at (0xEA1) MACON2;
typedef union {
struct {
unsigned TFUNRST : 1;
unsigned MATXRST : 1;
unsigned RFUNRST : 1;
unsigned MARXRST : 1;
unsigned : 1;
unsigned : 1;
unsigned RNDRST : 1;
unsigned MARST : 1;
};
} __MACON2bits_t;
extern volatile __MACON2bits_t __at (0xEA1) MACON2bits;
extern __sfr __at (0xEA2) MACON3;
typedef union {
struct {
unsigned FULDPX : 1;
unsigned FRMLNEN : 1;
unsigned HFRMEN : 1;
unsigned PHDRLEN : 1;
unsigned TXCRCEN : 1;
unsigned PADCFG0 : 1;
unsigned PADCFG1 : 1;
unsigned PADCFG2 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned PADCFG : 1;
unsigned : 1;
unsigned : 1;
};
} __MACON3bits_t;
extern volatile __MACON3bits_t __at (0xEA2) MACON3bits;
extern __sfr __at (0xEA3) MACON4;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOBKOFF : 1;
unsigned BPEN : 1;
unsigned DEFER : 1;
unsigned : 1;
};
} __MACON4bits_t;
extern volatile __MACON4bits_t __at (0xEA3) MACON4bits;
extern __sfr __at (0xEA4) MABBIPG;
extern __sfr __at (0xEA6) MAIPG;
extern __sfr __at (0xEA6) MAIPGL;
extern __sfr __at (0xEA7) MAIPGH;
extern __sfr __at (0xEA8) MACLCON1;
typedef union {
struct {
unsigned RETMAX : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __MACLCON1bits_t;
extern volatile __MACLCON1bits_t __at (0xEA8) MACLCON1bits;
extern __sfr __at (0xEA9) MACLCON2;
typedef union {
struct {
unsigned COLWIN : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __MACLCON2bits_t;
extern volatile __MACLCON2bits_t __at (0xEA9) MACLCON2bits;
extern __sfr __at (0xEAA) MAMXFL;
extern __sfr __at (0xEAA) MAMXFLL;
extern __sfr __at (0xEAB) MAMXFLH;
extern __sfr __at (0xEB1) MICON;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RSTMII : 1;
};
} __MICONbits_t;
extern volatile __MICONbits_t __at (0xEB1) MICONbits;
extern __sfr __at (0xEB2) MICMD;
typedef union {
struct {
unsigned MIIRD : 1;
unsigned MIISCAN : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __MICMDbits_t;
extern volatile __MICMDbits_t __at (0xEB2) MICMDbits;
extern __sfr __at (0xEB4) MIREGADR;
extern __sfr __at (0xEB6) MIWR;
extern __sfr __at (0xEB6) MIWRL;
extern __sfr __at (0xEB7) MIWRH;
extern __sfr __at (0xEB8) MIRD;
extern __sfr __at (0xEB8) MIRDL;
extern __sfr __at (0xEB9) MIRDH;
extern __sfr __at (0xEC0) EHT0;
extern __sfr __at (0xEC1) EHT1;
extern __sfr __at (0xEC2) EHT2;
extern __sfr __at (0xEC3) EHT3;
extern __sfr __at (0xEC4) EHT4;
extern __sfr __at (0xEC5) EHT5;
extern __sfr __at (0xEC6) EHT6;
extern __sfr __at (0xEC7) EHT7;
extern __sfr __at (0xEC8) EPMM0;
extern __sfr __at (0xEC9) EPMM1;
extern __sfr __at (0xECA) EPMM2;
extern __sfr __at (0xECB) EPMM3;
extern __sfr __at (0xECC) EPMM4;
extern __sfr __at (0xECD) EPMM5;
extern __sfr __at (0xECE) EPMM6;
extern __sfr __at (0xECF) EPMM7;
extern __sfr __at (0xED0) EPMCS;
extern __sfr __at (0xED0) EPMCSL;
extern __sfr __at (0xED1) EPMCSH;
extern __sfr __at (0xED4) EPMO;
extern __sfr __at (0xED4) EPMOL;
extern __sfr __at (0xED5) EPMOH;
extern __sfr __at (0xED6) EWOLIE;
typedef union {
struct {
unsigned BCWOLIE : 1;
unsigned MCWOLIE : 1;
unsigned HTWOLIE : 1;
unsigned MPWOLIE : 1;
unsigned PMWOLIE : 1;
unsigned : 1;
unsigned AWOLIE : 1;
unsigned UCWOLIE : 1;
};
} __EWOLIEbits_t;
extern volatile __EWOLIEbits_t __at (0xED6) EWOLIEbits;
extern __sfr __at (0xED7) EWOLIR;
typedef union {
struct {
unsigned BCWOLIF : 1;
unsigned MCWOLIF : 1;
unsigned HTWOLIF : 1;
unsigned MPWOLIF : 1;
unsigned PMWOLIF : 1;
unsigned : 1;
unsigned AWOLIF : 1;
unsigned UCWOLIF : 1;
};
} __EWOLIRbits_t;
extern volatile __EWOLIRbits_t __at (0xED7) EWOLIRbits;
extern __sfr __at (0xED8) ERXFCON;
typedef union {
struct {
unsigned BCEN : 1;
unsigned MCEN : 1;
unsigned HTEN : 1;
unsigned MPEN : 1;
unsigned PMEN : 1;
unsigned CRCEN : 1;
unsigned ANDOR : 1;
unsigned UCEN : 1;
};
} __ERXFCONbits_t;
extern volatile __ERXFCONbits_t __at (0xED8) ERXFCONbits;
extern __sfr __at (0xED9) EPKTCNT;
extern __sfr __at (0xEE2) EWRPT;
extern __sfr __at (0xEE2) EWRPTL;
extern __sfr __at (0xEE3) EWRPTH;
extern __sfr __at (0xEE4) ETXST;
extern __sfr __at (0xEE4) ETXSTL;
extern __sfr __at (0xEE5) ETXSTH;
extern __sfr __at (0xEE6) ETXND;
extern __sfr __at (0xEE6) ETXNDL;
extern __sfr __at (0xEE7) ETXNDH;
extern __sfr __at (0xEE8) ERXST;
extern __sfr __at (0xEE8) ERXSTL;
extern __sfr __at (0xEE9) ERXSTH;
extern __sfr __at (0xEEA) ERXND;
extern __sfr __at (0xEEA) ERXNDL;
extern __sfr __at (0xEEB) ERXNDH;
extern __sfr __at (0xEEC) ERXRDPT;
extern __sfr __at (0xEEC) ERXRDPTL;
extern __sfr __at (0xEED) ERXRDPTH;
extern __sfr __at (0xEEE) ERXWRPT;
extern __sfr __at (0xEEE) ERXWRPTL;
extern __sfr __at (0xEEF) ERXWRPTH;
extern __sfr __at (0xEF0) EDMAST;
extern __sfr __at (0xEF0) EDMASTL;
extern __sfr __at (0xEF1) EDMASTH;
extern __sfr __at (0xEF2) EDMAND;
extern __sfr __at (0xEF2) EDMANDL;
extern __sfr __at (0xEF3) EDMANDH;
extern __sfr __at (0xEF4) EDMADST;
extern __sfr __at (0xEF4) EDMADSTL;
extern __sfr __at (0xEF5) EDMADSTH;
extern __sfr __at (0xEF6) EDMACS;
extern __sfr __at (0xEF6) EDMACSL;
extern __sfr __at (0xEF7) EDMACSH;
extern __sfr __at (0xEFB) EIE;
typedef union {
struct {
unsigned RXERIE : 1;
unsigned TXERIE : 1;
unsigned : 1;
unsigned TXIE_EIE : 1;
unsigned LINKIE : 1;
unsigned DMAIE : 1;
unsigned PKTIE : 1;
unsigned : 1;
};
} __EIEbits_t;
extern volatile __EIEbits_t __at (0xEFB) EIEbits;
extern __sfr __at (0xEFD) ESTAT;
typedef union {
struct {
unsigned PHYRDY : 1;
unsigned TXABRT : 1;
unsigned RXBUSY : 1;
unsigned : 1;
unsigned LATECOL : 1;
unsigned : 1;
unsigned BUFER : 1;
unsigned : 1;
};
} __ESTATbits_t;
extern volatile __ESTATbits_t __at (0xEFD) ESTATbits;
extern __sfr __at (0xEFE) ECON2;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned ETHEN : 1;
unsigned PKTDEC : 1;
unsigned AUTOINC : 1;
};
} __ECON2bits_t;
extern volatile __ECON2bits_t __at (0xEFE) ECON2bits;
extern __sfr __at (0xF60) EIR;
typedef union {
struct {
unsigned RXERIF : 1;
unsigned TXERIF : 1;
unsigned : 1;
unsigned TXIF_EIR : 1;
unsigned LINKIF : 1;
unsigned DMAIF : 1;
unsigned PKTIF : 1;
unsigned : 1;
};
} __EIRbits_t;
extern volatile __EIRbits_t __at (0xF60) EIRbits;
extern __sfr __at (0xF61) EDATA;
typedef union {
struct {
unsigned EDATA0 : 1;
unsigned EDATA1 : 1;
unsigned EDATA2 : 1;
unsigned EDATA3 : 1;
unsigned EDATA4 : 1;
unsigned EDATA5 : 1;
unsigned EDATA6 : 1;
unsigned EDATA7 : 1;
};
} __EDATAbits_t;
extern volatile __EDATAbits_t __at (0xF61) EDATAbits;
extern __sfr __at (0xF67) ECCP2DEL;
typedef union {
struct {
unsigned PDC0 : 1;
unsigned PDC1 : 1;
unsigned PDC2 : 1;
unsigned PDC3 : 1;
unsigned PDC4 : 1;
unsigned PDC5 : 1;
unsigned PDC6 : 1;
unsigned PRSEN : 1;
};
struct {
unsigned P2DC0 : 1;
unsigned P2DC1 : 1;
unsigned P2DC2 : 1;
unsigned P2DC3 : 1;
unsigned P2DC4 : 1;
unsigned P2DC5 : 1;
unsigned P2DC6 : 1;
unsigned P2RSEN : 1;
};
} __ECCP2DELbits_t;
extern volatile __ECCP2DELbits_t __at (0xF67) ECCP2DELbits;
extern __sfr __at (0xF68) ECCP2AS;
typedef union {
struct {
unsigned PSSBD0 : 1;
unsigned PSSBD1 : 1;
unsigned PSSAC0 : 1;
unsigned PSSAC1 : 1;
unsigned ECCPAS0 : 1;
unsigned ECCPAS1 : 1;
unsigned ECCPAS2 : 1;
unsigned ECCPASE : 1;
};
struct {
unsigned PSS2BD0 : 1;
unsigned PSS2BD1 : 1;
unsigned PSS2AC0 : 1;
unsigned PSS2AC1 : 1;
unsigned ECCP2AS0 : 1;
unsigned ECCP2AS1 : 1;
unsigned ECCP2AS2 : 1;
unsigned ECCP2ASE : 1;
};
} __ECCP2ASbits_t;
extern volatile __ECCP2ASbits_t __at (0xF68) ECCP2ASbits;
extern __sfr __at (0xF69) ECCP3DEL;
typedef union {
struct {
unsigned PDC0 : 1;
unsigned PDC1 : 1;
unsigned PDC2 : 1;
unsigned PDC3 : 1;
unsigned PDC4 : 1;
unsigned PDC5 : 1;
unsigned PDC6 : 1;
unsigned PRSEN : 1;
};
struct {
unsigned P3DC0 : 1;
unsigned P3DC1 : 1;
unsigned P3DC2 : 1;
unsigned P3DC3 : 1;
unsigned P3DC4 : 1;
unsigned P3DC5 : 1;
unsigned P3DC6 : 1;
unsigned P3RSEN : 1;
};
} __ECCP3DELbits_t;
extern volatile __ECCP3DELbits_t __at (0xF69) ECCP3DELbits;
extern __sfr __at (0xF6A) ECCP3AS;
typedef union {
struct {
unsigned PSSBD0 : 1;
unsigned PSSBD1 : 1;
unsigned PSSAC0 : 1;
unsigned PSSAC1 : 1;
unsigned ECCPAS0 : 1;
unsigned ECCPAS1 : 1;
unsigned ECCPAS2 : 1;
unsigned ECCPASE : 1;
};
struct {
unsigned PSS3BD0 : 1;
unsigned PSS3BD1 : 1;
unsigned PSS3AC0 : 1;
unsigned PSS3AC1 : 1;
unsigned ECCP3AS0 : 1;
unsigned ECCP3AS1 : 1;
unsigned ECCP3AS2 : 1;
unsigned ECCP3ASE : 1;
};
} __ECCP3ASbits_t;
extern volatile __ECCP3ASbits_t __at (0xF6A) ECCP3ASbits;
extern __sfr __at (0xF6B) RCSTA2;
typedef union {
struct {
unsigned RCD8 : 1;
unsigned OERR : 1;
unsigned FERR : 1;
unsigned ADDEN : 1;
unsigned CREN : 1;
unsigned SREN : 1;
unsigned RC9 : 1;
unsigned SPEN : 1;
};
struct {
unsigned RX9D : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_RC8 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RC8_9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RX9 : 1;
unsigned : 1;
};
} __RCSTA2bits_t;
extern volatile __RCSTA2bits_t __at (0xF6B) RCSTA2bits;
extern __sfr __at (0xF6C) TXSTA2;
typedef union {
struct {
unsigned TX9D : 1;
unsigned TRMT : 1;
unsigned BRGH : 1;
unsigned SENDB : 1;
unsigned SYNC : 1;
unsigned TXEN : 1;
unsigned TX9 : 1;
unsigned CSRC : 1;
};
struct {
unsigned TXD8 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TX8_9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_TX8 : 1;
unsigned : 1;
};
} __TXSTA2bits_t;
extern volatile __TXSTA2bits_t __at (0xF6C) TXSTA2bits;
extern __sfr __at (0xF6D) TXREG2;
extern __sfr __at (0xF6E) RCREG2;
extern __sfr __at (0xF6F) SPBRG2;
extern __sfr __at (0xF70) CCP5CON;
typedef union {
struct {
unsigned CCP5M0 : 1;
unsigned CCP5M1 : 1;
unsigned CCP5M2 : 1;
unsigned CCP5M3 : 1;
unsigned CCP5Y : 1;
unsigned CCP5X : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned DC5B0 : 1;
unsigned DC5B1 : 1;
unsigned : 1;
unsigned : 1;
};
} __CCP5CONbits_t;
extern volatile __CCP5CONbits_t __at (0xF70) CCP5CONbits;
extern __sfr __at (0xF71) CCPR5;
extern __sfr __at (0xF71) CCPR5L;
extern __sfr __at (0xF72) CCPR5H;
extern __sfr __at (0xF73) CCP4CON;
typedef union {
struct {
unsigned CCP4M0 : 1;
unsigned CCP4M1 : 1;
unsigned CCP4M2 : 1;
unsigned CCP4M3 : 1;
unsigned CCP4Y : 1;
unsigned CCP4X : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned DC4B0 : 1;
unsigned DC4B1 : 1;
unsigned : 1;
unsigned : 1;
};
} __CCP4CONbits_t;
extern volatile __CCP4CONbits_t __at (0xF73) CCP4CONbits;
extern __sfr __at (0xF74) CCPR4;
extern __sfr __at (0xF74) CCPR4L;
extern __sfr __at (0xF75) CCPR4H;
extern __sfr __at (0xF76) T4CON;
typedef union {
struct {
unsigned T4CKPS0 : 1;
unsigned T4CKPS1 : 1;
unsigned TMR4ON : 1;
unsigned T4OUTPS0 : 1;
unsigned T4OUTPS1 : 1;
unsigned T4OUTPS2 : 1;
unsigned T4OUTPS3 : 1;
unsigned : 1;
};
} __T4CONbits_t;
extern volatile __T4CONbits_t __at (0xF76) T4CONbits;
extern __sfr __at (0xF77) PR4;
extern __sfr __at (0xF78) TMR4;
extern __sfr __at (0xF79) ECCP1DEL;
typedef union {
struct {
unsigned PDC0 : 1;
unsigned PDC1 : 1;
unsigned PDC2 : 1;
unsigned PDC3 : 1;
unsigned PDC4 : 1;
unsigned PDC5 : 1;
unsigned PDC6 : 1;
unsigned PRSEN : 1;
};
struct {
unsigned P1DC0 : 1;
unsigned P1DC1 : 1;
unsigned P1DC2 : 1;
unsigned P1DC3 : 1;
unsigned P1DC4 : 1;
unsigned P1DC5 : 1;
unsigned P1DC6 : 1;
unsigned P1RSEN : 1;
};
} __ECCP1DELbits_t;
extern volatile __ECCP1DELbits_t __at (0xF79) ECCP1DELbits;
extern __sfr __at (0xF7A) ERDPT;
extern __sfr __at (0xF7A) ERDPTL;
extern __sfr __at (0xF7B) ERDPTH;
extern __sfr __at (0xF7C) BAUDCON2;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCON2bits_t;
extern volatile __BAUDCON2bits_t __at (0xF7C) BAUDCON2bits;
extern __sfr __at (0xF7C) BAUDCTL2;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCTL2bits_t;
extern volatile __BAUDCTL2bits_t __at (0xF7C) BAUDCTL2bits;
extern __sfr __at (0xF7D) SPBRGH2;
extern __sfr __at (0xF7E) BAUDCON;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCONbits_t;
extern volatile __BAUDCONbits_t __at (0xF7E) BAUDCONbits;
extern __sfr __at (0xF7E) BAUDCON1;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCON1bits_t;
extern volatile __BAUDCON1bits_t __at (0xF7E) BAUDCON1bits;
extern __sfr __at (0xF7E) BAUDCTL;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCTLbits_t;
extern volatile __BAUDCTLbits_t __at (0xF7E) BAUDCTLbits;
extern __sfr __at (0xF7E) BAUDCTL1;
typedef union {
struct {
unsigned ABDEN : 1;
unsigned WUE : 1;
unsigned : 1;
unsigned BRG16 : 1;
unsigned SCKP : 1;
unsigned RXDTP : 1;
unsigned RCMT : 1;
unsigned ABDOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TXCKP : 1;
unsigned : 1;
unsigned RCIDL : 1;
unsigned : 1;
};
} __BAUDCTL1bits_t;
extern volatile __BAUDCTL1bits_t __at (0xF7E) BAUDCTL1bits;
extern __sfr __at (0xF7F) SPBRGH;
extern __sfr __at (0xF7F) SPBRGH1;
extern __sfr __at (0xF80) PORTA;
typedef union {
struct {
unsigned RA0 : 1;
unsigned RA1 : 1;
unsigned RA2 : 1;
unsigned RA3 : 1;
unsigned RA4 : 1;
unsigned RA5 : 1;
unsigned : 1;
unsigned RJPU : 1;
};
struct {
unsigned AN0 : 1;
unsigned AN1 : 1;
unsigned AN2 : 1;
unsigned AN3 : 1;
unsigned T0CKI : 1;
unsigned AN4 : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned LEDA : 1;
unsigned LEDB : 1;
unsigned VREFM : 1;
unsigned VREFP : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __PORTAbits_t;
extern volatile __PORTAbits_t __at (0xF80) PORTAbits;
extern __sfr __at (0xF81) PORTB;
typedef union {
struct {
unsigned RB0 : 1;
unsigned RB1 : 1;
unsigned RB2 : 1;
unsigned RB3 : 1;
unsigned RB4 : 1;
unsigned RB5 : 1;
unsigned RB6 : 1;
unsigned RB7 : 1;
};
struct {
unsigned INT0 : 1;
unsigned INT1 : 1;
unsigned INT2 : 1;
unsigned INT3 : 1;
unsigned KBI0 : 1;
unsigned KBI1 : 1;
unsigned KBI2 : 1;
unsigned KBI3 : 1;
};
struct {
unsigned FLT0 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned PGC : 1;
unsigned PGD : 1;
};
} __PORTBbits_t;
extern volatile __PORTBbits_t __at (0xF81) PORTBbits;
extern __sfr __at (0xF82) PORTC;
typedef union {
struct {
unsigned RC0 : 1;
unsigned RC1 : 1;
unsigned RC2 : 1;
unsigned RC3 : 1;
unsigned RC4 : 1;
unsigned RC5 : 1;
unsigned RC6 : 1;
unsigned RC7 : 1;
};
struct {
unsigned T1OSO : 1;
unsigned T1OSI : 1;
unsigned CCP1 : 1;
unsigned SCK : 1;
unsigned SDI : 1;
unsigned SDO : 1;
unsigned TX : 1;
unsigned RX : 1;
};
struct {
unsigned T13CKI : 1;
unsigned CCP2 : 1;
unsigned : 1;
unsigned SCL : 1;
unsigned SDA : 1;
unsigned SDO1 : 1;
unsigned CK : 1;
unsigned DT : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SCK1 : 1;
unsigned SDI1 : 1;
unsigned : 1;
unsigned TX1 : 1;
unsigned RX1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SCL1 : 1;
unsigned SDA1 : 1;
unsigned : 1;
unsigned CK1 : 1;
unsigned DT1 : 1;
};
} __PORTCbits_t;
extern volatile __PORTCbits_t __at (0xF82) PORTCbits;
extern __sfr __at (0xF83) PORTD;
typedef union {
struct {
unsigned RD0 : 1;
unsigned RD1 : 1;
unsigned RD2 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __PORTDbits_t;
extern volatile __PORTDbits_t __at (0xF83) PORTDbits;
extern __sfr __at (0xF84) PORTE;
typedef union {
struct {
unsigned RE0 : 1;
unsigned RE1 : 1;
unsigned RE2 : 1;
unsigned RE3 : 1;
unsigned RE4 : 1;
unsigned RE5 : 1;
unsigned RE6 : 1;
unsigned RE7 : 1;
};
} __PORTEbits_t;
extern volatile __PORTEbits_t __at (0xF84) PORTEbits;
extern __sfr __at (0xF85) PORTF;
typedef union {
struct {
unsigned : 1;
unsigned RF1 : 1;
unsigned RF2 : 1;
unsigned RF3 : 1;
unsigned RF4 : 1;
unsigned RF5 : 1;
unsigned RF6 : 1;
unsigned RF7 : 1;
};
struct {
unsigned : 1;
unsigned AN6 : 1;
unsigned AN7 : 1;
unsigned AN8 : 1;
unsigned AN9 : 1;
unsigned AN10 : 1;
unsigned AN11 : 1;
unsigned SS : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CVREF : 1;
unsigned : 1;
unsigned NOT_SS : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SS1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_SS1 : 1;
};
} __PORTFbits_t;
extern volatile __PORTFbits_t __at (0xF85) PORTFbits;
extern __sfr __at (0xF86) PORTG;
typedef union {
struct {
unsigned RG0 : 1;
unsigned RG1 : 1;
unsigned RG2 : 1;
unsigned RG3 : 1;
unsigned RG4 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned CCP3 : 1;
unsigned TX2 : 1;
unsigned RX2 : 1;
unsigned CCP4 : 1;
unsigned CCP5 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned CK2 : 1;
unsigned DT2 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __PORTGbits_t;
extern volatile __PORTGbits_t __at (0xF86) PORTGbits;
extern __sfr __at (0xF87) PORTH;
typedef union {
struct {
unsigned RH0 : 1;
unsigned RH1 : 1;
unsigned RH2 : 1;
unsigned RH3 : 1;
unsigned RH4 : 1;
unsigned RH5 : 1;
unsigned RH6 : 1;
unsigned RH7 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned AN12 : 1;
unsigned AN13 : 1;
unsigned AN14 : 1;
unsigned AN15 : 1;
};
} __PORTHbits_t;
extern volatile __PORTHbits_t __at (0xF87) PORTHbits;
extern __sfr __at (0xF88) PORTJ;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RJ4 : 1;
unsigned RJ5 : 1;
unsigned : 1;
unsigned : 1;
};
} __PORTJbits_t;
extern volatile __PORTJbits_t __at (0xF88) PORTJbits;
extern __sfr __at (0xF89) LATA;
typedef union {
struct {
unsigned LATA0 : 1;
unsigned LATA1 : 1;
unsigned LATA2 : 1;
unsigned LATA3 : 1;
unsigned LATA4 : 1;
unsigned LATA5 : 1;
unsigned REPU : 1;
unsigned RDPU : 1;
};
} __LATAbits_t;
extern volatile __LATAbits_t __at (0xF89) LATAbits;
extern __sfr __at (0xF8A) LATB;
typedef union {
struct {
unsigned LATB0 : 1;
unsigned LATB1 : 1;
unsigned LATB2 : 1;
unsigned LATB3 : 1;
unsigned LATB4 : 1;
unsigned LATB5 : 1;
unsigned LATB6 : 1;
unsigned LATB7 : 1;
};
} __LATBbits_t;
extern volatile __LATBbits_t __at (0xF8A) LATBbits;
extern __sfr __at (0xF8B) LATC;
typedef union {
struct {
unsigned LATC0 : 1;
unsigned LATC1 : 1;
unsigned LATC2 : 1;
unsigned LATC3 : 1;
unsigned LATC4 : 1;
unsigned LATC5 : 1;
unsigned LATC6 : 1;
unsigned LATC7 : 1;
};
} __LATCbits_t;
extern volatile __LATCbits_t __at (0xF8B) LATCbits;
extern __sfr __at (0xF8C) LATD;
typedef union {
struct {
unsigned LATD0 : 1;
unsigned LATD1 : 1;
unsigned LATD2 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __LATDbits_t;
extern volatile __LATDbits_t __at (0xF8C) LATDbits;
extern __sfr __at (0xF8D) LATE;
typedef union {
struct {
unsigned LATE0 : 1;
unsigned LATE1 : 1;
unsigned LATE2 : 1;
unsigned LATE3 : 1;
unsigned LATE4 : 1;
unsigned LATE5 : 1;
unsigned LATE6 : 1;
unsigned LATE7 : 1;
};
} __LATEbits_t;
extern volatile __LATEbits_t __at (0xF8D) LATEbits;
extern __sfr __at (0xF8E) LATF;
typedef union {
struct {
unsigned : 1;
unsigned LATF1 : 1;
unsigned LATF2 : 1;
unsigned LATF3 : 1;
unsigned LATF4 : 1;
unsigned LATF5 : 1;
unsigned LATF6 : 1;
unsigned LATF7 : 1;
};
} __LATFbits_t;
extern volatile __LATFbits_t __at (0xF8E) LATFbits;
extern __sfr __at (0xF8F) LATG;
typedef union {
struct {
unsigned LATG0 : 1;
unsigned LATG1 : 1;
unsigned LATG2 : 1;
unsigned LATG3 : 1;
unsigned LATG4 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __LATGbits_t;
extern volatile __LATGbits_t __at (0xF8F) LATGbits;
extern __sfr __at (0xF90) LATH;
typedef union {
struct {
unsigned LATH0 : 1;
unsigned LATH1 : 1;
unsigned LATH2 : 1;
unsigned LATH3 : 1;
unsigned LATH4 : 1;
unsigned LATH5 : 1;
unsigned LATH6 : 1;
unsigned LATH7 : 1;
};
} __LATHbits_t;
extern volatile __LATHbits_t __at (0xF90) LATHbits;
extern __sfr __at (0xF91) LATJ;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned LATJ4 : 1;
unsigned LATJ5 : 1;
unsigned : 1;
unsigned : 1;
};
} __LATJbits_t;
extern volatile __LATJbits_t __at (0xF91) LATJbits;
extern __sfr __at (0xF92) DDRA;
typedef union {
struct {
unsigned RA0 : 1;
unsigned RA1 : 1;
unsigned RA2 : 1;
unsigned RA3 : 1;
unsigned RA4 : 1;
unsigned RA5 : 1;
unsigned : 1;
unsigned : 1;
};
} __DDRAbits_t;
extern volatile __DDRAbits_t __at (0xF92) DDRAbits;
extern __sfr __at (0xF92) TRISA;
typedef union {
struct {
unsigned TRISA0 : 1;
unsigned TRISA1 : 1;
unsigned TRISA2 : 1;
unsigned TRISA3 : 1;
unsigned TRISA4 : 1;
unsigned TRISA5 : 1;
unsigned : 1;
unsigned : 1;
};
} __TRISAbits_t;
extern volatile __TRISAbits_t __at (0xF92) TRISAbits;
extern __sfr __at (0xF93) DDRB;
typedef union {
struct {
unsigned RB0 : 1;
unsigned RB1 : 1;
unsigned RB2 : 1;
unsigned RB3 : 1;
unsigned RB4 : 1;
unsigned RB5 : 1;
unsigned RB6 : 1;
unsigned RB7 : 1;
};
} __DDRBbits_t;
extern volatile __DDRBbits_t __at (0xF93) DDRBbits;
extern __sfr __at (0xF93) TRISB;
typedef union {
struct {
unsigned TRISB0 : 1;
unsigned TRISB1 : 1;
unsigned TRISB2 : 1;
unsigned TRISB3 : 1;
unsigned TRISB4 : 1;
unsigned TRISB5 : 1;
unsigned TRISB6 : 1;
unsigned TRISB7 : 1;
};
} __TRISBbits_t;
extern volatile __TRISBbits_t __at (0xF93) TRISBbits;
extern __sfr __at (0xF94) DDRC;
typedef union {
struct {
unsigned RC0 : 1;
unsigned RC1 : 1;
unsigned RC2 : 1;
unsigned RC3 : 1;
unsigned RC4 : 1;
unsigned RC5 : 1;
unsigned RC6 : 1;
unsigned RC7 : 1;
};
} __DDRCbits_t;
extern volatile __DDRCbits_t __at (0xF94) DDRCbits;
extern __sfr __at (0xF94) TRISC;
typedef union {
struct {
unsigned TRISC0 : 1;
unsigned TRISC1 : 1;
unsigned TRISC2 : 1;
unsigned TRISC3 : 1;
unsigned TRISC4 : 1;
unsigned TRISC5 : 1;
unsigned TRISC6 : 1;
unsigned TRISC7 : 1;
};
} __TRISCbits_t;
extern volatile __TRISCbits_t __at (0xF94) TRISCbits;
extern __sfr __at (0xF95) DDRD;
typedef union {
struct {
unsigned RD0 : 1;
unsigned RD1 : 1;
unsigned RD2 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __DDRDbits_t;
extern volatile __DDRDbits_t __at (0xF95) DDRDbits;
extern __sfr __at (0xF95) TRISD;
typedef union {
struct {
unsigned TRISD0 : 1;
unsigned TRISD1 : 1;
unsigned TRISD2 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __TRISDbits_t;
extern volatile __TRISDbits_t __at (0xF95) TRISDbits;
extern __sfr __at (0xF96) DDRE;
typedef union {
struct {
unsigned RE0 : 1;
unsigned RE1 : 1;
unsigned RE2 : 1;
unsigned RE3 : 1;
unsigned RE4 : 1;
unsigned RE5 : 1;
unsigned RE6 : 1;
unsigned RE7 : 1;
};
} __DDREbits_t;
extern volatile __DDREbits_t __at (0xF96) DDREbits;
extern __sfr __at (0xF96) TRISE;
typedef union {
struct {
unsigned TRISE0 : 1;
unsigned TRISE1 : 1;
unsigned TRISE2 : 1;
unsigned TRISE3 : 1;
unsigned TRISE4 : 1;
unsigned TRISE5 : 1;
unsigned TRISE6 : 1;
unsigned TRISE7 : 1;
};
} __TRISEbits_t;
extern volatile __TRISEbits_t __at (0xF96) TRISEbits;
extern __sfr __at (0xF97) DDRF;
typedef union {
struct {
unsigned : 1;
unsigned RF1 : 1;
unsigned RF2 : 1;
unsigned RF3 : 1;
unsigned RF4 : 1;
unsigned RF5 : 1;
unsigned RF6 : 1;
unsigned RF7 : 1;
};
} __DDRFbits_t;
extern volatile __DDRFbits_t __at (0xF97) DDRFbits;
extern __sfr __at (0xF97) TRISF;
typedef union {
struct {
unsigned : 1;
unsigned TRISF1 : 1;
unsigned TRISF2 : 1;
unsigned TRISF3 : 1;
unsigned TRISF4 : 1;
unsigned TRISF5 : 1;
unsigned TRISF6 : 1;
unsigned TRISF7 : 1;
};
} __TRISFbits_t;
extern volatile __TRISFbits_t __at (0xF97) TRISFbits;
extern __sfr __at (0xF98) DDRG;
typedef union {
struct {
unsigned RG0 : 1;
unsigned RG1 : 1;
unsigned RG2 : 1;
unsigned RG3 : 1;
unsigned RG4 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __DDRGbits_t;
extern volatile __DDRGbits_t __at (0xF98) DDRGbits;
extern __sfr __at (0xF98) TRISG;
typedef union {
struct {
unsigned TRISG0 : 1;
unsigned TRISG1 : 1;
unsigned TRISG2 : 1;
unsigned TRISG3 : 1;
unsigned TRISG4 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __TRISGbits_t;
extern volatile __TRISGbits_t __at (0xF98) TRISGbits;
extern __sfr __at (0xF99) DDRH;
typedef union {
struct {
unsigned RH0 : 1;
unsigned RH1 : 1;
unsigned RH2 : 1;
unsigned RH3 : 1;
unsigned RH4 : 1;
unsigned RH5 : 1;
unsigned RH6 : 1;
unsigned RH7 : 1;
};
} __DDRHbits_t;
extern volatile __DDRHbits_t __at (0xF99) DDRHbits;
extern __sfr __at (0xF99) TRISH;
typedef union {
struct {
unsigned TRISH0 : 1;
unsigned TRISH1 : 1;
unsigned TRISH2 : 1;
unsigned TRISH3 : 1;
unsigned TRISH4 : 1;
unsigned TRISH5 : 1;
unsigned TRISH6 : 1;
unsigned TRISH7 : 1;
};
} __TRISHbits_t;
extern volatile __TRISHbits_t __at (0xF99) TRISHbits;
extern __sfr __at (0xF9A) DDRJ;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RJ4 : 1;
unsigned RJ5 : 1;
unsigned : 1;
unsigned : 1;
};
} __DDRJbits_t;
extern volatile __DDRJbits_t __at (0xF9A) DDRJbits;
extern __sfr __at (0xF9A) TRISJ;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TRISJ4 : 1;
unsigned TRISJ5 : 1;
unsigned : 1;
unsigned : 1;
};
} __TRISJbits_t;
extern volatile __TRISJbits_t __at (0xF9A) TRISJbits;
extern __sfr __at (0xF9B) OSCTUNE;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned PPRE : 1;
unsigned PPST0 : 1;
unsigned PLLEN : 1;
unsigned PPST1 : 1;
};
} __OSCTUNEbits_t;
extern volatile __OSCTUNEbits_t __at (0xF9B) OSCTUNEbits;
extern __sfr __at (0xF9D) PIE1;
typedef union {
struct {
unsigned TMR1IE : 1;
unsigned TMR2IE : 1;
unsigned CCP1IE : 1;
unsigned SSPIE : 1;
unsigned TXIE_PIE1 : 1;
unsigned RCIE : 1;
unsigned ADIE : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SSP1IE : 1;
unsigned TX1IE : 1;
unsigned RC1IE : 1;
unsigned : 1;
unsigned : 1;
};
} __PIE1bits_t;
extern volatile __PIE1bits_t __at (0xF9D) PIE1bits;
extern __sfr __at (0xF9E) PIR1;
typedef union {
struct {
unsigned TMR1IF : 1;
unsigned TMR2IF : 1;
unsigned CCP1IF : 1;
unsigned SSPIF : 1;
unsigned TXIF_PIR1 : 1;
unsigned RCIF : 1;
unsigned ADIF : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SSP1IF : 1;
unsigned TX1IF : 1;
unsigned RC1IF : 1;
unsigned : 1;
unsigned : 1;
};
} __PIR1bits_t;
extern volatile __PIR1bits_t __at (0xF9E) PIR1bits;
extern __sfr __at (0xF9F) IPR1;
typedef union {
struct {
unsigned TMR1IP : 1;
unsigned TMR2IP : 1;
unsigned CCP1IP : 1;
unsigned SSPIP : 1;
unsigned TXIP : 1;
unsigned RCIP : 1;
unsigned ADIP : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned SSP1IP : 1;
unsigned TX1IP : 1;
unsigned RC1IP : 1;
unsigned : 1;
unsigned : 1;
};
} __IPR1bits_t;
extern volatile __IPR1bits_t __at (0xF9F) IPR1bits;
extern __sfr __at (0xFA0) PIE2;
typedef union {
struct {
unsigned CCP2IE : 1;
unsigned TMR3IE : 1;
unsigned : 1;
unsigned BCLIE : 1;
unsigned ETHWIE : 1;
unsigned ETHIE : 1;
unsigned CMIE : 1;
unsigned OSCFIE : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned BCL1IE : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __PIE2bits_t;
extern volatile __PIE2bits_t __at (0xFA0) PIE2bits;
extern __sfr __at (0xFA1) PIR2;
typedef union {
struct {
unsigned CCP2IF : 1;
unsigned TMR3IF : 1;
unsigned : 1;
unsigned BCLIF : 1;
unsigned ETHWIF : 1;
unsigned ETHIF : 1;
unsigned CMIF : 1;
unsigned OSCFIF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned BCL1IF : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __PIR2bits_t;
extern volatile __PIR2bits_t __at (0xFA1) PIR2bits;
extern __sfr __at (0xFA2) IPR2;
typedef union {
struct {
unsigned CCP2IP : 1;
unsigned TMR3IP : 1;
unsigned : 1;
unsigned BCLIP : 1;
unsigned ETHWIP : 1;
unsigned ETHIP : 1;
unsigned CMIP : 1;
unsigned OSCFIP : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned BCL1IP : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __IPR2bits_t;
extern volatile __IPR2bits_t __at (0xFA2) IPR2bits;
extern __sfr __at (0xFA3) PIE3;
typedef union {
struct {
unsigned CCP3IE : 1;
unsigned CCP4IE : 1;
unsigned CCP5IE : 1;
unsigned TMR4IE : 1;
unsigned TX2IE : 1;
unsigned RC2IE : 1;
unsigned BCL2IE : 1;
unsigned : 1;
};
} __PIE3bits_t;
extern volatile __PIE3bits_t __at (0xFA3) PIE3bits;
extern __sfr __at (0xFA4) PIR3;
typedef union {
struct {
unsigned CCP3IF : 1;
unsigned CCP4IF : 1;
unsigned CCP5IF : 1;
unsigned TMR4IF : 1;
unsigned TX2IF : 1;
unsigned RC2IF : 1;
unsigned BCL2IF : 1;
unsigned : 1;
};
} __PIR3bits_t;
extern volatile __PIR3bits_t __at (0xFA4) PIR3bits;
extern __sfr __at (0xFA5) IPR3;
typedef union {
struct {
unsigned CCP3IP : 1;
unsigned CCP4IP : 1;
unsigned CCP5IP : 1;
unsigned TMR4IP : 1;
unsigned TX2IP : 1;
unsigned RC2IP : 1;
unsigned BCL2IP : 1;
unsigned : 1;
};
} __IPR3bits_t;
extern volatile __IPR3bits_t __at (0xFA5) IPR3bits;
extern __sfr __at (0xFA6) EECON1;
typedef union {
struct {
unsigned : 1;
unsigned WR : 1;
unsigned WREN : 1;
unsigned WRERR : 1;
unsigned FREE : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __EECON1bits_t;
extern volatile __EECON1bits_t __at (0xFA6) EECON1bits;
extern __sfr __at (0xFA7) EECON2;
extern __sfr __at (0xFAB) RCSTA;
typedef union {
struct {
unsigned RX9D : 1;
unsigned OERR : 1;
unsigned FERR : 1;
unsigned ADDEN : 1;
unsigned CREN : 1;
unsigned SREN : 1;
unsigned RX9 : 1;
unsigned SPEN : 1;
};
struct {
unsigned RCD8 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RC9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_RC8 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RC8_9 : 1;
unsigned : 1;
};
} __RCSTAbits_t;
extern volatile __RCSTAbits_t __at (0xFAB) RCSTAbits;
extern __sfr __at (0xFAB) RCSTA1;
typedef union {
struct {
unsigned RX9D : 1;
unsigned OERR : 1;
unsigned FERR : 1;
unsigned ADDEN : 1;
unsigned CREN : 1;
unsigned SREN : 1;
unsigned RX9 : 1;
unsigned SPEN : 1;
};
struct {
unsigned RCD8 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RC9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_RC8 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RC8_9 : 1;
unsigned : 1;
};
} __RCSTA1bits_t;
extern volatile __RCSTA1bits_t __at (0xFAB) RCSTA1bits;
extern __sfr __at (0xFAC) TXSTA;
typedef union {
struct {
unsigned TX9D : 1;
unsigned TRMT : 1;
unsigned BRGH : 1;
unsigned SENDB : 1;
unsigned SYNC : 1;
unsigned TXEN : 1;
unsigned TX9 : 1;
unsigned CSRC : 1;
};
struct {
unsigned TXD8 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TX8_9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_TX8 : 1;
unsigned : 1;
};
} __TXSTAbits_t;
extern volatile __TXSTAbits_t __at (0xFAC) TXSTAbits;
extern __sfr __at (0xFAC) TXSTA1;
typedef union {
struct {
unsigned TX9D : 1;
unsigned TRMT : 1;
unsigned BRGH : 1;
unsigned SENDB : 1;
unsigned SYNC : 1;
unsigned TXEN : 1;
unsigned TX9 : 1;
unsigned CSRC : 1;
};
struct {
unsigned TXD8 : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned TX8_9 : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_TX8 : 1;
unsigned : 1;
};
} __TXSTA1bits_t;
extern volatile __TXSTA1bits_t __at (0xFAC) TXSTA1bits;
extern __sfr __at (0xFAD) TXREG;
extern __sfr __at (0xFAD) TXREG1;
extern __sfr __at (0xFAE) RCREG;
extern __sfr __at (0xFAE) RCREG1;
extern __sfr __at (0xFAF) SPBRG;
extern __sfr __at (0xFAF) SPBRG1;
extern __sfr __at (0xFB1) T3CON;
typedef union {
struct {
unsigned TMR3ON : 1;
unsigned TMR3CS : 1;
unsigned T3SYNC : 1;
unsigned T3CCP1 : 1;
unsigned T3CKPS0 : 1;
unsigned T3CKPS1 : 1;
unsigned T3CCP2 : 1;
unsigned RD16 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned T3INSYNC : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_T3SYNC : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __T3CONbits_t;
extern volatile __T3CONbits_t __at (0xFB1) T3CONbits;
extern __sfr __at (0xFB2) TMR3L;
extern __sfr __at (0xFB3) TMR3H;
extern __sfr __at (0xFB4) CMCON;
typedef union {
struct {
unsigned CM0 : 1;
unsigned CM1 : 1;
unsigned CM2 : 1;
unsigned CIS : 1;
unsigned C1INV : 1;
unsigned C2INV : 1;
unsigned C1OUT : 1;
unsigned C2OUT : 1;
};
} __CMCONbits_t;
extern volatile __CMCONbits_t __at (0xFB4) CMCONbits;
extern __sfr __at (0xFB5) CVRCON;
typedef union {
struct {
unsigned CVR0 : 1;
unsigned CVR1 : 1;
unsigned CVR2 : 1;
unsigned CVR3 : 1;
unsigned CVRSS : 1;
unsigned CVRR : 1;
unsigned CVROE : 1;
unsigned CVREN : 1;
};
} __CVRCONbits_t;
extern volatile __CVRCONbits_t __at (0xFB5) CVRCONbits;
extern __sfr __at (0xFB6) ECCP1AS;
typedef union {
struct {
unsigned PSSBD0 : 1;
unsigned PSSBD1 : 1;
unsigned PSSAC0 : 1;
unsigned PSSAC1 : 1;
unsigned ECCPAS0 : 1;
unsigned ECCPAS1 : 1;
unsigned ECCPAS2 : 1;
unsigned ECCPASE : 1;
};
struct {
unsigned PSS1BD0 : 1;
unsigned PSS1BD1 : 1;
unsigned PSS1AC0 : 1;
unsigned PSS1AC1 : 1;
unsigned ECCP1AS0 : 1;
unsigned ECCP1AS1 : 1;
unsigned ECCP1AS2 : 1;
unsigned ECCP1ASE : 1;
};
} __ECCP1ASbits_t;
extern volatile __ECCP1ASbits_t __at (0xFB6) ECCP1ASbits;
extern __sfr __at (0xFB7) CCP3CON;
typedef union {
struct {
unsigned CCP3M0 : 1;
unsigned CCP3M1 : 1;
unsigned CCP3M2 : 1;
unsigned CCP3M3 : 1;
unsigned DC3B0 : 1;
unsigned DC3B1 : 1;
unsigned P3M0 : 1;
unsigned P3M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP3Y : 1;
unsigned CCP3X : 1;
unsigned : 1;
unsigned : 1;
};
} __CCP3CONbits_t;
extern volatile __CCP3CONbits_t __at (0xFB7) CCP3CONbits;
extern __sfr __at (0xFB7) ECCP3CON;
typedef union {
struct {
unsigned CCP3M0 : 1;
unsigned CCP3M1 : 1;
unsigned CCP3M2 : 1;
unsigned CCP3M3 : 1;
unsigned DC3B0 : 1;
unsigned DC3B1 : 1;
unsigned P3M0 : 1;
unsigned P3M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP3Y : 1;
unsigned CCP3X : 1;
unsigned : 1;
unsigned : 1;
};
} __ECCP3CONbits_t;
extern volatile __ECCP3CONbits_t __at (0xFB7) ECCP3CONbits;
extern __sfr __at (0xFB8) CCPR3;
extern __sfr __at (0xFB8) CCPR3L;
extern __sfr __at (0xFB9) CCPR3H;
extern __sfr __at (0xFBA) CCP2CON;
typedef union {
struct {
unsigned CCP2M0 : 1;
unsigned CCP2M1 : 1;
unsigned CCP2M2 : 1;
unsigned CCP2M3 : 1;
unsigned DC2B0 : 1;
unsigned DC2B1 : 1;
unsigned P2M0 : 1;
unsigned P2M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP2Y : 1;
unsigned CCP2X : 1;
unsigned : 1;
unsigned : 1;
};
} __CCP2CONbits_t;
extern volatile __CCP2CONbits_t __at (0xFBA) CCP2CONbits;
extern __sfr __at (0xFBA) ECCP2CON;
typedef union {
struct {
unsigned CCP2M0 : 1;
unsigned CCP2M1 : 1;
unsigned CCP2M2 : 1;
unsigned CCP2M3 : 1;
unsigned DC2B0 : 1;
unsigned DC2B1 : 1;
unsigned P2M0 : 1;
unsigned P2M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP2Y : 1;
unsigned CCP2X : 1;
unsigned : 1;
unsigned : 1;
};
} __ECCP2CONbits_t;
extern volatile __ECCP2CONbits_t __at (0xFBA) ECCP2CONbits;
extern __sfr __at (0xFBB) CCPR2;
extern __sfr __at (0xFBB) CCPR2L;
extern __sfr __at (0xFBC) CCPR2H;
extern __sfr __at (0xFBD) CCP1CON;
typedef union {
struct {
unsigned CCP1M0 : 1;
unsigned CCP1M1 : 1;
unsigned CCP1M2 : 1;
unsigned CCP1M3 : 1;
unsigned DC1B0 : 1;
unsigned DC1B1 : 1;
unsigned P1M0 : 1;
unsigned P1M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP1Y : 1;
unsigned CCP1X : 1;
unsigned : 1;
unsigned : 1;
};
} __CCP1CONbits_t;
extern volatile __CCP1CONbits_t __at (0xFBD) CCP1CONbits;
extern __sfr __at (0xFBD) ECCP1CON;
typedef union {
struct {
unsigned CCP1M0 : 1;
unsigned CCP1M1 : 1;
unsigned CCP1M2 : 1;
unsigned CCP1M3 : 1;
unsigned DC1B0 : 1;
unsigned DC1B1 : 1;
unsigned P1M0 : 1;
unsigned P1M1 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned CCP1Y : 1;
unsigned CCP1X : 1;
unsigned : 1;
unsigned : 1;
};
} __ECCP1CONbits_t;
extern volatile __ECCP1CONbits_t __at (0xFBD) ECCP1CONbits;
extern __sfr __at (0xFBE) CCPR1;
extern __sfr __at (0xFBE) CCPR1L;
extern __sfr __at (0xFBF) CCPR1H;
extern __sfr __at (0xFC0) ADCON2;
typedef union {
struct {
unsigned ADCS0 : 1;
unsigned ADCS1 : 1;
unsigned ADCS2 : 1;
unsigned ACQT0 : 1;
unsigned ACQT1 : 1;
unsigned ACQT2 : 1;
unsigned : 1;
unsigned ADFM : 1;
};
} __ADCON2bits_t;
extern volatile __ADCON2bits_t __at (0xFC0) ADCON2bits;
extern __sfr __at (0xFC1) ADCON1;
typedef union {
struct {
unsigned PCFG0 : 1;
unsigned PCFG1 : 1;
unsigned PCFG2 : 1;
unsigned PCFG3 : 1;
unsigned VCFG0 : 1;
unsigned VCFG1 : 1;
unsigned : 1;
unsigned : 1;
};
} __ADCON1bits_t;
extern volatile __ADCON1bits_t __at (0xFC1) ADCON1bits;
extern __sfr __at (0xFC2) ADCON0;
typedef union {
struct {
unsigned ADON : 1;
unsigned DONE : 1;
unsigned CHS0 : 1;
unsigned CHS1 : 1;
unsigned CHS2 : 1;
unsigned CHS3 : 1;
unsigned : 1;
unsigned ADCAL : 1;
};
struct {
unsigned : 1;
unsigned GO_DONE : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned GO : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned NOT_DONE : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __ADCON0bits_t;
extern volatile __ADCON0bits_t __at (0xFC2) ADCON0bits;
extern __sfr __at (0xFC3) ADRES;
extern __sfr __at (0xFC3) ADRESL;
extern __sfr __at (0xFC4) ADRESH;
extern __sfr __at (0xFC5) SSP1CON2;
typedef union {
struct {
unsigned SEN : 1;
unsigned RSEN : 1;
unsigned PEN : 1;
unsigned RCEN : 1;
unsigned ACKEN : 1;
unsigned ACKDT : 1;
unsigned ACKSTAT : 1;
unsigned GCEN : 1;
};
struct {
unsigned : 1;
unsigned ADMSK1 : 1;
unsigned ADMSK2 : 1;
unsigned ADMSK3 : 1;
unsigned ADMSK4 : 1;
unsigned ADMSK5 : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned ADMSK : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __SSP1CON2bits_t;
extern volatile __SSP1CON2bits_t __at (0xFC5) SSP1CON2bits;
extern __sfr __at (0xFC5) SSPCON2;
typedef union {
struct {
unsigned SEN : 1;
unsigned RSEN : 1;
unsigned PEN : 1;
unsigned RCEN : 1;
unsigned ACKEN : 1;
unsigned ACKDT : 1;
unsigned ACKSTAT : 1;
unsigned GCEN : 1;
};
struct {
unsigned : 1;
unsigned ADMSK1 : 1;
unsigned ADMSK2 : 1;
unsigned ADMSK3 : 1;
unsigned ADMSK4 : 1;
unsigned ADMSK5 : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned ADMSK : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __SSPCON2bits_t;
extern volatile __SSPCON2bits_t __at (0xFC5) SSPCON2bits;
extern __sfr __at (0xFC6) SSP1CON1;
typedef union {
struct {
unsigned SSPM0 : 1;
unsigned SSPM1 : 1;
unsigned SSPM2 : 1;
unsigned SSPM3 : 1;
unsigned CKP : 1;
unsigned SSPEN : 1;
unsigned SSPOV : 1;
unsigned WCOL : 1;
};
} __SSP1CON1bits_t;
extern volatile __SSP1CON1bits_t __at (0xFC6) SSP1CON1bits;
extern __sfr __at (0xFC6) SSPCON1;
typedef union {
struct {
unsigned SSPM0 : 1;
unsigned SSPM1 : 1;
unsigned SSPM2 : 1;
unsigned SSPM3 : 1;
unsigned CKP : 1;
unsigned SSPEN : 1;
unsigned SSPOV : 1;
unsigned WCOL : 1;
};
} __SSPCON1bits_t;
extern volatile __SSPCON1bits_t __at (0xFC6) SSPCON1bits;
extern __sfr __at (0xFC7) SSP1STAT;
typedef union {
struct {
unsigned BF : 1;
unsigned UA : 1;
unsigned R_W : 1;
unsigned S : 1;
unsigned P : 1;
unsigned D_A : 1;
unsigned CKE : 1;
unsigned SMP : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned I2C_READ : 1;
unsigned I2C_START : 1;
unsigned I2C_STOP : 1;
unsigned I2C_DAT : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_W : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_A : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_WRITE : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_ADDRESS : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned READ_WRITE : 1;
unsigned : 1;
unsigned : 1;
unsigned DATA_ADDRESS : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned R : 1;
unsigned : 1;
unsigned : 1;
unsigned D : 1;
unsigned : 1;
unsigned : 1;
};
} __SSP1STATbits_t;
extern volatile __SSP1STATbits_t __at (0xFC7) SSP1STATbits;
extern __sfr __at (0xFC7) SSPSTAT;
typedef union {
struct {
unsigned BF : 1;
unsigned UA : 1;
unsigned R_W : 1;
unsigned S : 1;
unsigned P : 1;
unsigned D_A : 1;
unsigned CKE : 1;
unsigned SMP : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned I2C_READ : 1;
unsigned I2C_START : 1;
unsigned I2C_STOP : 1;
unsigned I2C_DAT : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_W : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_A : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_WRITE : 1;
unsigned : 1;
unsigned : 1;
unsigned NOT_ADDRESS : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned READ_WRITE : 1;
unsigned : 1;
unsigned : 1;
unsigned DATA_ADDRESS : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned R : 1;
unsigned : 1;
unsigned : 1;
unsigned D : 1;
unsigned : 1;
unsigned : 1;
};
} __SSPSTATbits_t;
extern volatile __SSPSTATbits_t __at (0xFC7) SSPSTATbits;
extern __sfr __at (0xFC8) SSP1ADD;
extern __sfr __at (0xFC8) SSPADD;
extern __sfr __at (0xFC9) SSP1BUF;
extern __sfr __at (0xFC9) SSPBUF;
extern __sfr __at (0xFCA) T2CON;
typedef union {
struct {
unsigned T2CKPS0 : 1;
unsigned T2CKPS1 : 1;
unsigned TMR2ON : 1;
unsigned T2OUTPS0 : 1;
unsigned T2OUTPS1 : 1;
unsigned T2OUTPS2 : 1;
unsigned T2OUTPS3 : 1;
unsigned : 1;
};
} __T2CONbits_t;
extern volatile __T2CONbits_t __at (0xFCA) T2CONbits;
extern __sfr __at (0xFCB) PR2;
extern __sfr __at (0xFCC) TMR2;
extern __sfr __at (0xFCD) T1CON;
typedef union {
struct {
unsigned TMR1ON : 1;
unsigned TMR1CS : 1;
unsigned T1SYNC : 1;
unsigned T1OSCEN : 1;
unsigned T1CKPS0 : 1;
unsigned T1CKPS1 : 1;
unsigned T1RUN : 1;
unsigned RD16 : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned T1INSYNC : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned NOT_T1SYNC : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __T1CONbits_t;
extern volatile __T1CONbits_t __at (0xFCD) T1CONbits;
extern __sfr __at (0xFCE) TMR1L;
extern __sfr __at (0xFCF) TMR1H;
extern __sfr __at (0xFD0) RCON;
typedef union {
struct {
unsigned NOT_BOR : 1;
unsigned NOT_POR : 1;
unsigned NOT_PD : 1;
unsigned NOT_TO : 1;
unsigned NOT_RI : 1;
unsigned : 1;
unsigned : 1;
unsigned IPEN : 1;
};
struct {
unsigned BOR : 1;
unsigned POR : 1;
unsigned PD : 1;
unsigned TO : 1;
unsigned RI : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __RCONbits_t;
extern volatile __RCONbits_t __at (0xFD0) RCONbits;
extern __sfr __at (0xFD1) WDTCON;
typedef union {
struct {
unsigned SWDTE : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
struct {
unsigned SWDTEN : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __WDTCONbits_t;
extern volatile __WDTCONbits_t __at (0xFD1) WDTCONbits;
extern __sfr __at (0xFD2) ECON1;
typedef union {
struct {
unsigned : 1;
unsigned : 1;
unsigned RXEN : 1;
unsigned TXRTS : 1;
unsigned CSUMEN : 1;
unsigned DMAST : 1;
unsigned RXRST : 1;
unsigned TXRST : 1;
};
} __ECON1bits_t;
extern volatile __ECON1bits_t __at (0xFD2) ECON1bits;
extern __sfr __at (0xFD3) OSCCON;
typedef union {
struct {
unsigned SCS0 : 1;
unsigned SCS1 : 1;
unsigned : 1;
unsigned OSTS : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned IDLEN : 1;
};
} __OSCCONbits_t;
extern volatile __OSCCONbits_t __at (0xFD3) OSCCONbits;
extern __sfr __at (0xFD5) T0CON;
typedef union {
struct {
unsigned T0PS0 : 1;
unsigned T0PS1 : 1;
unsigned T0PS2 : 1;
unsigned PSA : 1;
unsigned T0SE : 1;
unsigned T0CS : 1;
unsigned T08BIT : 1;
unsigned TMR0ON : 1;
};
} __T0CONbits_t;
extern volatile __T0CONbits_t __at (0xFD5) T0CONbits;
extern __sfr __at (0xFD6) TMR0L;
extern __sfr __at (0xFD7) TMR0H;
extern __sfr __at (0xFD8) STATUS;
typedef union {
struct {
unsigned C : 1;
unsigned DC : 1;
unsigned Z : 1;
unsigned OV : 1;
unsigned N : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
};
} __STATUSbits_t;
extern volatile __STATUSbits_t __at (0xFD8) STATUSbits;
extern __sfr __at (0xFD9) FSR2L;
extern __sfr __at (0xFDA) FSR2H;
extern __sfr __at (0xFDB) PLUSW2;
extern __sfr __at (0xFDC) PREINC2;
extern __sfr __at (0xFDD) POSTDEC2;
extern __sfr __at (0xFDE) POSTINC2;
extern __sfr __at (0xFDF) INDF2;
extern __sfr __at (0xFE0) BSR;
extern __sfr __at (0xFE1) FSR1L;
extern __sfr __at (0xFE2) FSR1H;
extern __sfr __at (0xFE3) PLUSW1;
extern __sfr __at (0xFE4) PREINC1;
extern __sfr __at (0xFE5) POSTDEC1;
extern __sfr __at (0xFE6) POSTINC1;
extern __sfr __at (0xFE7) INDF1;
extern __sfr __at (0xFE8) WREG;
extern __sfr __at (0xFE9) FSR0L;
extern __sfr __at (0xFEA) FSR0H;
extern __sfr __at (0xFEB) PLUSW0;
extern __sfr __at (0xFEC) PREINC0;
extern __sfr __at (0xFED) POSTDEC0;
extern __sfr __at (0xFEE) POSTINC0;
extern __sfr __at (0xFEF) INDF0;
extern __sfr __at (0xFF0) INTCON3;
typedef union {
struct {
unsigned INT1F : 1;
unsigned INT2F : 1;
unsigned INT3F : 1;
unsigned INT1E : 1;
unsigned INT2E : 1;
unsigned INT3E : 1;
unsigned INT1P : 1;
unsigned INT2P : 1;
};
struct {
unsigned INT1IF : 1;
unsigned INT2IF : 1;
unsigned INT3IF : 1;
unsigned INT1IE : 1;
unsigned INT2IE : 1;
unsigned INT3IE : 1;
unsigned INT1IP : 1;
unsigned INT2IP : 1;
};
} __INTCON3bits_t;
extern volatile __INTCON3bits_t __at (0xFF0) INTCON3bits;
extern __sfr __at (0xFF1) INTCON2;
typedef union {
struct {
unsigned RBIP : 1;
unsigned INT3IP : 1;
unsigned T0IP : 1;
unsigned INTEDG3 : 1;
unsigned INTEDG2 : 1;
unsigned INTEDG1 : 1;
unsigned INTEDG0 : 1;
unsigned NOT_RBPU : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned TMR0IP : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned RBPU : 1;
};
} __INTCON2bits_t;
extern volatile __INTCON2bits_t __at (0xFF1) INTCON2bits;
extern __sfr __at (0xFF2) INTCON;
typedef union {
struct {
unsigned RBIF : 1;
unsigned INT0F : 1;
unsigned T0IF : 1;
unsigned RBIE : 1;
unsigned INT0E : 1;
unsigned T0IE : 1;
unsigned PEIE : 1;
unsigned GIE : 1;
};
struct {
unsigned : 1;
unsigned INT0IF : 1;
unsigned TMR0IF : 1;
unsigned : 1;
unsigned INT0IE : 1;
unsigned TMR0IE : 1;
unsigned GIEL : 1;
unsigned GIEH : 1;
};
} __INTCONbits_t;
extern volatile __INTCONbits_t __at (0xFF2) INTCONbits;
extern __sfr __at (0xFF3) PROD;
extern __sfr __at (0xFF3) PRODL;
extern __sfr __at (0xFF4) PRODH;
extern __sfr __at (0xFF5) TABLAT;
extern __sfr __at (0xFF6) TBLPTR;
extern __sfr __at (0xFF6) TBLPTRL;
extern __sfr __at (0xFF7) TBLPTRH;
extern __sfr __at (0xFF8) TBLPTRU;
extern __sfr __at (0xFF9) PC;
extern __sfr __at (0xFF9) PCL;
extern __sfr __at (0xFFA) PCLATH;
extern __sfr __at (0xFFB) PCLATU;
extern __sfr __at (0xFFC) STKPTR;
typedef union {
struct {
unsigned STKPTR0 : 1;
unsigned STKPTR1 : 1;
unsigned STKPTR2 : 1;
unsigned STKPTR3 : 1;
unsigned STKPTR4 : 1;
unsigned : 1;
unsigned STKUNF : 1;
unsigned STKOVF : 1;
};
struct {
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned : 1;
unsigned STKFUL : 1;
};
} __STKPTRbits_t;
extern volatile __STKPTRbits_t __at (0xFFC) STKPTRbits;
extern __sfr __at (0xFFD) TOS;
extern __sfr __at (0xFFD) TOSL;
extern __sfr __at (0xFFE) TOSH;
extern __sfr __at (0xFFF) TOSU;
#endif
|