21.07.2013 Views

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

5.2.2. A/D Converter Channel Control registers (ADCC0 to ADCC15)<br />

The A/D channel control registers serve 2 ADC channels per register and control the range comparision for<br />

these channels.<br />

ADCC0 register controls A/D channels 0 + 1,<br />

ADCC1 register controls A/D channels 2 + 3,<br />

...<br />

ADCC15 register controls A/D channels 30 + 31<br />

• ADCC0-15: Access: Word, Half-word, Byte<br />

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

RCOIE1 RCOE1 RCOS11 RCOS10 RCOIE0 RCOE0 RCOS01 RCOS00<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 />

Bits 7:4 control A/D channels 1,3,5,7,...31 Bits 3:0 control A/D channels 0,2,4,6,...,30<br />

[bit 7,3] RCOIE1, RCOIE0 (Range Comparator Interrupt enable)<br />

The RCOIE bits enable the Range Comparator interrupt for the corresponding ADC channel.<br />

RCOIE Function<br />

0 RCO interrupt for this ADC channel is disabled [default]<br />

1 RCO interrupt for this ADC channel is enabled<br />

[bit 6,2] RCOE1, RCOE0 (Range Comparator operation enable)<br />

The RCOE bits enable the Range Comparision for the corresponding ADC channel:<br />

RCOE Function<br />

RCO disabled,<br />

0<br />

RCO flags for this ADC channel will not be set [default]<br />

1 RCO enabled for this ADC channel<br />

[bits 5:4,1:0] RCOS1[1:0], RCOS0[1:0] (converter channel select)<br />

These bits select the A/D converter channel to be assigned to the Range Comparator channel:<br />

RCOS[1:0] Function<br />

00<br />

Select range comparator channel 0 for this ADC channel [default]<br />

01 Select range comparator channel 1 for this ADC channel<br />

10 Select range comparator channel 2 for this ADC channel<br />

11 Select range comparator channel 3 for this ADC channel<br />

42 DS705-00002-1v3-E

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

Saved successfully!

Ooh no, something went wrong!