Fujitsu FR81S User Manual

Page of 2342
CHAPTER 25: 16-BIT OUTPUT COMPARE 
 
 
2. Features 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : 16-BIT OUTPUT COMPARE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
2.  Features 
This section explains the features of the 16-bit output compare. 
  Functions of 16-bit Output Compare 
 
16-bit output compare consists of six 16-bit compare registers (with selectable buffer registers), 
compare output latch, 3 compare control registers, and compare mode control registers. When the 16-bit 
free-run timer value matches a compare register, an interrupt is generated and the output level is 
inverted.   
 
The 6 compare registers can be operated independently. An output pin and an interrupt flag correspond 
to each of the compare registers.   
 
Two compare registers can be used as a pair to control output pins. Two compare registers combined as 
a pair can be used to invert the output pins.   
 
The initial values for output pins can be set.   
 
An interrupt can be generated when an output compare register matches the 16-bit free-run timer.   
 
Any desired free-run timer channel can be set for each compare unit.   
 
Any of free-run timers 0 through 2 can be selected as the input for output compare 0 through 5 among 
output compare 6 channels. This can be set at the free-run timer selection register (FRS0). See "Free-run 
Timer Selection Register: FRS" of "CHAPTER: 16-BIT FREE-RUN TIMER" for details. 
 
The compare output for an output compare can be output from the waveform generator output pin. 
The PPG timer's GATE signal output can be also controlled. See "CAHPTER: WAVEFORM 
GENERATOR" for details. 
 
 
MB91520 Series
MN705-00010-1v0-E
959