CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER

Table 8.4-3 Explanation of Functions of Each Bit in Timer 1 Control Register (TCR1)

 

Bit name

Function

 

 

 

 

 

• This bit is set to "1" when the counter value of timer 1 matches the value

 

 

(comparator data latch) set in the timer 1 data register (TDR1).

 

TIF1:

• An interrupt request is output when this bit and the interrupt request enable bit

bit7

Compare match

(T1IEN) are "1".

 

detection flag bit

Note:

 

 

In the 16-bit mode, the TIF0 bit of TCR0 is valid. The TIF1 bit is unrelated to

 

 

operation.

 

 

 

 

TFCR1:

• This bit is used to clear the compare match detection flag bit (TIF1). When this

bit6

Compare match

bit is set to "1", the compare match detection flag is cleared. The flag is not

 

detection flag clear bit

affected even if this bit is set to "0".

 

 

 

 

T1IEN:

• This bit is used to allow and prohibit interrupt request output to the CPU.

bit5

Interrupt request enable

• An interrupt request is output when this bit and the interrupt request enable bit

 

bit

(T0IEN) are "1".

 

 

 

bit4

Not used

• This bit is undefined at read.

• At write, this bit does not affect operation.

 

 

 

 

 

 

 

• These bits are used to select the count clocks to be supplied to the counter.

bit3

TCS12, TCS11, TCS10:

• Of seven internal clocks, select one.

• When 111B is written to these bits, timer 1 operates as the 16-bit mode.

to

Clock source selection

Note:

bit1

bits

In the 16-bit mode, the TCS02, TCS01, and TCS00 bits are valid. The TCS12,

 

 

 

 

TCS11, and TCS10 bits are used to select the 16-bit mode only.

 

 

 

 

 

• This bit is used to start and stop the counter.

 

 

• When this bit is set to "1", the counter is cleared and incremented according to

bit0

TSTR1:

the selected count clock. When this bit is set to "0", the counter stops its

Timer start bit

operation.

 

 

 

• In the 16-bit mode, only the TSTR0 bit can be used to start the timer. The

 

 

TSTR1 bit is unrelated to operation.

 

 

 

Note:

When using timer 1 in the 16-bit mode, write 111B to the TCS12, TCS11, and TCS10 bits and then control timer 1 with TCR0.

176

Page 192
Image 192
Fujitsu MB89202, F202RA manual TIF1, TFCR1, T1IEN, TSTR1, 176

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.