CHAPTER 12 A/D CONVERTER

Table 12.4-1 Explanation of Functions of Each Bit in the Bits in A/D Control Register 1 (ADC1)

 

Bit name

Function

 

 

 

bit7

Unused bit

• The value during read is not determined.

• Write does not affect operations.

 

 

 

 

 

 

 

This bit is used to select which pin to be used as an analog input from AN0 to

bit6

ANS2, ANS1, ANS0:

AN7.

When software is activated (ADC2: EXT = 0), this bit can be rewritten

to

Analog input channel

concurrently with the activation of A/D conversion (AD = 1).

bit4

selection bits

Note:

 

 

 

 

Pins not used as analog inputs can be used as general-purpose ports.

 

 

 

 

 

• When A/D conversion functions are enabled:

 

ADI:

• When A/D conversion is completed, "1" is set to this bit.

 

• When this bit and the bit for enabling an interrupt request (ADC2: ADIE) are

bit3

Interrupt request flag

"1", an interrupt request is output.

 

bit

 

• At write, this bit is cleared with "0". When "1" is set to this bit, nothing is

 

 

 

 

changed or affected by this.

 

 

 

 

 

This bit indicates that A/D conversion is being performed, when A/D conversion

 

 

functions are enabled.

bit2

ADMV:

During conversion (comparison), this bit is set to "1".

Convertion flag bit

Note:

 

 

 

This bit is read-only. The written value is ignored and nothing is affected by

 

 

the value.

 

 

 

bit1

RESV0:

• The value during read is not determined.

Reserved bit

• Write does not affect operations.

 

 

 

 

 

 

• This bit is used to activate A/D conversion functions with software.

 

 

• In the state where continuous activation is not performed (ADC2: EXT = 0),

 

AD:

when "1" is set to this bit, A/D conversion functions are activated.

bit0

A/D conversion

Notes:

 

activation bit

• Even if "0" is written to this bit, the operation of A/D conversion functions

 

 

cannot be stopped. The read value is always "0".

 

 

• During continuous activation, this bit is ignored.

 

 

 

267

Page 283
Image 283
Fujitsu F202RA, MB89202 manual ANS2, ANS1, ANS0, Adi, Admv, RESV0, 267

F202RA, MB89202 specifications

The Fujitsu MB89202 and F202RA microcontrollers are part of the 16-bit microcontroller family, renowned for their robust performance and versatility in a variety of embedded system applications. These devices are tailored for high-efficiency operation across diverse industries, including automotive, consumer electronics, and industrial automation.

One of the main features of the MB89202 is its powerful CPU core, which operates at a clock speed of up to 20 MHz. This enables the microcontroller to perform complex calculations and consumer-grade applications seamlessly. The architecture is designed to handle multiple tasks effectively, making it suitable for real-time operations.

Memory capacity is a vital characteristic of the MB89202, featuring on-chip RAM and ROM configurations. The microcontroller can accommodate different memory variants, providing developers with flexibility in memory allocation based on their application requirements. This adaptability facilitates applications ranging from simple control systems to complex data processing tasks.

The F202RA variant extends the capabilities of the MB89202 by integrating advanced peripheral functions. It includes built-in timers, A/D converters, and serial communication interfaces, which are essential for interfacing with other hardware components or sensors. The availability of these peripherals reduces the need for additional external circuits, thus contributing to a more compact and cost-effective design.

In terms of power management, the MB89202 series employs advanced power-saving technologies. The microcontroller offers various low-power modes, enabling devices to conserve energy during idle times, making it highly suitable for battery-operated applications. This characteristic not only enhances the efficiency of devices but also extends their operational lifespan.

Moreover, the Fujitsu MB89202 series incorporates robust protection features, including watchdog timers and failure detection mechanisms. These safety features ensure reliable operation in critical systems, making them a preferred choice in applications where failure is not an option.

The MB89202 and F202RA microcontrollers also support a range of development tools and environments, including integrated development environments (IDEs) and software libraries, which facilitate rapid application development. With these tools, developers can efficiently prototype, debug, and optimize their applications.

In summary, the Fujitsu MB89202 and F202RA microcontrollers stand out with their efficient performance, extensive memory options, integrated peripherals, and power-saving capabilities, making them ideal for a wide array of embedded applications. Their reliability and robustness further enhance their attractiveness for designers seeking advanced microcontroller solutions.