Px Port Chattering Filter Enable Register; Px Port Mode Select Register; Px Port Function Select Register - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

Bits 15–8 PxEDGE[7:0]
These bits select the input signal edge to generate a port input interrupt.
1 (R/W): An interrupt will occur at a falling edge.
0 (R/W): An interrupt will occur at a rising edge.
Bits 7–0
PxIE[7:0]
These bits enable port input interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
Note: To prevent generating unnecessary interrupts, the corresponding interrupt flag should be cleared
before enabling interrupts.

Px Port Chattering Filter Enable Register

Register name
Bit
PxCHATEN
15–8 –
7–0 PxCHATEN[7:0]
*1: The bit configuration differs depending on the port group.
Bits 15–8 Reserved
Bits 7–0
PxCHATEN[7:0]
These bits enable/disable the chattering filter function.
1 (R/W): Enable (The chattering filter is used.)
0 (R/W): Disable (The chattering filter is bypassed.)

Px Port Mode Select Register

Register name
Bit
PxMODSEL
15–8 –
7–0 PxSEL[7:0]
*1: The bit configuration differs depending on the port group.
*2: The initial value may be changed by the port.
Bits 15–8 Reserved
Bits 7–0
PxSEL[7:0]
These bits select whether each port is used for the GPIO function or a peripheral I/O function.
1 (R/W): Use peripheral I/O function
0 (R/W): Use GPIO function

Px Port Function Select Register

Register name
Bit
PxFNCSEL
15–14 Px7MUX[1:0]
13–12 Px6MUX[1:0]
11–10 Px5MUX[1:0]
9–8 Px4MUX[1:0]
7–6 Px3MUX[1:0]
5–4 Px2MUX[1:0]
3–2 Px1MUX[1:0]
1–0 Px0MUX[1:0]
*1: The bit configuration differs depending on the port group.
*2: The initial value may be changed by the port.
Bits 15–14 Px7MUX[1:0]
:
:
Bits 1–0
Px0MUX[1:0]
These bits select the peripheral I/O function to be assigned to each port pin.
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Bit name
Initial
0x00
0x00
Bit name
Initial
0x00
0x00
Bit name
Initial
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Seiko Epson Corporation
Reset
R/W
R
H0
R/W
Reset
R/W
R
H0
R/W
Reset
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
6 I/O PORTS (PPORT)
Remarks
Remarks
Remarks
6-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents