sh66l06a SinoWealth Micro-Electronics Corp. Ltd, sh66l06a Datasheet - Page 19

no-image

sh66l06a

Manufacturer Part Number
sh66l06a
Description
1k 4-bit Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
10. Alarm Output
System Register $14:
Default carrier frequency is 4kHz, can be selected to 2kHz by code option.
WRITE mode: controls the envelope selection.
READ mode can read out current envelope waveforms.
To activate the ALARM function, first switch the PAM to ALARM OUTPUT mode. After setting PAM to 1, then set the proper
envelope. When the data writes to AEC, the envelope counter will be synchronized. The programmer can read back the
envelope from AEC register and make any pattern changes needed by programmer. The Read operation will not affect the
alarm output waveform.
The programming alarm waveform is shown below:
Address
$14
AEC3
Bit 3
X
X
X
0
1
O U T P U T 2 K o r 4 k
AEC2
P A .1 & P A .2
Bit 2
X
X
X
0
1
P A M = 1
P A M = 1
P A M = 1
P A M = 1
A E C = $ 0
A E C = $ 8
A E C = $ C
P A M = 1
A E C = $ F
A E C = $ A
8 H z
4 H z
2 H z
1 H z
AEC1
Bit 1
X
X
X
0
1
Alarm output waveform
AEC0
Bit 0
X
X
X
0
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
19
ALARM envelope control register
DC envelope (Default)
1Hz envelope AND other envelope choice logically
2Hz envelope AND other envelope choice logically
4Hz envelope AND other envelope choice logically
8Hz envelope AND other envelope choice logically
Remarks
SH66L06A

Related parts for sh66l06a