8/16-Bit Composite Timer 00/01 Control Status Register 0 (T00Cr0/T01Cr0) - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 16 8/16-BIT COMPOSITE TIMER
16.5.1
8/16-bit Composite Timer 00/01 Control Status Register 0
(T00CR0/T01CR0)
The 8/16-bit composite timer 00/01 control status register 0 (T00CR0/T01CR0) selects the
timer operation mode, selects the count clock, and enables or disables IF flag interrupts.
The T00CR0 and T01CR0 registers correspond to timers 00 and 01, respectively.

8/16-bit Composite Timer 00/01 Control Status Register 0 (T00CR0/T01CR0)

Figure 16.5-2 8/16-bit Composite Timer 00/01 Control Status Register 0 (T00CR0/T01CR0)
Address
0F92
T01CR0
H
0F93
T00CR0
H
R/W : Readable/writable (Read value is the same as write value)
R : Read only
: Initial value
240
bit7
bit6
bit5
bit4
bit3
IFE
C2
C1
C0
F3
R/W
R/W
R/W
R/W
R/W
F3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
bit2
bit1
bit0
Initial value
F2
F1
F0
00000000
R/W
R/W
R/W
F2
Timer operation mode select bits
F1
F0
0
0
0
Interval timer (one-shot mode)
0
0
1
Interval timer (continuous mode)
0
1
0
Interval timer (free-run mode)
PWM timer (fixed-cycle mode)
0
1
1
1
0
0
PWM timer (variable-cycle mode)
1
1
0
PWC timer (H pulse = rising to falling)
1
1
0
PWC timer (L pulse = falling to rising)
1
1
1
PWC timer (cycle = rising to rising)
PWC timer (cycle = falling to falling)
0
0
0
0
0
1
PWC timer (H pulse = rising to falling; Cycle = rising to rising)
Input capture (rising, free-run counter)
0
1
0
Input capture (falling, free-run counter)
0
1
1
Input capture (both edges, free-run counter)
1
0
0
Input capture (rising, counter clear)
1
0
1
1
1
0
Input capture (falling, counter clear)
1
1
1
Input capture (both edges, counter clear)
C2
C1
C0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
IFE
IF flag interrupt enable
0
IF flag interrupt disabled
1
IF flag interrupt enabled
B
Count clock select bits
1 x MCLK (machine clock)
1/2 x MCLK (machine clock)
1/4 x MCLK (machine clock)
1/8 x MCLK (machine clock)
1/16 x MCLK (machine clock)
1/32 x MCLK (machine clock)
7
1/2
x Fch
External clock

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents