Fujitsu FR60 Hardware Manual page 308

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 7 16-BIT FREE-RUNNING TIMER AND 16-BIT RELOAD TIMER
[Bits 9, 8, 7] Reserved
These bits are reserved. Be sure to set these bits to "0".
[Bit 6] (Reserved)
This bit is unused. The read value is always "0".
[Bit 5] OUTL
This bit sets the output level of the external timer. The output level is reversed depending on whether
this bit is "1" or "0".
Table 7.2-2 shows the settings of TOEx, OUTL, and RELD.
Table 7.2-2 Settings of TOEx, OUTL, and RELD
TOEx
0
1
1
1
1
× in the table indicates an arbitrary value.
TOEx indicates TOE0 to TOE3 in PFR (Port Function Register).
[Bit 4] RELD
This bit is the reload enable bit. If it is set to "1", reload mode is entered. As soon as the counter value
underflows from 0000
count operation is continued.
If this bit is set to "0", one-shot mode is entered and the count operation is stopped when the counter
value underflows from 0000
[Bit 3] INTE
This bit is the interrupt request enable bit. If the INTE bit is set to "1", an interrupt request is generated
when the UF bit is set to "1". If it is set to "0", no interrupt request is generated.
[Bit 2] UF
This bit is the timer interrupt request flag. This bit is set to "1" when the counter value underflows from
0000
Writing "1" to this bit is meaningless.
When this bit is read by a read modify write instruction, "1" is always read.
[Bit 1] CNTE
This bit is the count enable bit of the timer. Write "1" to this bit to enter the start trigger wait state.
Write "0" to this bit to stop the count operation.
[Bit 0] TRG
This bit is the software trigger bit. Write "1" to this bit to generate a software trigger, load the contents
of the reload register into the counter, and start the count operation.
Writing "0" to this bit is meaningless. The read value is always "0".
The trigger input to this register is valid only if CNTE=1.
No operation occurs if CNTE=0.
290
OUTL
RELD
×
×
0
0
1
0
0
1
1
1
to FFFF
H
to FFFF
H
to FFFF
. Write "0" to this bit to clear it.
H
H
Output waveform
Output prohibited
"H" level square wave while counting is in progress
"L" level square wave while counting is in progress
"L" level toggle output while the counting is started
"H" level toggle output while the counting is started
, the contents of the reload register are loaded into the counter and the
H
.
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents