HT1660
Instruction Set Summary
Name
Command Code
D/C
Function
Def.
X110-XXA9A8-A7A6A5A4-A3A2A1A0-
D3D2D1D0
READ
D
Read data from the RAM
X101-XXA9A8-A7A6A5A4-A3A2A1A0-
D3D2D1D0
WRITE
D
D
C
Write data to the RAM
READ-MODIFY- X101-XXA9A8-A7A6A5A4-A3A2A1A0-
Read and Write data to the RAM
WRITE
D3D2D1D0
Turn Off both system oscillator and LCD bias
generator
SYS DIS
X100-0000-0000-XXXX-XXXX
Yes
Yes
SYS EN
X100-0000-0001-XXXX-XXXX
X100-0000-0010-XXXX-XXXX
X100-0000-0011-XXXX-XXXX
X100-0000-0100-XXXX-XXXX
X100-0000-0101-XXXX-XXXX
X100-0000-0110-XXXX-XXXX
X100-0000-0111-XXXX-XXXX
X100-0000-1000-XXXX-XXXX
X100-0000-1101-XXXX-XXXX
X100-0000-1111-XXXX-XXXX
C
C
C
C
C
C
C
C
C
C
Turn On system oscillator
LCD OFF
LCD ON
Turn Off LCD display
Turn On LCD display
TIMER DIS
WDT DIS
TIMER EN
WDT EN
Disable time base output
Yes
Yes
Disable WDT time-out flag output
Enable time base output
Enable WDT time-out flag output
Turn Off tone outputs
TONE OFF
CLR TIMER
CLR WDT
Yes
Clear the contents of the time base generator
Clear the contents of the WDT stage
Turn on tone output, tone frequency output:
4kHz
TONE 4K
TONE 2K
X100-0001-0000-XXXX-XXXX
X100-0001-0001-XXXX-XXXX
C
C
Turn on tone output, tone frequency output:
2kHz
IRQ DIS
IRQ EN
RC 32K
X100-0001-0010-XXXX-XXXX
X100-0001-0011-XXXX-XXXX
X100-0001-0100-XXXX-XXXX
C
C
C
Disable IRQ output
Enable IRQ output
Yes
System clock source, on-chip RC oscillator Yes
System clock source, external 32kHz clock
source or crystal oscillator 32.768kHz
X100-0001-0101-XXXX-XXXX
C
EXT (X¢TAL)
LARGE BIAS
MIDDLE BIAS
SMALL BIAS
BIAS 1/6
X100-0001-0110-XXXX-XXXX
X100-0001-0111-XXXX-XXXX
X100-0001-1000-XXXX-XXXX
X100-0001-1010-XXXX-XXXX
X100-0001-1001-XXXX-XXXX
X100-0001-1100-XXXX-XXXX
X100-0001-1101-XXXX-XXXX
X100-0001-1110-XXXX-XXXX
C
C
C
C
C
C
C
C
Large bias current option
Middle bias current option
Small bias current option
LCD 1/6 bias option
Yes
Yes
BIAS 1/5
LCD 1/5 bias option
FRAME 170Hz
FRAME 89Hz
FRAME 64Hz
Selects 170Hz frame frequency
Selects 89Hz frame frequency
Selects 64Hz frame frequency
Yes
This command will change segment from 96
to 112 and command from 32 to 16
X100-0001-1111-XXXX-XXXX
X100-1010-0000-XXXX-XXXX
X100-1010-0001-XXXX-XXXX
X100-1010-0010-XXXX-XXXX
C
C
C
C
Select 112´16
Time base clock output: 1Hz
F1
F2
F4
The WDT time-out flag after: 4s
Time base clock output: 2Hz
The WDT time-out flag after: 2s
Time base clock output: 4Hz
The WDT time-out flag after: 1s
Rev. 1.30
16
April 13, 2006