18 UART
18-20
EPSON
S1C17704 TECHNICAL MANUAL
0x4105: UART Expansion Register (UART_EXP)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
UART
Expansion
Register
(UART_EXP)
0x4105
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4
IRCLK[2:0]
IrDA receive detection clock select
IRCLK[2:0]
Clock
0x0
R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
PCLK•1/128
PCLK•1/64
PCLK•1/32
PCLK•1/16
PCLK•1/8
PCLK•1/4
PCLK•1/2
PCLK•1/1
D3–1
–
reserved
–
–
–
0 when being read.
D0
IRMD
IrDA mode select
1 On
0 Off
0
R/W
D7 Reserved
D[6:4]
IRCLK[2:0]: IrDA Receive Detection Clock Select Bits
These bits select a prescaler output clock as the input pulse detection clock.
Table 18.9.2 Selecting the IrDA Receive Detection Clock
IRCLK[2:0]
Prescaler output clock
0x7
PCLK•1/128
0x6
PCLK•1/64
0x5
PCLK•1/32
0x4
PCLK•1/16
0x3
PCLK•1/8
0x2
PCLK•1/4
0x1
PCLK•1/2
0x0
PCLK•1/1
(Default: 0x0)
This clock must be faster than the transfer clock sclk supplied from the 8-bit timer or input from the
SCLK pin.
The demodulator regards a low pulse of which the width is longer than two cycles of the IrDA receive
detection clock as a valid low pulse. Select an appropriate prescaler output clock that can detect a
minimum 1.41 µs width of an input pulse.
D[3:1] Reserved
D0
IRMD: IrDA Mode Select Bit
Turns the IrDA interface function on and off.
1
(R/W):
On
0 (R/W): Off (default)
Set this bit to 1 when using the IrDA interface. When set to 0, the module functions as a standard UART
without IrDA.
Summary of Contents for S1C17704
Page 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Page 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...