A/D Group Scan Priority Control Register (Adgspcr) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
26.2.16

A/D Group Scan Priority Control Register (ADGSPCR)

Address(es): S12AD.ADGSPCR 0008 9080h
b15
b14
GBRP LGRRS
Value after reset:
0
0
Bit
Symbol
b0
PGS
b1
GBRSCN
b13 to b2
b14
LGRRS
b15
GBRP
Note 1. When the PGS bit is to be set to 1, the ADCSR.ADCS[1:0] bits must be set to 01b (group scan mode). If the bits are set to any
other values, proper operation is not guaranteed.
Note 2. When the GBRSCN bit is to be set to 1, the frequency ratio of peripheral module clock PCLK to A/D conversion clock ADCLK
should be set to 1:1.
Note 3. When the GBRP bit has been set to 1, single scan is performed continuously for the lowest-priority group regardless of the
setting of the GBRSCN bit.
ADGSPCR is used to discontinue scanning of the low-priority group and make settings for priority control of scanning
for the priority group in group scan mode.
For the settings on group priority operation, see Table 26.11 and Table 26.12 .
PGS Bit (Group Priority Control Setting)
This bit sets the priority of operation in group scan mode. Set this bit to 1 when giving priority to operation on the group.
When the PGS bit is to be set to 1, the ADCSR.ADCS[1:0] bits must be set to 01b (group scan mode).
During group priority operation, a trigger to start scanning for the priority group is accepted during scan for the low-
priority group, and scan for the priority group is started after scan for the low-priority group was discontinued. The
priority order is group A > group B > group C.
When a trigger to start scanning for group B is accepted during scan for group C, group C scan is discontinued, and scan
for group B is started. When a trigger to start scanning for group A is accepted during scan for group C, group C scan is
discontinued, and scan for group A is started.
Likewise, when a trigger to start scanning for group A is accepted during scan for group B, group B scan is discontinued
and scan for group A is started.
When setting the PGS bit to 0, clearing should be performed by software according to section 26.6.2, Notes on
Stopping A/D Conversion . When setting the PGS bit to 1, follow the procedure described in section 26.3.4.3,
Operation under Group Priority Control .
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b13
b12
b11
b10
0
0
0
0
Bit Name
Description
Group Priority Control
0: Operation is without group priority control
1
Setting*
1: Operation is with group priority control
Low-Priority Group
(Enabled only when PGS = 1. Reserved when PGS = 0.)
Restart Setting*
2
0: Scanning for the group is not restarted after having been
1: Scanning for the group is restarted after having been discontinued
Reserved
These bits are read as 0. The write value should be 0.
Restart Channel Select
(Enabled when PGS = 1 and GBRSCN = 1. Reserved when PGS = 0
or GBRSCN = 0.)
0: Scanning is restarted from the scan start channel.
1: Scanning is restarted from the channel on which A/D conversion is
Single Scan Continuous
(Enabled only when PGS = 1. Reserved when PGS = 0.)
3
Start*
0: Single scan is not continuously activated.
1: Single scan for the lowest-priority group is continuously activated.
b9
b8
b7
b6
0
0
0
0
discontinued due to group priority control.
due to group priority control.
not completed.
26. 12-Bit A/D Converter (S12ADF)
b5
b4
b3
b2
GBRSC
0
0
0
0
Page 834 of 1041
b1
b0
PGS
N
0
0
R/W
R/W
R/W
R/W
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents