Fujitsu F2MC-16LX Hardware Manual page 266

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 12 16-BIT I/O TIMER
[bit 9, bit 8] OTD1,OTD0 (Output level bit)
It is used when you want to change the pin output level if the pin output of the output compare is
enabled. The initial value of the compare pin output is "0". To perform a write operation, first, stop the
compare operation. When you perform a read operation, the output value of the output compare pin is
read out.
0
1
• OTD1: Corresponding to output compare 1/3
• OTD0: Corresponding to output compare 0/2
[bit 7, bit 6] ICP1,ICP0 (Compare match interrupt flag bit)
It is output compare interrupt flag.When the values of the compare registers match that of the 16-bit
free-run timer, it is set to "1". If the interrupt request bits (ICE1 and ICE0) are enabled, an output
compare interrupt is generated when ICP1 and ICP0 bits are set. It is cleared by writing "0" and writing
"1" has no meaning. In the read modify system, "1" is read.
0
1
• ICP1: Corresponding to output compare 1/3
• ICP0: Corresponding to output compare 0/2
[bit 5, bit 4] ICE1,ICE0 (Compare match interrupt enable bit)
It is the interrupt enable bit for the output compare. If the ICE1 and ICE0 bits are "1", an output
compare interrupt is generated when the interrupt flags (ICP1 and ICP0) are set.
0
1
• ICE1: Corresponding to output compare 1/3
• ICE0: Corresponding to output compare 0/2
[bit 3, bit 2] undefinition bit
The reading value is irregular. No effect on writing.
[bit 1, bit 0] CST1,CST0 (Compare operation enable bit)
These bits permit a matching operation with the 16-bit free-run timer.
0
1
• CST1: Corresponding to output compare 1/3
• CST0: Corresponding to output compare 0/2
Set the compare register values before enabling a compare operation.
250
Sets the compare pin output to "0". [Initial value]
Sets the compare pin output to "1".
No Compare match[Initial value]
Compare match
Output compare interruption interdiction [Initial value]
Output compare interruption permission.
Compare operation disabled [Initial value]
Compare Operation enabled

Advertisement

Table of Contents
loading

Table of Contents