
ML62Q1000 Series User's Manual
Chapter 15 Buzzer
FEUL62Q1000
15-11
15.3.2 Intermittent Sound 2 Mode
15.3.2.1 Operation of Intermittent Sound 2 Mode
Figure 15-5 shows the buzzer output waveform of the intermittent sound 2 mode.
Each of black areas indicates a period of time during which the buzzer signal pulse is output.
See Section 15.3.5.1 "Buzzer Output Start and Stop Timing" for details of pulse signal timing.
Figure 15-5 Output Waveforms in Intermittent Sound 2 Mode
(sounds like: "Beep Beep Beep Beep, Beep Beep Beep Beep" (continues for an arbitrary period of time))
15.3.2.2 Example of Intermittent Sound 2 Mode Setting Procedure
Figure 15-6 shows an example of the intermittent sound 2 mode setting procedure.
Figure 15-6 Example of Intermittent Sound 2 Mode Setting Procedure
[Note]
Ÿ
The buzzer output may be started in the middle of the buzzer waveform depending on timing the
BZ0RUN bit of the BZ0CON register is set to "1". If it causes a problem, take one of the following
measures: A or B described below.
Measure A: Use the low-speed time base counter interrupt (choose T8HZ or T1HZ for signal
assignment).
Measure B: Use the LTBR register to synchronize the falling edge of the T8HZ or T1HZ signal with
the timing at which BZ0RUN is set to "1".
T8HZ
Buzzer output waveform
BZ0P and BZ0N pins
T1HZ
BZ0RUN
A buzzer sound is output until the BZ0RUN bit of the BZ0CON register is cleared to "0"
after the BZ0RUN bit is set to "1" as an intermittent tone at intervals of 0.5 seconds.
Set the intermittent sound 2 mode, frequency, duty ratio,
and output logical value with the BZ0MOD register
Setting start
Set ports of BZ0P and BZ0N pins (set the port to the 7
th
function. Set CMOS output mode)
Buzzer output port
setting
Buzzer mode
setting
Start buzzer output
Set the BZ0RUN bit of the BZ0CON register to "1"
Stop buzzer output
End
Set the BZ0RUN bit of the BZ0CON register to "0"
If setting is
changed
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...