
R01UH0076ED0103 Rev. 1.03 17
Nov 07, 2012
Table of Contents
Under development: Preliminary document. Specifications in this document are tentative and subject to change.
17.15.6 TAUCn simultaneous rewrite register details. . . . . . . . . . . . . . . . . . . . . . . 1327
17.15.7 TAUCn emulation register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1330
Chapter 18 Timer Array Unit J (TAUJ)
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1331
18.1 V850E2/Fx4 TAUJ Features
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1331
18.2 TAUJ Input Selection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1335
18.2.1 TAUJ0/TAUJ1 input selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1335
18.3 Functional Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1341
18.3.1 Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343
18.4 Functional Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1344
18.5 General Operating Procedure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1346
18.6 Operation Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1347
18.7 Concepts of Synchronous Channel Operation
. . . . . . . . . . . . . . . . . . 1348
18.7.1 Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1348
18.7.2 Simultaneous start and stop of synchronous channel counters . . . . . . . . 1350
18.8 Simultaneous Rewrite
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351
18.8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351
18.8.2 How to control simultaneous rewrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1352
18.8.3 Other general rules of simultaneous rewrite . . . . . . . . . . . . . . . . . . . . . . . 1353
18.8.4 Simultaneous rewrite procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1354
18.9 Channel Output Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1356
18.9.1 General procedure for specifying a channel output mode. . . . . . . . . . . . . 1358
18.9.2 Channel output modes controlled independently by TAUJn signals . . . . . 1359
18.9.3 Channel output modes controlled synchronously by TAUJn signals. . . . . 1360
18.10 Start Timing of Operating Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1361
18.10.1 Interval Timer Mode, Capture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1361
18.10.2 Other operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1362
18.11 TAUJnTTOUTm Output and INTTAUJnIm Generation when Counter
Starts or Restarts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1363
18.12 Interrupt Generation upon Overflow
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1364
18.12.1 Capture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1365
18.12.2 Capture and One Count Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366
18.12.3 Count Capture Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1367
18.12.4 Capture and Gate Count Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1368
18.13 TAUJnTTINm Edge Detection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1369
18.14 Independent Channel Operation Functions
. . . . . . . . . . . . . . . . . . . . . 1370
18.15 Independent Channel Interrupt Functions
. . . . . . . . . . . . . . . . . . . . . . 1370
18.15.1 Interval Timer Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1371
18.15.2 TAUJnTTINm Input Interval Timer Function . . . . . . . . . . . . . . . . . . . . . . . 1378
18.16 Independent Channel Signal Measurement Fuctions
. . . . . . . . . . . 1384
18.16.1 TAUJnTTINm Input Pulse Interval Measurement Function . . . . . . . . . . . . 1385
18.16.2 TAUJnTTINm Input Signal Width Measurement Function. . . . . . . . . . . . . 1392
18.16.3 Overflow Interrupt Output Function
(During TAUJnTTINm Width Measurement) . . . . . . . . . . . . . . . . . . . . . . . 1399
18.16.4 TAUJnTTINm Input Period Count Detection Function. . . . . . . . . . . . . . . . 1403
18.16.5 Overflow Interrupt Output Function
(During TAUJnTTINm Input Period Count Detection) . . . . . . . . . . . . . . . . 1409
18.17 Other Independent Channel Functions
. . . . . . . . . . . . . . . . . . . . . . . . . 1414