Capture/Compare Control Register 0 Format - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) Capture/compare control register 0 (CRC0)
This register controls the operation of the capture/compare registers 00, 01 (CR00, CR01).
CRC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CRC0 value to 04H.
Figure 8-5. Capture/Compare Control Register 0 Format
Symbol
7
6
5
0
0
0
CRC0
Cautions 1. The timer operation must be stopped before setting CRC0.
2. When clear & start mode on a match between TM0 and CR00 is selected with the 16-
bit timer mode control register (TMC0), CR00 should not be specified as a capture
register.
(4) 16-bit timer output control register (TOC0)
This register controls the operation of the 16-bit timer/event counter output control circuit. It sets R-S type
flip-flop (LV0) setting/resetting, the active level in PWM mode, inversion enabling/disabling in modes other
than PWM mode, 16-bit timer/event counter timer output enabling/disabling, one-shot pulse output operation
enabling/disabling, and output trigger for a one-shop pulse by software.
TOC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 value to 00H.
182
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
4
3
2
1
0
0
0
CRC02 CRC01 CRC00
Address
After Reset
FF4CH
04H
CRC00
CR00 Operating Mode Selection
0
Operates as compare register
1
Operates as capture register
CRC01
CR00 Capture Trigger Selection
0
Captures on valid edge of TI01
1
Captures on valid edge of TI00
CRC02
CR01 Operating Mode Selection
0
Operates as compare register
1
Operates as capture register
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents