TMP92CZ26A

92CZ26A-589

3.22 Melody / Alarm generator (MLD)

TMP92CZ26A contains melody function and alarm function, both of which are output from
the MLDALM pin. Five kind of fixed cycles interrupt is generate by using 15bit counter, which
is used for alarm generator.
Features are as follows.
1) Melody generator
The Melody function generates signals of any frequency (4Hz- 5461Hz) based on low-speed
clock (32.768 KHz) and o utputs the signals from the MLDALM pin.
By connecting a loud speaker ou tside, Melody tone can easily sound.
2) Alarm gener ator
The Alarm function generates eight kinds of alarm waveform having a modulation frequency
(4096Hz) determined by the low-speed clock (32.768 KHz). And this waveform is able to invert
by setting a value to a register.
By connecting a loud spe aker outside, Alarm tone can easily sound.
Five kinds of fixed cycles (1Hz, 2Hz, 64Hz, 512Hz, 8192Hz) INTERRUPT are generated by
using a counter that is used for alarm generator.
This section is constituted as foll ows.
3.22.1 Block diagram
3.22.2 Control registers
3.22.3 Operational Description
3.22.3.1 Melody generator
3.22.3.2 Alarm generator