em78p257 ELAN Microelectronics Corp, em78p257 Datasheet - Page 62

no-image

em78p257

Manufacturer Part Number
em78p257
Description
8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
em78p257AM
Manufacturer:
SEMTECH
Quantity:
600
This specification is subject to change without prior notice.
Table 27 Related Control Registers of the IR Mode
Table 28 Related status/data register of the IR mode
Address
Address
0x0B
0x0D
0x08
0X0B
0x06
0x07
0x09
0x0A
3. Pin Description
4. Programmed the Related Registers
When defining IR mode is defined, refer to the related register of its operation as shown in the Table 27 and Table
28 below.
<Note> *Bit name/initial value
• TCCBL : An eight-bit clock counter is for the least significant byte of TCCBX. TCCBL, which can be
• TCCBH : An eight-bit clock counter is for the most significant byte of TCCBX. TCCBH, which can be
• Low-time Register :The 8-bit Low-time register that controls the active or Low period of the pulse. The
• The decimal value of its contents determines the number of oscillator cycles indicating that the IR
• High-time Register :The 8-bit High-time register control the inactive or High period of the pulse.
read, written, and cleared at any reset condition.
read, written, and cleared at any reset condition.
High-time register controls the inactive or High period of the cycle.
OUT pin is active. The active period of IR OUT can be calculated as follow:
want to be restarted , we must disable IR in advance and then enable IR again.The time delay
between two pulse trains is determined by software.
TCCCR/IOC80 TCC2E
t
P67(IR OUT)
Low
P60 to P66
P50 to P57
TCCBH/IOC71 TCCBH7
SYMBOL
TCR(2)/RB
TCCBL/IOC61
IRCR/RD
HTR/IOCA1
PTR/IOCB1
OSCO
LTR/IOC91
=(decimal value held in Low-time register)/fosco
OSCI
Name
Vdd
Vss
Name
1~4,17~20
DP1/0
Bit 7
TCCBL7
0
HTR7
PTR7
LTR7
7~13
Bit 7
PIN
14
16
17
15
6
TCCBIE/0
TCC4E
DP0/0
Bit 6
TCCBH6 TCCBH5 TCCBH4 TCCBH3 TCCBH2 TCCBH1 TCCBH0
TCCBL6
HTR6
LTR6
PTR6
Standard I/O Port lines, generally used for keypad scanning
Standard I/O Port lines, generally used for keypad sensing
Pulse train output pin, capable of sinking 30mA
External clock signal input
External clock signal input
Power supply
Ground
Bit 6
TCCBTS/0 TCCBTE/0
TCC6E
TCCBL5
MF1/0
Bit 5
HTR5
LTR5
PTR5
Bit 5
62
TCCBL4
TCCBE
HTR4
LTR4
PTR4
MF0/0
Bit 4
Bit 4
DESCRIPTION
TCCBL3
HTR3
LTR3
PTR3
IRE/0
Bit 3
Bit 3
0
-
TCCCIE/0 TCCCTS/0 TCCCTE/0
TCCBL2
HF/0
Bit 2
HTR2
LTR2
PTR2
Bit 2
-
EM78P257
TCCBL1
LGP/0
HTR1
LTR1
PTR1
Bit1
Bit1
-
07.27.2004 (V1.4)
OTP ROM
TCCBL0
PWM/0
HTR0
LTR0
PTR0
Bit 0
Bit 0
-

Related parts for em78p257