Fujitsu MB90480 Series Hardware Manual page 288

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 13 8/16-BIT UP/DOWN COUNTER/TIMER
CFIE
0
1
[bit12] CLKS (built-in prescaler selection)
This bit is used to select the frequency of built-in prescaler in the selection of the timer mode.
It is only valid in the timer mode, and only decrementing (down count) is permitted.
CLKS
0
1
If this bit is rewritten after its start, the count value is not assured.
[bit11, bit10] CMS1, CMS0 (count mode selection)
These bits are used to select the count mode.
CMS1
0
0
1
1
If this bit is rewritten after its start, the count value is not assured.
[bit9, bit8] CES1, CES0 (count clock edge selection)
These bits are used to select the detection edge of external pins AIN and BIN in the up/down
count mode.
This setting is invalid in modes other than up/down count.
CES1
0
0
1
1
If this bit is rewritten after its start, the count value is not assured.
266
Direction reversal interrupt output
Direction reversal interrupt output prohibit (initial value)
Direction reversal interrupt output permit
2 machine cycles (initial value)
8 machine cycles
CMS0
0
Timer mode [decremented] (initial value)
1
Up/down count mode
0
Phase difference count mode: frequency multiplied by 2
1
Phase difference count mode: frequency multiplied by 4
CES0
0
Edge detect prohibit (initial value)
1
Falling edge detect
0
Rising edge detect
1
Both rising and falling edges detected
Internal clock selected
Count mode
Selected edge

Advertisement

Table of Contents
loading

Table of Contents