18 UART
18-12
EPSON
S1C17704 TECHNICAL MANUAL
Selecting the IrDA receive detection clock
Select a prescaler output clock within the range from PCLK•1/1 to PCLK•1/128 as the input pulse detection
clock using the IRCLK[2:0] bits (D[6:4]/UART_EXP register).
∗
IRCLK[2:0]
: IrDA Receive Detection Clock Select Bits in the UART Expansion (UART_EXP) Register
(D[6:4]/0x4105)
Table 18.8.1 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 and converts it to a 16 sclk cycles width of low pulse. Select an appropriate prescaler
output clock that can detect a minimum 1.41 µs width of an input pulse.
Controlling serial data transfer
The control method to transmit/receive data in IrDA mode is the same as that of the normal interface. See
previous sections for details on how to set and control the data formats, data transfers, and interrupts.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...