Seiko Instruments G1216B1N000 X-addresspage, 0 to, Set Y-address of, Reads the status, Tbusy

Models: G1216B1N000

1 30
Download 30 pages 15.73 Kb
Page 20
Image 20

AN.No.G1216B1N000-3D0E

3.4Instructions

3.4.1General

Instructions are listed on Table 2. Instructions other than the Status Read instruction will not be executed if they are sent while another instruction is already being executed. The busy flag is “1” when executing the instruction. Check whether or not the flag is “1” before transmitting the instructions from the MPU.

 

 

 

 

 

 

 

 

 

 

 

Table 2

List of Instructions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction

 

 

 

 

 

 

 

 

 

Code

 

 

 

 

 

 

 

 

 

 

 

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

 

D / I

DB7

DB6

DB5

DB4

 

DB3

DB2

DB1

DB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Turns ON / OFF total display. Data and

1

Display

0

 

0

0

 

0

 

1

 

 

1

 

 

1

 

1

1

1/0

 

internal status in the display RAM remain

 

 

 

 

 

 

 

 

 

 

unchanged.

 

 

 

ON / OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1: ON

0 : OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Display start

 

 

 

 

 

 

 

 

 

 

 

 

Display start lines

 

 

Determines the RAM line to be displayed on the

2

0

 

0

1

 

1

 

 

 

 

 

 

top line (COM1) on the display.

line

 

 

 

 

 

 

 

 

 

( 0 to 63 )

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X-address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X-address(page)

 

Sets the X-address of the RAM (page) in the

3

(page) set

0

 

0

1

 

0

 

1

 

 

1

 

 

1

 

 

(0 to 7)

 

 

X-address (page) register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y-address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y-address

 

 

 

Set Y-address of

the RAM in the Y-address

4

0

 

0

0

 

1

 

 

 

 

 

 

 

 

 

 

counter.

 

 

 

 

set

 

 

 

 

 

 

 

 

 

( 0 to 63 )

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

 

 

 

 

 

 

Reads the status.

 

 

 

 

 

 

 

 

B

 

 

 

ON

 

 

 

 

 

 

 

RESET

1: Reset 0: Normal

 

Status read

 

 

 

 

 

 

 

E

 

 

 

 

 

 

 

5

1

 

0

U

 

0

 

/

 

 

S

 

0

 

0

0

0

 

ON/OFF

1: Display OFF

0: Display ON

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

E

 

 

 

 

 

 

 

BUSY

1: during internal operation

 

 

 

 

 

 

Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T

 

 

 

 

 

 

 

 

 

 

0: READY status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Writes data DB0 (LSB) to

Accesses the

 

Display data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DB7 (MSB ) on the data

RAM in which

6

0

 

1

 

 

 

 

 

 

 

 

Write Data

 

 

 

 

bus into the display RAM.

address has been

write

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

specified

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

beforehand. After

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

that the Y-address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reads data DB0 (LSB) to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

advances by one.

 

Display data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DB7 (MSB) from the

 

7

1

 

1

 

 

 

 

 

 

 

 

Read Data

 

 

 

 

display RAM into the data

 

read

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bus.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: The BUSY time varies depending upon the frequency F￿(:215 kHz (typ.) ) of ￿1, ￿2 (1/F

TBUSY

3/F ).

 

3.4.2 Detailed explanation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(1) Display ON/OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Code

 

 

 

R/W D/I

 

DB7

 

 

 

 

 

 

 

 

 

 

 

 

DB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

 

0

 

 

0

 

 

1

 

1

1

1

 

1

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Turns the display ON when D=1, and OFF when D=0. When the display is turned OFF by D=0, the original display appears if D is set to 1 because the display data is retained in the display data RAM.

- 17 -

Page 20
Image 20
Seiko Instruments G1216B1N000 user manual X-addresspage, 0 to, Set Y-address of, Reads the status, Tbusy