Table of contents
[Precautions for timer mode] .................................................................................................. 7-17
7.4 Event counter mode ...........................................................................................................7-18
7.4.1 Setting for event counter mode ................................................................................. 7-21
7.4.2 Operation in event counter mode .............................................................................. 7-23
7.4.3 Switching between countup and countdown ............................................................ 7-24
7.4.4 Selectable functions ..................................................................................................... 7-26
[Precautions for event counter mode] .................................................................................. 7-28
7.5 One-shot pulse mode ......................................................................................................... 7-29
7.5.1 Setting for one-shot pulse mode ............................................................................... 7-31
7.5.2 Trigger ........................................................................................................................... 7-33
7.5.3 Operation in one-shot pulse mode ............................................................................ 7-35
[Precautions for one-shot pulse mode] ................................................................................ 7-37
7.6 Pulse width modulation (PWM) mode ............................................................................ 7-38
7.6.1 Setting for PWM mode ................................................................................................ 7-40
7.6.2 Trigger ........................................................................................................................... 7-42
7.6.3 Operation in PWM mode............................................................................................. 7-43
[Precautions for pulse width modulation (PWM) mode] ................................................... 7-47
CHAPTER 8. TIMER B
8.1 Overview .................................................................................................................................. 8-2
8.2 Block description .................................................................................................................. 8-2
8.2.1 Counter and Reload register (timer Bi register) ........................................................ 8-3
8.2.2 Count start register ........................................................................................................ 8-4
8.2.3 Timer Bi mode register ................................................................................................. 8-4
8.2.4 Timer Bi interrupt control register................................................................................ 8-5
8.2.5 Port P2 direction register, Port P5 direction register ............................................... 8-6
8.2.6 Count source (in timer mode and pulse period/pulse width measurement mode) ......... 8-7
8.3 Timer mode ............................................................................................................................. 8-8
8.3.1 Setting for timer mode ................................................................................................. 810
8.3.2 Operation in timer mode ............................................................................................. 8-11
[Precautions for timer mode] .................................................................................................. 8-12
8.4 Event counter mode ...........................................................................................................8-13
8.4.1 Count source ................................................................................................................ 8-15
8.4.2 Setting for event counter mode ................................................................................. 8-16
8.4.3 Operation in event counter mode .............................................................................. 8-17
[Precautions for event counter mode] .................................................................................. 8-18
8.5 Pulse period/Pulse width measurement mode ............................................................. 8-19
8.5.1 Setting for pulse period/pulse width measurement mode ...................................... 8-22
8.5.2 Operation in pulse period/pulse width measurement mode ................................... 8-23
[Precautions for pulse period/pulse width measurement mode] .................................... 8-29
CHAPTER 9. PULSE OUTPUT PORT MODE
9.1 Overview .................................................................................................................................. 9-2
9.2 Block description .................................................................................................................. 9-3
9.2.1 Waveform output mode register................................................................................... 9-4
9.2.2 Three-phase output data registers 0, 1 ...................................................................... 9-6
9.2.3 Port P2 direction register, Port P7 direction register ............................................... 9-9
9.2.4. Timers A0 to A4.......................................................................................................... 9-11
9.2.5. Pin P6OUTCUT (pluse-output-cutoff signal input pin) .............................................. 9-13
7906 Group User’s Manual Rev.2.0
iii