Capture Control Register (Tccr) - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

8.4.1

Capture Control Register (TCCR)

The capture control register (TCCR) is used to select functions and detection edges,
control interrupts, and check interrupt states in timer 0 for the 8-bit mode of the 8/16 bit
capture timer/counter or in capture mode (16-bit mode).
Capture Control Register (TCCR)
Address
bit7
CPIF CFCLR CPIEN CCMSK TCMSK EDGS1 EDGS0 RESV
0019
H
R/W : Readable/Writable
R
: Read only
: Initial value
Figure 8.4-2 Capture Control Register (TCCR)
bit6
bit5
bit4
bit3
R
R/W
R/W
R/W
R/W
RESV
EDGS1 EDGS0
TCMSK
CCMSK
CPIEN
CFCLR
CPIF
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
Initial value
bit2
bit1
bit0
00000000
R/W
R/W
R/W
Capture input selection bit
0
Operation is not affected at all.
1
Capture mode enable/edge detection selection bit
Capture input prohibition Operation in timer/counter mode
0
0
0
1
Falling edge selection
1
0
Rising edge selection
Selection of both falling
1
1
and rising edges
Compare match counter clear mask bit
0
The counter is cleared per compare match.
1
The counter is not cleared at compare match.
Counter clear mask bit (at capture operation)
The counter is cleared when a capture edge is detected.
0
The counter is not cleared when a capture edge is detected.
1
Capture interrupt request enable bit
Capture interrupt request output is prohibited.
0
Capture interrupt request output is allowed.
1
Capture edge detection flag clear bit
Not affected (at read, always "0")
0
The capture edge detection flag is cleared.
1
Capture edge detection flag bit
No capture edge was detected.
0
A capture edge was detected.
1
B
Operation in capture mode
171

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents