Fujitsu FR81S User Manual

Page of 2342
CHAPTER 44: 12-BIT A/D CONVERTER 
 
 
4. Registers 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : 12-BIT A/D CONVERTER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
42 
4.2.9. Range Compare Control Status Register: ADRCCS0 to 
ADRCCS47 
The bit configuration of the range compare control status register is shown. 
The range compare control status register (ADRCCS) confirms the instruction of the continuous detection 
count and the state of the continuous detection count. And, this register selects inside/outside the range 
confirmation, range comparison interrupt request enable/disable, range comparison execution 
enable/disable, and upper and lower bound threshold. 
  ADRCCS0 to ADRCCS31: Address 141C
H
 to 143B
H
 (Access: Byte, Half-word, 
Word)   
  ADRCCS32 to ADRCCS47: Address 1588
H
 to 1597
H
 (Access: Byte, Half-word, 
Word)   
 
bit7 
bit6 
bit5 
bit4 
bit3 
bit2 
bit1 
bit0 
 
 
RCOCD2  RCOCD1  RCOCD0  RCOIRS 
RCOIE 
RCOE 
RCOTS1  RCOTS0 
Initial value 
Attribute 
R/W 
R/W 
R/W 
R/W 
R/W 
R/W 
R/W 
RW 
 
[bit7 to bit5] RCOCD2 to RCOCD0 : Continuous detection count specification and state indicate bit 
RCOCD2 
to 
RCOCD0 
Explanation 
Read by a other than 
read-modify-write (RMW) instruction 
Read by a read-modify-write 
(RMW) instruction or writing 
"000
B
State of continuous detection : 0 time 
Setting disable 
"001
B
State of continuous detection : 1 time 
Continuous detection is specified 1 time 
"010
B
State of continuous detection : 2 times 
Continuous detection is specified 2 times 
"011
B
State of continuous detection : 3 times 
Continuous detection is specified 3 times 
"100
B
State of continuous detection : 4 times 
Continuous detection is specified 4 times 
"101
B
State of continuous detection : 5 times 
Continuous detection is specified 5 times 
"110
B
State of continuous detection : 6 times 
Continuous detection is specified 6 times 
"111
B
State of continuous detection : 7 times 
Continuous detection is specified 7 times 
 
These bits show the specification of the continuous detection count of the range comparison result and 
the state of the continuous detection count. 
 
When the range comparison result reaches the continuous count specification value, "1" is set to the 
range comparison interrupt factor flag bit of the corresponding activation channel (ADRCIF.RCINT n). 
Moreover, continuous detection stops by the continuous count specification value. 
 
When reading other than read-modify-write (RMW) instruction, state of continuous detection is read. 
 
When read-modify-write (RMW) instruction is read, the writing value (continuous count instruction 
value) is read. 
MB91520 Series
MN705-00010-1v0-E
1845