![Hitachi H8/3008 Скачать руководство пользователя страница 247](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473247.webp)
231
Note on Waveform Period Setting: When a counter is cleared by compare match, the counter is
cleared in the last state at which the 16TCNT value matches the general register value, at the time
when this value would normally be updated to the next count. The actual counter frequency is
therefore given by the following formula:
f =
φ
(N+1)
(f: counter frequency.
φ
: system clock frequency. N: value set in general register.)
Note on Writes in Synchronized Operation: When channels are synchronized, if a 16TCNT
value is modified by byte write access, all 16 bits of all synchronized counters assume the same
value as the counter that was addressed.
(Example) When channels 1 and 2 are synchronized
• Byte write to channel 1 or byte write to channel 2
16TCNT1
16TCNT2
W
Y
X
Z
16TCNT1
16TCNT2
A
A
X
X
16TCNT1
16TCNT2
Y
Y
A
A
16TCNT1
16TCNT2
W
Y
X
Z
16TCNT1
16TCNT2
A
A
B
B
• Word write to channel 1 or word write to channel 2
Upper byte Lower byte
Upper byte Lower byte
Upper byte Lower byte
Upper byte Lower byte
Upper byte Lower byte
Write A to upper byte
of channel 1
Write A to lower byte
of channel 2
Write AB word to
channel 1 or 2
Содержание H8/3008
Страница 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Страница 4: ......
Страница 17: ...xii ...
Страница 70: ...54 ...
Страница 114: ...98 ...
Страница 154: ...138 ...
Страница 314: ...298 ...
Страница 412: ...396 ...
Страница 496: ...480 ...