Chapter 4 Timer Functions

4-8 Buzzer Output

4-8-1 Buzzer Output Setup and Operation

The square wave having a frequency 1/29 to 1/212 of the system clock can be

output from the P06/BUZZER pin.

(1)Set the BUZOE flag of the oscillation stabilization wait control register (DLYCTR) to "0" so that the buzzer output is turned off.

(2)Set the buzzer output frequency with the BUZCK1 and BUZCK0 flags of the

DLYCTR.

(3)Set the BUZOE flag of the DLYCTR register to "1" and set P06 to the buzzer output mode.

(4)The BUZOE flag of the DLYCTR register controls whether the buzzer output is ON or OFF.

80 Buzzer Output

Page 94
Image 94
Panasonic MN101C00 user manual Buzzer Output Setup and Operation