hit counter script

NEC UPD703116 User Manual page 230

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Bit position
Bit name
1, 0
MOD01,
MOD00
Remark
n = 0, 1
Figure 9-4. Specification of INTTM0n Interrupt During PWM Mode 0 (Symmetric Triangular Wave), PWM
Mode 1 (Asymmetric Triangular Wave) (MOD01, MOD00 Bits of TMC0n Register = 0n)
CM0n3
TM0n count value
TM0CEn
Specification from occurrence of
INTTM0n at first start after reset is
Remark n = 0, 1
230
CHAPTER 9 TIMER/COUNTER FUNCTION
Specifies the operation mode of TM0n.
MOD
MOD
Operation mode
01
00
0
0
PWM mode 0
(symmetric
triangular wave)
0
1
PWM mode 1
(asymmetric
triangular wave)
1
0
PWM mode 2
(sawtooth wave)
1
1
Setting prohibited
Caution Changing the value of the MOD01, MOD00 bits during TM0n operation
(TM0CEn bit = 1) is prohibited.
0000H
INTTM0n
occurrence
possible with STINTn bit
User's Manual U14492EJ5V0UD
Function
BFCMn3 →
TM0n
Timer clear
operation
source
CM0n3
timing
Up/down
INTTM0n
Up/down
INTTM0n
Up
INTCM0n3
INTCM0n3
Timer operation
stopped
INTTM0n occurrence can be
specified with STINTn bit
(4/4)
BFCMn0 to
BFCMn2 →
CM0n0 to
CM0n2
timing
INTTM0n
INTTM0n,
INTCM0n3
INTCM0n3
INTTM0n
occurrence

Advertisement

Table of Contents
loading

Table of Contents