21.07.2013 Views

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.2. Range Comparator Registers<br />

The Range Comparator (RCO) has the following registers:<br />

• RCOHx[7:0] : Upper threshold register, one register per comparator block (x = 0...3)<br />

• RCOLx[7:0] : Lower threshold register, one register per comparator block (x = 0...3)<br />

• ADCCm[7:0] : ADC channel control, one register per 2 ADC channels (m = 0...15)<br />

• RCOIRS[0:31] : RCO Inverted Range Selection, one bit per ADC channel<br />

• RCOOF[0:31] : RCO Overflow Flags, one bit per ADC channel, read-only<br />

• RCOINT[0:31] : RCO Interrupt Flags, one bit per ADC channel<br />

5.2.1. Range Comparator Threshold registers (RCOH0/L0 to RCOH3/L3)<br />

• RCOH0-3 : Higher threshold, access: Word, Half-word, Byte<br />

<strong>MB91460E</strong> <strong>Series</strong><br />

15 14 13 12 11 10 9 8 Bit<br />

RCOH7 RCOH6 RCOH5 RCOH4 RCOH3 RCOH2 RCOH1 RCOH0<br />

1 1 1 1 1 1 1 1 Initial value<br />

R/W R/W R/W R/W R/W R/W R/W R/W Attribute<br />

[bit 7:0] RCOH[7:0] (Range Comparator High threshold)<br />

The RCOH bits define the higher comparision threshold of the Range Comparator channel.<br />

The upper Range Comparator compares that the upper 8 bits of the ADC conversion result are higher then<br />

RCOH[7:0]<br />

• RCOL0-3 : Lower threshold, access: Word, Half-word, Byte<br />

7 6 5 4 3 2 1 0 Bit<br />

RCOL7 RCOL6 RCOL5 RCOL4 RCOL3 RCOL2 RCOL1 RCOL0<br />

0 0 0 0 0 0 0 0 Initial value<br />

R/W R/W R/W R/W R/W R/W R/W R/W Attribute<br />

[bit 7:0] RCOL[7:0] (Range Comparator Low threshold)<br />

The RCOL bits define the lower comparision threshold of the Range Comparator channel.<br />

The lower Range Comparator compares that the upper 8 bits of the ADC conversion result are lower then<br />

RCOL[7:0]<br />

DS705-00002-1v3-E 41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!