CHAPTER 15 8/16-BIT PPG TIMER
15.3.4 Reload Registers (PRLL0 to PRLL5, PRLH0 to PRLH5)
This section describes the configuration and functions of the reload registers (PRLL0
to PRLL5, PRLH0 to PRLH5).
■
Reload registers (PRLL0 to PRLL5, PRLH0 to PRLH5)
The bit configuration of the reload registers (PRLL0 to PRLL5, PRLH0 to PRLH5) is shown
below.
ch.0 00002E
H
ch.1 000030
H
ch.2 000032
H
ch.3 000034
H
ch.4 000036
H
ch.5 000038
H
ch.0 00002F
H
ch.1 000031
H
ch.2 000033
H
ch.3 000035
H
ch.4 000037
H
ch.5 000039
H
The reload registers (PRLL0 to PRLL5, PRLH0 to PRLH5) are 8-bit registers which each store a
reload value for the down counter (PCNT). The registers have the following functions.
Register name
PRLL
PRLH
•
Both registers can be read and written.
Note:
In 8-bit prescaler + 8-bit PPG mode, it is recommended that PRLL and PRLH for channels 0/2/4
are set to the same value.
330
7
6
5
4
D07
D06
D05 D04
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write
(X)
(X)
(X)
(X)
15
14
13
12
D15
D14
D13 D12
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write
(X)
(X)
(X)
(X)
Stores the "L" side reload value
Stores the "H" side reload value
3
2
1
0
D03
D02
D01
D00
(X)
(X)
(X)
(X)
11
10
9
8
D11
D10
D09
D08
(X)
(X)
(X)
(X)
Function
PRLL0 to PRLL5
Reload register "L"
Initial value
PRLH0 to PRLH5
Reload register "H"
Initial value