Registers Controlling 16-Bit Timer/Event Counters 00 And 01 - NEC 78K0 Series User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

7.3 Registers Controlling 16-Bit Timer/Event Counters 00 and 01

Registers used to control 16-bit timer/event counters 00 and 01 are shown below.
• 16-bit timer mode control register 0n (TMC0n)
• Capture/compare control register 0n (CRC0n)
• 16-bit timer output control register 0n (TOC0n)
• Prescaler mode register 0n (PRM0n)
• Port mode register 0 (PM0)
• Port register 0 (P0)
(1) 16-bit timer mode control register 0n (TMC0n)
TMC0n is an 8-bit register that sets the 16-bit timer/event counter 0n operation mode, TM0n clear mode, and
output timing, and detects an overflow.
Rewriting TMC0n is prohibited during operation (when TMC0n3 and TMC0n2 = other than 00). However, it can
be changed when TMC0n3 and TMC0n2 are cleared to 00 (stopping operation) and when OVF0n is cleared to 0.
TMC0n can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets TMC0n to 00H.
Caution 16-bit timer/event counter 0n starts operation at the moment TMC0n2 and TMC0n3 are set to
values other than 00 (operation stop mode), respectively. Set TMC0n2 and TMC0n3 to 00 to
stop the operation.
µ
Remark n = 0:
PD78F0531, 78F0532, 78F0533
µ
n = 0, 1:
PD78F0534, 78F0535, 78F0536, 78F0537, 78F0537D
176
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Preliminary User's Manual U17260EJ3V1UD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents