CHAPTER 3: PERIPHERAL CIRCUITS (Special Use Output Port)
II-21
• Buzzer driver output (BUZZER)
When output port R01 is set for BUZZER and R00 is set for
BUZZER, it performs 2,048 Hz or 4,096 Hz selected by
register XBZR (0FDH D3).
Label
Mnemonic/operand
Comment
LD
Y,0FDH
;
Set address of BUZZER
;
frequency control register
LD
MY,1000B
;
Select 2,048 Hz
LD
Y,0F3H
;
Set address of output port
OR
MY,0010B
;
Turn on BUZZER
:
:
AND
MY,1101B
;
Turn off BUZZER
Examples of special
use output port
control program
Содержание E0C6001
Страница 4: ...Hardware E0C6001 I Technical Hardware ...
Страница 79: ...Software E0C6001 II Technical Software ...