Section 7
Data Transfer Controller (DTC)
Rev. 1.00 Mar. 12, 2008 Page 169 of 1178
REJ09B0403-0100
7.3
DTC Event Counter
To count events of EVENT 0 to EVENT15 by the DTC event counter function, set DTC as below.
Table 7.2
DTC Event Counter Conditions
Register Bit
Bit
Name Description
MRA
7, 6
SM1, SM0 00: SAR is fixed.
5, 4
DM1, DM0 00: DAR is fixed.
3, 2
MD1, MD0 01: Repeat mode
1
DTS
0: Destination is repeat area
0
Sz
1: Word size transfer
MRB
7
CHNE
0: Chain transfer is disabled
6
DISEL
0: Interrupt request is generated when data is transferred by
the number of specified times
5 to 0
B'000000
SAR 23
to
0
DAR 23
to
0
Identical optional RAM address. Its lower five bits are B'00000.
The start address of 16 words is this address. They are
incremented every time an event is detected in EVENT0 to
EVENT15.
CRAH
7 to 0
H'FF
CRAL
7 to 0
H'FF
CRBH
7 to 0
H'FF
CRBL
7 to 0
H'FF
DTCERC
4
DTCEC4
1: DTC function of the event counter is enabled
KBCOMP 7
EVENTE
1: Event counter enable
RAM
(SAR, DAR) : Result of EVENT0 count
(SAR, DAR)
+
2: Result of EVENT 1 count
(SAR, DAR)
+
4: Result of EVENT 2 count
↓
(SAR, DAR)
+
30: Result of EVENT 15 count
The corresponding flag to ECS input pin is set to 1 when the event pins that are specified by the
ECSB3 to ECSB0 in ECCR detect the edge events specified by the EDSB in ECCR. For this flag
state, status/address codes are generated.
An EVENTI interrupt request is generated even if only one bit in ECS is set to 1.
Содержание H8S Family
Страница 2: ...Rev 1 00 Mar 12 2008 Page ii of xIviii...
Страница 8: ...Rev 1 00 Mar 12 2008 Page viii of xIviii...
Страница 28: ...Rev 1 00 Mar 12 2008 Page xxviii of xIviii...
Страница 48: ...Rev 1 00 Mar 12 2008 Page xlviii of xIviii...
Страница 70: ...Section 1 Overview Rev 1 00 Mar 12 2008 Page 22 of 1178 REJ09B0403 0100...
Страница 108: ...Section 2 CPU Rev 1 00 Mar 12 2008 Page 60 of 1178 REJ09B0403 0100...
Страница 116: ...Section 3 MCU Operating Modes Rev 1 00 Mar 12 2008 Page 68 of 1178 REJ09B0403 0100...
Страница 152: ...Section 5 Interrupt Controller Rev 1 00 Mar 12 2008 Page 104 of 1178 REJ09B0403 0100...
Страница 206: ...Section 6 Bus Controller BSC Rev 1 00 Mar 12 2008 Page 158 of 1178 REJ09B0403 0100...
Страница 420: ...Section 9 14 Bit PWM Timer PWMX Rev 1 00 Mar 12 2008 Page 372 of 1178 REJ09B0403 0100...
Страница 476: ...Section 12 Watchdog Timer WDT Rev 1 00 Mar 12 2008 Page 428 of 1178 REJ09B0403 0100...
Страница 552: ...Section 14 CRC Operation Circuit CRC Rev 1 00 Mar 12 2008 Page 504 of 1178 REJ09B0403 0100...
Страница 588: ...Section 15 Serial Communication Interface with FIFO SCIF Rev 1 00 Mar 12 2008 Page 540 of 1178 REJ09B0403 0100...
Страница 632: ...Section 17 Synchronous Serial Communication Unit SSU Rev 1 00 Mar 12 2008 Page 584 of 1178 REJ09B0403 0100...
Страница 712: ...Section 18 I2 C Bus Interface IIC Rev 1 00 Mar 12 2008 Page 664 of 1178 REJ09B0403 0100...
Страница 804: ...Section 19 LPC Interface LPC Rev 1 00 Mar 12 2008 Page 756 of 1178 REJ09B0403 0100...
Страница 838: ...Section 20 Ethernet Controller EtherC Rev 1 00 Mar 12 2008 Page 790 of 1178 REJ09B0403 0100...
Страница 964: ...Section 24 RAM Rev 1 00 Mar 12 2008 Page 916 of 1178 REJ09B0403 0100...
Страница 1066: ...Section 25 Flash Memory Rev 1 00 Mar 12 2008 Page 1018 of 1178 REJ09B0403 0100...
Страница 1098: ...Section 26 Boundary Scan JTAG Rev 1 00 Mar 12 2008 Page 1050 of 1178 REJ09B0403 0100...
Страница 1168: ...Section 30 Platform Environment Control Interface PECI Rev 1 00 Mar 12 2008 Page 1120 of 1178 REJ09B0403 0100...
Страница 1226: ...Rev 1 00 Mar 12 2008 Page 1178 of 1178 REJ09B0403 0100...
Страница 1229: ......
Страница 1230: ...H8S 2472 Group H8S 2462 Group Hardware Manual...