DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

SM5L1 データシートの表示(PDF) - Sharp Electronics

部品番号
コンポーネント説明
メーカー
SM5L1
Sharp
Sharp Electronics Sharp
SM5L1 Datasheet PDF : 27 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
4-Bit Single Chip Microcomputers
SM5L1/SM5L2/SM5L3
Flags
The SM5Lx provides three flag (C flag and interrupt
request flags IFA and IFD) which can be used to set or
determine conditions.
Output Latch Registers and Mode Registers
The output latch registers are connected to the P0,
P1 and P2 pins. By instruction, the contents of the ACC
can be transferred to the output latch registers. The
SM5Lx also contains mode registers RD, RE and RF.
Setting the value of each register enables the LCD or
interrupt to be controlled. Setting a register is performed
in the same way as for the other output pins. The func-
tion of the mode registers are shown in Table 1.
INTA PIN
INTA level can be loaded to ACC (bit 0), as follows:
LBLX 4
IN
INTA level does not load directly through the noise
debounce circuit (see Figure 17).
INTA PIN
LEVEL
SM5L1/L2/L3
TO ACC
TO INTERRUPT
CONTROLLER
NOICE DEBOUNCE CIRCUIT
Figure 17. INTA Pin
5L1-17
CAUTION
Connecting Consideration of I/O Port
When using an I/O port as bidirectional bus such as data bus,
avoid setting the I/O port to output when the target pin is also
set output.
Whenever the output data conflict with each other, system
failure will happen, due to damaged circuits or instantaneous
supply voltage drop.
SM5Lx
OUTPUT PIN or
I/O PIN SET OUTPUT
DON'T
DATA BUS OF THE
CONNECTED DEVICE
OUTPUT PIN
REGISTER
TYPE
BIT
RD0
RD
RD1
RD2, RD3
RE0
RE1
RE
RE2
RE3
RF0
RF1
RF
RF2
RF3
5L1-18
Figure 18. I/O Port Connection Precaution
Table 1. Mode Register Setting
SET
VALUE
0
1
0
1
0
1
0
1
0
1
0
1
MODE DESCRIPTION
Clears the ME F/F to stop a melody.
Sets the ME F/F to start a melody from a ROM pointer address.
Sets by stop instruction (of melody code) and reset by TPB instruction.
Sets 0only.
Masks the interrupt based on the IFA flag.
Accepts the interrupt based on the IFA flag.
Sets 0only.
Masks the interrupt based on the IFD flag.
Accepts the interrupt based on the IFD flag.
No setting.
Turns off the LCD.
Turns on the LCD.
Stops the function of a booster circuit.
Operates the function of a booster circuit.
Creates the system clock frequency by dividing the main oscillation frequency by 2.
Creates the system clock frequency by dividing the main oscillation frequency by 4.
Sets 0only.
Microcomputer Data Sheet
13

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]