upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 847

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Sound Generator (SG)
Initial Value
Initial Value
Address
Address
Access
Access
Note
(3)
(4)
SG0FH - SG0 frequency high register
The 16-bit SG0FH register is used to specify the final tone frequency. It holds
the target value for the 6-bit counter SG0FH.
This register is can be read/written in 16-bit units. It cannot be written if bit
SG0CTL.PWR = 0.
The SG0FH register can also be read/written together with the SG0FL register
by 32-bit access to the SG0FL register via the SG0F register.
<base> + 2
0000
For the calculation of the resulting tone frequency refer to “Tone frequency
calculation“ on page 850.
1.
2.
3.
SG0F - SG0 frequency register
The 32-bit register SG0F combines access to the 16-bit registers SG0FL and
SG0H. This makes it possible to change the values for the PWM and tone
frequency with one write access.
This register is can be read/written in 32-bit units. It cannot be written if bit
SG0CTL.PWR = 0.
<base>
0000 0000
Preliminary User’s Manual U17566EE1V2UM00
31
15
R
0
The bits SG0FH[15:6] are not used.
Legal values depend on the contents of register SG0FL which defines the
frequency of the input pulse. For example: If the counter SG0FL generates
a frequency of 32.4 KHz, a value of 63 would generate a tone frequency of
253 Hz.
The value read from this register does not necessarily reflect the current
tone frequency, because this frequency is determined by the frequency
compare buffer value. The buffer might not be updated yet.
For details see “Updating the frequency buffer values“ on page 849.
H
. This register is cleared by any reset.
14
R
0
H
H
. This register is cleared by any reset.
13
R
0
SG0FH
12
R
0
11
R
0
10
R
0
R
9
0
16
R
8
0
15
R
7
0
R
6
0
Counter SG0FH target value
5
SG0FL
4
3
R/W
2
Chapter 24
1
847
0
0

Related parts for upd70f3422gj-gae-qs-ax