CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U17446EJ3V1UD
90
Cautions 5. If the register read period and the input of the capture trigger conflict when CR010 is
used as a capture register, the capture trigger input takes precedence and the read data
is undefined. Also, if the timer count stop and the input of the capture trigger conflict,
the capture data is undefined.
6. Changing the CR010 setting during TM00 operation may cause a malfunction. To change
the setting, refer to 6.5 Cautions Related to 16-bit Timer/Event Counter 00 (17) Changing
compare register during timer operation.
6.3 Registers to Control 16-bit Timer/Event Counter 00
The following six types of registers are used to control 16-bit timer/event counter 00.
•
16-bit timer mode control register 00 (TMC00)
•
Capture/compare control register 00 (CRC00)
•
16-bit timer output control register 00 (TOC00)
•
Prescaler mode register 00 (PRM00)
•
Port mode register 3 (PM3)
•
Port register 3 (P3)
(1) 16-bit timer mode control register 00 (TMC00)
This register sets the 16-bit timer operating mode, the 16-bit timer counter 00 (TM00) clear mode, and output
timing, and detects an overflow.
TMC00 is set by a 1-bit or 8-bit memory manipulation instruction.
Generation of reset signal sets the value of TMC00 to 00H.
Caution 16-bit timer counter 00 (TM00) starts operation at the moment TMC002 and TMC003
(operation stop mode) are set to a value other than 0, 0, respectively. Set TMC002 and
TMC003 to 0, 0 to stop the operation.
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...