M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 483

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer A Applications
468
3.4 Buzzer Output
Overview
Specifications
Operation
Figure 3.4.1. Operation timing of buzzer output
Timer A0
overflow timing
Count start flag
Pulse output
function select bit
P7
0
output
The timer mode is used to make the buzzer ring. Figure 3.4.1 shows the operation timing, and
Figure 3.4.2 shows the set-up procedure.
Use the following peripheral function:
• The pulse-outputting function in timer mode of timer A.
(1) Sound a 2-kHz buzz beep by use of timer A0.
(2) Effect pull-up in the relevant port by use of a pull-up resistor. When the buzzer is off, set the
(3) Connect a 16-MHz oscillator to X
(1) The microcomputer begins performing a count on timer A0. Timer A0 has disabled interrupts.
(2) The microcomputer begins pulse output by setting the pulse output function select bit to
(3) The microcomputer stops outputting pulses by setting the pulse output function select bit to
port high-impedance, and stabilize the potential resulting from pulling up.
“Pulse output effected”. P7
“Pulse output not effected”. P7
high-impedance.
“1”
“0”
“1”
“0”
“1”
“0”
(1) Start count
High-impedance
0
changes into TA0
0
goes to an input pin, and the output from the pin becomes
IN
.
(2) Buzzer output ON
OUT
pin and outputs 2-kHz pulses.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(3) Buzzer output OFF
High-impedance
Mitsubishi microcomputers
M16C / 62 Group

Related parts for M30622MA-XXXFP