
761
Chapter 37 Output Compare
4.Registers
4. Registers
4.1 OCS: Output Control Register
A register for controlling the operation of output compare.
• OCS01 (Output compare 0-1): Address 018Ch (Access:
Byte, Half-word, Word
)
• OCS23 (Output compare 2-3): Address 018Eh (Access:
Byte, Half-word, Word
)
• OCS45 (Output compare 4-5): Address 02DCh (Access:
Byte, Half-word, Word
)
• OCS67 (Output compare 6-7): Address 02DEh (Access:
Byte, Half-word, Word
)
(For information on attributes, see “
Meaning of Bit Attribute Symbols (Page No.10)
”.)
• bit15-bit13: undefined Writing does not affect the operation. The read out value is “1”.
• bit12: Reverse Mode
• Specifies the output level reversal operation of pin OCU1 when free-run timer count value TCDT0
matches compare registers OCCP0, OCCP1.
• When the reverse mode bit is set to “1”, the operation is as follows.
OCU0 pin: output reverses when free-run timer TCDT2 matches compare register 0 (OCCP0)
OCU1 pin: output reverses when free-run timer TCDT2 matches compare register 1 (OCCP1)
• When the reverse mode bit is set to “0”, the operation is as follows.
OCU0 pin: output reverses when free-run timer TCDT2 matches compare register 0(OCCP0)
OCU1 pin: output reverses when free-run timer TCDT2 matches compare register 0 (OCCP0) or
compare register 1 (OCCP1)
Note: Reversal mode does not allow interrupts, even with cooperative operation (CMOD=“1”).
• For output from pins OCU0, OCU1, registers PFR15.0, PFR15.1 must be set.
• bit11-bit10: Undefined Writing does not affect the operation. The read value is “1”.
• bit9: Pin-level settings (output compare 1)
To perform output on pin OCU1, general-purpose port settings must be performed.
• bit8: Pin-level settings (output compare 0)
• To perform output on pin OCU0, general-purpose port settings must be performed.
15
14
13
12
11
10
9
8
bit
–
–
–
CMOD
–
–
OTD1
OTD0
1
1
1
0
1
1
0
0
Initial Value
R1/W1
R1/W1
R1/W1
R/W
R1/W1
R1/W1
R/W
R/W
Attribute
7
6
5
4
3
2
1
0
bit
ICP1
ICP0
ICE1
ICE0
–
–
CST1
CST0
0
0
0
0
1
1
0
0
Initial Value
R(RM1),W
R(RM1),W
R/W
R/W
R1/W1
R1/W1
R/W
R/W
Attribute
CMOD
Operation Mode
0
Independent operation (the output level reversal operation of pins OCU0-OCU1 is independent)
1
Combined operation
(OCU1 output pin level is inverted when output compare 0 or output compare 1 is matched in the
compare operation.)
OTD1
Operation
0
Set the output level of pin OCU1 to “L”
1
Set the output level of pin OCU1 to “H”
OTD0
Operation
0
Set the output level of pin OCU0 to “L”
1
Set the output level of pin OCU0 to “H”
Summary of Contents for FR Family FR60 Lite
Page 2: ...FUJITSU LIMITED ...
Page 3: ...FR60 32 BIT MICROCONTROLLER MB91460 Series User s Manual ...
Page 15: ...xi ...
Page 16: ...xii ...
Page 38: ...22 Chapter 2 MB91460 Rev A Rev B Overview 4 Block Diagram ...
Page 128: ...112 Chapter 4 CPU Architecture 9 Addressing ...
Page 153: ...137 Chapter 8 Device State Transition 3 State Transition Diagram ...
Page 154: ...138 Chapter 8 Device State Transition 3 State Transition Diagram ...
Page 169: ...153 Chapter 9 Reset 10 Caution ...
Page 170: ...154 Chapter 9 Reset 10 Caution ...
Page 180: ...164 Chapter 10 Standby 7 Q A ...
Page 182: ...166 Chapter 10 Standby 8 Caution ...
Page 199: ...183 Chapter 12 Instruction Cache 2 Main body structure Figure 2 3 I Cache Address Map ...
Page 200: ...184 Chapter 12 Instruction Cache 2 Main body structure Figure 2 4 I Cacheable Area ...
Page 222: ...206 Chapter 13 Clock Control 8 Caution ...
Page 232: ...216 Chapter 14 PLL Interface 7 Caution ...
Page 236: ...220 Chapter 15 CAN Clock Prescaler 3 Registers ...
Page 288: ...272 Chapter 19 Timebase Timer 8 Caution ...
Page 314: ...298 Chapter 22 Main Oscillation Stabilisation Timer 8 Caution ...
Page 326: ...310 Chapter 23 Sub Oscillation Stabilisation Timer 8 Caution ...
Page 348: ...332 Chapter 25 External Interrupt 8 Caution ...
Page 398: ...382 Chapter 26 DMA Controller 6 DMA External Interface ...
Page 402: ...386 Chapter 27 Delayed Interrupt 8 Caution ...
Page 412: ...396 Chapter 28 Bit Search 8 Caution ...
Page 521: ...505 Chapter 30 I O Ports 3 Port Register Settings ...
Page 522: ...506 Chapter 30 I O Ports 3 Port Register Settings ...
Page 574: ...558 Chapter 31 External Bus 4 Endian and Bus Access Byte Access ...
Page 628: ...612 Chapter 31 External Bus 13 Notes on Using the External Bus Interface ...
Page 706: ...690 Chapter 33 I2C Controller 4 Programming Flow Charts ...
Page 748: ...732 Chapter 34 CAN Controller 4 CAN Application ...
Page 762: ...746 Chapter 35 Free Run Timer 8 Caution ...
Page 790: ...774 Chapter 37 Output Compare 8 Caution ...
Page 838: ...822 Chapter 39 Programmable Pulse Generator 8 Caution ...
Page 850: ...834 Chapter 40 Pulse Frequency Modulator 4 PFM Operation and Setting ...
Page 886: ...870 Chapter 42 Sound Generator 3 Registers ...
Page 900: ...884 Chapter 43 Stepper Motor Controller 4 Caution ...
Page 939: ...923 Chapter 47 LCD Controller 3 Configuration Figure 3 2 Register List ...
Page 943: ...927 Chapter 47 LCD Controller 4 Registers Correspondence between VRAM and Common Segment Pins ...
Page 964: ...948 Chapter 48 Clock Monitor 8 Caution ...
Page 994: ...978 Chapter 51 Low Voltage Reset Interrupt 3 Registers ...
Page 998: ...982 Chapter 52 Regulator Control 3 Registers ...
Page 1008: ...992 Chapter 53 Fixed Mode Reset Vector BOOT ROM 5 Bootloader Update Strategy ...
Page 1024: ...1008 Chapter 54 Flash Memory 8 Caution ...
Page 1032: ...1016 Chapter 55 Flash Security 4 Register ...
Page 1034: ...1018 Chapter 56 Electrical Specification ...
Page 1035: ...FR60 MB91460 Series Hardware Manual European Microcontroller Design Centre Author MBo ...
Page 1036: ......
Page 1038: ......