UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 716

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
18.2 Sound Generator Registers
(1) SG0 control register (SG0CTL)
714
The Sound Generator is controlled by means of the following registers:
Cautions 1. Bit 0 must be set to 0.
The 8-bit SG0CTL register controls the operation of the Sound Generator.
This register can be read/written in 8-bit or 1-bit units.
This register is cleared by any reset.
Address: FFA5H
SG0CTL
Symbol
2. Change the contents of this register only when the sound is stopped (register SG0PWM
SG0 control register
SG0 frequency low register
SG0 frequency high register
SG0 volume register
cleared).
PWR
OS
7
0
0
1
0
1
Register name
After reset: 00H
Figure 18-3. Format of SG0 Control Register (SG0CTL)
Clock input switched off (the Sound Generator is disabled and does not operate).
Clock input switched on (the Sound Generator is enabled and ready to use).
Selects SGOF and SGOA outputs (frequency and amplitude separated).
Selects SGO output (frequency and amplitude mixed).
Table 18-1. Sound Generator Registers Overview
6
0
R/W
CHAPTER 18 SOUND GENERATOR
Preliminary User’s Manual U19748EJ1V0UD
5
0
SG0CTL
SG0FL
SG0FH
SG0PWM
Shortcut
PWR
4
Power save mode selection
SG0 output mode selection
0
3
FFA5H
FFA8H
FFAAH
FFA6H
0
2
Address
OS
1
0
0

Related parts for UPD78F0838