Changeset 154 for uKadecot/trunk/ssp/arch/rx630_ccrx/rx630.h
- Timestamp:
- Feb 2, 2016, 9:54:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/ssp/arch/rx630_ccrx/rx630.h
r108 r154 1475 1475 #define PORT_PCR_B6_BIT ( 0x01U << 6U ) 1476 1476 #define PORT_PCR_B7_BIT ( 0x01U << 7U ) 1477 #define PORT0_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C080 ) 1478 #define PORT1_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C082 ) 1479 #define PORT2_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C084 ) 1480 #define PORT3_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C086 ) 1481 #define PORT4_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C088 ) 1482 #define PORT5_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08A ) 1483 #define PORT6_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08C ) 1484 #define PORT7_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08E ) 1485 #define PORT8_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C090 ) 1486 #define PORT9_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C092 ) 1487 #define PORTA_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C094 ) 1488 #define PORTB_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C096 ) 1489 #define PORTC_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C098 ) 1490 #define PORTD_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09A ) 1491 #define PORTE_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09C ) 1492 #define PORTF_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09E ) 1493 #define PORTG_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C0A0 ) 1494 #define PORTJ_ODR0_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C0A4 ) 1495 #define PORT0_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C081 ) 1496 #define PORT1_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C083 ) 1497 #define PORT2_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C085 ) 1498 #define PORT3_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C087 ) 1499 #define PORT4_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C089 ) 1500 #define PORT5_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08B ) 1501 #define PORT6_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08D ) 1502 #define PORT7_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C08F ) 1503 #define PORT8_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C091 ) 1504 #define PORT9_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C093 ) 1505 #define PORTA_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C095 ) 1506 #define PORTB_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C097 ) 1507 #define PORTC_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C099 ) 1508 #define PORTD_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09B ) 1509 #define PORTE_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09D ) 1510 #define PORTF_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C09F ) 1511 #define PORTG_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C0A1 ) 1512 #define PORTJ_ODR1_ADDR ( ( volatile uint8_t __evenaccess * )0x0008C0A5 ) 1477 1513 1478 1514 /* … … 1767 1803 1768 1804 /* 1805 * RSPI 1806 */ 1807 #define RSPI0_SPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x00088380 ) 1808 #define RSPI1_SPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A0 ) 1809 #define RSPI2_SPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C0 ) 1810 #define RSPI_SPCR_SPMS_BIT ( 0x01U << 0U ) 1811 #define RSPI_SPCR_TXMD_BIT ( 0x01U << 1U ) 1812 #define RSPI_SPCR_MODFEN_BIT ( 0x01U << 2U ) 1813 #define RSPI_SPCR_MSTR_BIT ( 0x01U << 3U ) 1814 #define RSPI_SPCR_SPEIE_BIT ( 0x01U << 4U ) 1815 #define RSPI_SPCR_SPTIE_BIT ( 0x01U << 5U ) 1816 #define RSPI_SPCR_SPE_BIT ( 0x01U << 6U ) 1817 #define RSPI_SPCR_SPRIE_BIT ( 0x01U << 7U ) 1818 1819 #define RSPI0_SSLP_ADDR ( ( volatile uint8_t __evenaccess * )0x00088381 ) 1820 #define RSPI1_SSLP_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A1 ) 1821 #define RSPI2_SSLP_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C1 ) 1822 1823 #define RSPI0_SPPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x00088382 ) 1824 #define RSPI1_SPPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A2 ) 1825 #define RSPI2_SPPCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C2 ) 1826 1827 #define RSPI0_SPSR_ADDR ( ( volatile uint8_t __evenaccess * )0x00088383 ) 1828 #define RSPI1_SPSR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A3 ) 1829 #define RSPI2_SPSR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C3 ) 1830 1831 #define RSPI0_SPDR_ADDR ( ( volatile uint32_t __evenaccess * )0x00088384 ) 1832 #define RSPI1_SPDR_ADDR ( ( volatile uint32_t __evenaccess * )0x000883A4 ) 1833 #define RSPI2_SPDR_ADDR ( ( volatile uint32_t __evenaccess * )0x000883C4 ) 1834 1835 #define RSPI0_SPSCR_ADDR ( ( volatile uint8_t __evenaccess * )0x00088388 ) 1836 #define RSPI1_SPSCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A8 ) 1837 #define RSPI2_SPSCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C8 ) 1838 1839 #define RSPI0_SPSSR_ADDR ( ( volatile uint8_t __evenaccess * )0x00088389 ) 1840 #define RSPI1_SPSSR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883A9 ) 1841 #define RSPI2_SPSSR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883C9 ) 1842 1843 #define RSPI0_SPBR_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838A ) 1844 #define RSPI1_SPBR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AA ) 1845 #define RSPI2_SPBR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CA ) 1846 1847 #define RSPI0_SPDCR_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838B ) 1848 #define RSPI1_SPDCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AB ) 1849 #define RSPI2_SPDCR_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CB ) 1850 1851 #define RSPI0_SPCKD_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838C ) 1852 #define RSPI1_SPCKD_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AC ) 1853 #define RSPI2_SPCKD_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CC ) 1854 1855 #define RSPI0_SSLND_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838D ) 1856 #define RSPI1_SSLND_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AD ) 1857 #define RSPI2_SSLND_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CD ) 1858 1859 #define RSPI0_SPND_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838E ) 1860 #define RSPI1_SPND_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AE ) 1861 #define RSPI2_SPND_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CE ) 1862 1863 #define RSPI0_SPCR2_ADDR ( ( volatile uint8_t __evenaccess * )0x0008838F ) 1864 #define RSPI1_SPCR2_ADDR ( ( volatile uint8_t __evenaccess * )0x000883AF ) 1865 #define RSPI2_SPCR2_ADDR ( ( volatile uint8_t __evenaccess * )0x000883CF ) 1866 1867 #define RSPI0_SPCMD0_ADDR ( ( volatile uint16_t __evenaccess * )0x00088390 ) 1868 #define RSPI0_SPCMD1_ADDR ( ( volatile uint16_t __evenaccess * )0x00088392 ) 1869 #define RSPI0_SPCMD2_ADDR ( ( volatile uint16_t __evenaccess * )0x00088394 ) 1870 #define RSPI0_SPCMD3_ADDR ( ( volatile uint16_t __evenaccess * )0x00088396 ) 1871 #define RSPI0_SPCMD4_ADDR ( ( volatile uint16_t __evenaccess * )0x00088398 ) 1872 #define RSPI0_SPCMD5_ADDR ( ( volatile uint16_t __evenaccess * )0x0008839A ) 1873 #define RSPI0_SPCMD6_ADDR ( ( volatile uint16_t __evenaccess * )0x0008839C ) 1874 #define RSPI0_SPCMD7_ADDR ( ( volatile uint16_t __evenaccess * )0x0008839E ) 1875 #define RSPI1_SPCMD0_ADDR ( ( volatile uint16_t __evenaccess * )0x000883B0 ) 1876 #define RSPI1_SPCMD1_ADDR ( ( volatile uint16_t __evenaccess * )0x000883B2 ) 1877 #define RSPI1_SPCMD2_ADDR ( ( volatile uint16_t __evenaccess * )0x000883B4 ) 1878 #define RSPI1_SPCMD3_ADDR ( ( volatile uint16_t __evenaccess * )0x000883B6 ) 1879 #define RSPI1_SPCMD4_ADDR ( ( volatile uint16_t __evenaccess * )0x000883B8 ) 1880 #define RSPI1_SPCMD5_ADDR ( ( volatile uint16_t __evenaccess * )0x000883BA ) 1881 #define RSPI1_SPCMD6_ADDR ( ( volatile uint16_t __evenaccess * )0x000883BC ) 1882 #define RSPI1_SPCMD7_ADDR ( ( volatile uint16_t __evenaccess * )0x000883BE ) 1883 #define RSPI2_SPCMD0_ADDR ( ( volatile uint16_t __evenaccess * )0x000883D0 ) 1884 #define RSPI2_SPCMD1_ADDR ( ( volatile uint16_t __evenaccess * )0x000883D2 ) 1885 #define RSPI2_SPCMD2_ADDR ( ( volatile uint16_t __evenaccess * )0x000883D4 ) 1886 #define RSPI2_SPCMD3_ADDR ( ( volatile uint16_t __evenaccess * )0x000883D6 ) 1887 #define RSPI2_SPCMD4_ADDR ( ( volatile uint16_t __evenaccess * )0x000883D8 ) 1888 #define RSPI2_SPCMD5_ADDR ( ( volatile uint16_t __evenaccess * )0x000883DA ) 1889 #define RSPI2_SPCMD6_ADDR ( ( volatile uint16_t __evenaccess * )0x000883DC ) 1890 #define RSPI2_SPCMD7_ADDR ( ( volatile uint16_t __evenaccess * )0x000883DE ) 1891 #define RSPI_SPCMD_SPB_OFFSET (8) 1892 #define RSPI_SPCMD_SPB_MASK (0xF << RSPI_SPCMD_SPB_OFFSET) 1893 1894 /* 1769 1895 * UART関連の定義 1770 1896 *
Note:
See TracChangeset
for help on using the changeset viewer.