NEC 78K0S/KA1+ Preliminary User's Manual page 82

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

www.DataSheet4U.com
(1) TI000 pin valid edge selected as capture trigger (CRC001 = 1, CRC000 = 1)
CR000 Capture Trigger
Falling edge
Rising edge
No capture operation
(2) TI010 pin valid edge selected as capture trigger (CRC001 = 0, CRC000 = 1)
CR000 Capture Trigger
www.DataSheet4U.com
Falling edge
Rising edge
Both rising and falling edges
Remarks 1. Setting ES010, ES000 = 1, 0 and ES110, ES100 = 1, 0 is prohibited.
Cautions 1. Set CR000 to a value other than 0000H in the clear & start mode entered on a match
82
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Table 6-2. CR000 Capture Trigger and Valid Edges of TI000 and TI010 Pins
Rising edge
Falling edge
Both rising and falling edges
Falling edge
Rising edge
Both rising and falling edges
2. ES010, ES000:
Bits 5 and 4 of prescaler mode register 00 (PRM00)
ES110, ES100:
Bits 7 and 6 of prescaler mode register 00 (PRM00)
CRC001, CRC000: Bits 1 and 0 of capture/compare control register 00 (CRC00)
between TM00 and CR000. However, in the free-running mode and in the clear & start
mode using the valid edge of TI000, if CR000 is set to 0000H, an interrupt request
(INTTM000) is generated when CR000 changes from 0000H to 0001H following overflow
(FFFFH).
2. If the new value of CR000 is less than the value of 16-bit timer counter 0 (TM00), TM00
continues counting, overflows, and then starts counting from 0 again. If the new value of
CR000 is less than the old value, therefore, the timer must be reset to be restarted after
the value of CR000 is changed.
3. When P31 is used as the input pin for the valid edge of TI010, it cannot be used as a timer
output (TO00). Moreover, when P31 is used as TO00, it cannot be used as the input pin
for the valid edge of TI010.
4. If the register read period and the input of the capture trigger conflict when CR000 is
used as a capture register, the read data is undefined (the capture data itself is a normal
value). Also, if the count stop input and the input of the capture trigger conflict, the
capture trigger is undefined.
5. Changing the CR000 setting may cause a malfunction. To change the setting, refer to 6.5
Cautions Related to 16-Bit Timer/Event Counter 00 (11) Changing compare register
during timer operation.
Preliminary User's Manual U16898EJ1V0UD
TI000 Pin Valid Edge
ES010
0
0
1
TI010 Pin Valid Edge
ES110
0
0
1
ES000
1
0
1
ES100
0
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents