-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathport.hpp
36 lines (31 loc) · 1.53 KB
/
port.hpp
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
#pragma once
//=====================================================================//
/*! @file
@brief I/O Ports / I/O ポート (RX671)
@author 平松邦仁 ([email protected])
@copyright Copyright (C) 2023, 2024 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master/LICENSE
*/
//=====================================================================//
#include "RX600/port_base.hpp"
namespace device {
typedef portx_t<0x0008'C000, odr_oo_t<0x0008'C080> > PORT0;
typedef portx_t<0x0008'C001, odr_oo_t<0x0008'C082> > PORT1;
typedef portx_t<0x0008'C002, odr_oo_t<0x0008'C084> > PORT2;
typedef portx_t<0x0008'C003, odr_oo_t<0x0008'C086> > PORT3;
typedef portx_t<0x0008'C004, odr_oo_t<0x0008'C088> > PORT4;
typedef portx_t<0x0008'C005, odr_oo_t<0x0008'C08A> > PORT5;
typedef portx_t<0x0008'C006, odr_oo_t<0x0008'C08C> > PORT6;
typedef portx_t<0x0008'C007, odr_oo_t<0x0008'C08E> > PORT7;
typedef portx_t<0x0008'C008, odr_oo_t<0x0008'C090> > PORT8;
typedef portx_t<0x0008'C009, odr_oo_t<0x0008'C092> > PORT9;
typedef portx_t<0x0008'C00A, odr_oo_t<0x0008'C094> > PORTA;
typedef portx_t<0x0008'C00B, odr_oo_t<0x0008'C096> > PORTB;
typedef portx_t<0x0008'C00C, odr_oo_t<0x0008'C098> > PORTC;
typedef portx_t<0x0008'C00D, odr_oo_t<0x0008'C09A> > PORTD;
typedef portx_t<0x0008'C00E, odr_oo_t<0x0008'C09C> > PORTE;
typedef portx_t<0x0008'C00F, odr_oo_t<0x0008'C09E> > PORTF;
typedef portx_t<0x0008'C011, odr_oo_t<0x0008'C0A2> > PORTH;
typedef portx_t<0x0008'C012, odr_oo_t<0x0008'C0A4> > PORTJ;
}