sh66l16a SinoWealth Micro-Electronics Corp. Ltd, sh66l16a Datasheet - Page 16

no-image

sh66l16a

Manufacturer Part Number
sh66l16a
Description
16k 4-bit Low Power Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
9. Alarm Output
System Register $13: Alarm control register
System Register $1C: Envelope setting register
The programming Alarm waveform is shown as below:
To activate the Alarm function, first switch the PAM to the Alarm output mode. After setting PAM equal to 1, then set the proper
envelope. When the data writes into AEC, the envelope counter will be synchronized at the same time.
Notes:
1. If the “ System Clock selection” code option is equal to CK = 0,0 (200kHz RC as system clock with 32.768kHz Crystal for the
2. If the “ System Clock selection” code option is equal to CK = 1,0 (32.768kHz Crystal as system clock), the Alarm function
3. If the “ System Clock selection” code option is equal to CK = 1,1 (200kHz RC as system clock), the Alarm function block’s
Address
Address
Base Timer), or CK = 0,1 (200kHz RC as system clock with 32kHz RC for the Base Timer), the Alarm function block’s clock
is fetched from the OSC (32.768kHz Crystal Oscillator or 32kHz RC Oscillator). It is necessary to enable the OSC (Crystal or
RC) oscillator before using the Alarm function.
block’s clock is fetched from the OSC (32.768kHz Crystal) oscillator. The Alarm will output GND in the STOP mode.
clock is fetched from the OSCX (200kHz RC) oscillator. The Alarm will output GND in the STOP mode.
$1C
$13
PPULL
AEC3
Bit 3
Bit 3
X
X
X
X
X
X
X
0
1
PORTA.1/A.2 OUTPUT
PUMP
AEC2
Bit 2
Bit 2
OFF
X
X
X
X
X
X
X
0
1
AEC = $C
AEC = $A
AEC = $8
AEC = $F
AEC = $0
AEC1
Bit 1
Bit 1
8Hz
4Hz
2Hz
1Hz
AF
X
X
X
X
X
0
1
0
1
AEC0
Bit 0
PAM
Bit 0
X
X
1
X
0
1
X
X
0
Alarm Output Waveform
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
16
Bit0: Alarm enable control register
Bit1: Alarm carrier frequency control register
Alarm OFF (Power on initial)
Alarm ON, PORTA.1 (BD) and PORTA.2 (
Shared with buzzer output
Alarm carrier frequency is 4kHz (Power on initial)
Alarm carrier frequency is 2kHz
Alarm envelope control register
DC envelope (Power on initial)
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
Remarks
BD
SH66L16A
)

Related parts for sh66l16a