0X5345: Remc Length Counter Register (Remc_Lcnt) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

21 REMOTE CONTROLLER (REMC)

0x5345: REMC Length Counter Register (REMC_LCNT)

Register name Address
Bit
REMC Length
0x5345
D7–0 REMLEN[7:0] Transmit/receive data length count
Counter Register
(8 bits)
(REMC_LCNT)
D[7:0]
REMLEN[7:0]: Transmit/Receive Data Length Count Bits
Sets the data length counter value and begins counting. (Default: 0x0)
The counter stops when it reaches 0 and generates an underflow interrupt factor.
For data transmission
Sets the transmit data length for data transmission.
When a value corresponding to the data pulse width is written, the data length counter begins counting
down from that value, generating an underflow interrupt and halting when the counter reaches 0.
The subsequent transmit data is set using this interrupt.
For data receiving
Interrupts can be generated at the input signal rising or falling edges when receiving data. The data
pulse length can be obtained from the difference by setting the data length counter to 0xff using the in-
terrupt when the input changes and reading out the count value when the next interrupt occurs due to an
input change.
284
Name
Function
(down counter)
EPSON
Setting
Init. R/W
0x0 to 0xff
0x0 R/W
S1C17001 TECHNICAL MANUAL
Remarks

Advertisement

Table of Contents
loading

Table of Contents