Chapter 13 Buzzer Output Control Circuit; Buzzer Output Control Circuit Functions; Buzzer Output Control Circuit Configuration - NEC 78014Y Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

13.1 Buzzer Output Control Circuit Functions

The buzzer output control circuit outputs a square wave with a frequency of either 2.4 kHz, 4.9 kHz, or 9.8 kHz.
The buzzer frequency selected with timer clock select register 2 (TCL2) is output from the BUZ/P36 pin.
Follow the procedure below to output the buzzer frequency.
(1) Select the buzzer output frequency with bits 5 to 7 (TCL25 to TCL27) of TCL2.
(2) Set the P36 output latch to 0.
(3) Set bit 6 (PM36) of port mode register 3 (PM3) to 0 (Set to output mode).
Caution

13.2 Buzzer Output Control Circuit Configuration

The buzzer output control circuit consists of the following hardware.
www.DataSheet4U.com
Timer Clock Select Register 2

CHAPTER 13 BUZZER OUTPUT CONTROL CIRCUIT

CHAPTER 13 BUZZER OUTPUT CONTROL CIRCUIT
Buzzer output cannot be used if P36 output latch is set to 1.
Table 13-1. Buzzer Output Control Circuit Configuration
Item
Control register
Figure 13-1. Buzzer Output Control Circuit Block Diagram
f
/2
10
X
f
/2
11
X
f
/2
12
X
3
TCL27 TCL26 TCL25
Configuration
Timer clock select register 2 (TCL2)
Port mode register 3 (PM3)
P36
Output Latch
Internal Bus
BUZ/P36
PM36
Port Mode Register 3
243

Advertisement

Table of Contents
loading

Table of Contents