
S1S60000 Technical Manual
Rev.1.5
EPSON
47
5.2.16
IPADRH,IPADRL
(Default IP Address: offset 11h, 12h)
Used to hold the own IP address.
Table 5.11 shows the initial values and the register settings.
Table 5.11
Setup of Address and Subnet Mask
Target
Initial value
Notation in
hex
Register setting
Offset
IP address
192.168.0.254
C0.A8.00.FE
IPADRH=A8C0h,
IPADRL=FE00h
11h, 12h
Subnet mask
255.255.255.0
FF.FF.FF.00
SNMSKH=FFFFh,
SNMSKL=00FFh
13h, 14h
Default gateway
192.168.0.1
C0.A8.00.01
DGWH=A8C0h, DGWL=0100h
15h, 16h
Destination address 0
192.168.0.2
C0.A8.00.02
DADR0H=A8C0h,
DADR0L=0200h
17h, 18h,
Destination address 1
192.168.0.3
C0.A8.00.03
DADR1H=A8C0h,
DADR1L=0300h
19h, 1Ah
Destination address 2
192.168.0.4
C0.A8.00.04
DADR2H=A8C0h,
DADR2L=0400h
1Bh, 1Ch
Destination address 3
192.168.0.5
C0.A8.00.05
DADR3H=A8C0h,
DADR3L=0500h
1Dh, 1Eh
5.2.17
SNMSKH,SNMSKL
(Subnet Mask: offset 13h, 14h)
Used to hold the subnet mask.
The initial values and register settings are the same as those shown in Table
5.11.
5.2.18
DGWH,DGWL
(Default Gateway: offset 15h, 16h)
Used to hold the address of the default gateway.
The initial values and register settings are the same as those
shown in Table 5.11.
5.2.19
DADRnH,DADRnL
(Destination Address: offset 17h to 1Eh)
Used to hold the destination address.
DADR0H, DADR0L, DADR1H, DADR1L, DADR2H, DADR2L,
DADR3H and DADR3L hold the four destination addresses.
Also, DADR0H, DADR0L are used as the IP
address in the following cases.
Connection destination IP address while client (Active Open) is operating in serial emulation mode.
Transmit destination IP address when using the GPIO0 interrupt notice function.
The initial values and register settings are the same as those shown in Table 5.11.
5.2.20
PORT
(Default Port: offset 1Fh)
It is used as Port Number in the following cases:
Listening port number in a server (Passive Open) operation in the serial emulation mode.
Transmit source port number of the transmit packet while client (Active Open) is operating in serial emulation
mode.
Transmit source port number of the transmit packet when using the GPIO0 interrupt notice function.
The default value is C000h (49152).
5.2.21
DPORT
(Destination Port: offset 20h)
It is used as Port Number in the following cases:
Destination port number in a client (Active Open) operation in the serial emulation mode.
Destination port number in using the interrupt notification function of GPIO0.
The default value is C001h (49153).