CHAPTER 11 PWM UNIT
User’s Manual U11969EJ3V0UM00
329
(3) PWM modulo registers 0 to 3 (PWM0 to PWM3)
The PWM modulo registers 0 to 3 are 16-bit registers used to determine the pulse width of the PWMn pulse.
These registers can be read/written in 16-bit units.
These registers consist of the following two parts.
<1> Modulo H register (bit 8 to bit 15)
Indicates the number of bits specified with the PMPn bit of the PWMCn register. This value is the accuracy
when generating the main pulse.
The pulse width rewrite timing depends on the number of bits of this register.
When selecting 4 to 7 bits for the counter with the PMPn bit, set 0 to the rest of the higher bits.
<2> Modulo L register (bit 0 to bit 7)
The value of this register determines the additional timings of the additional pulse to perform minute
adjustment (refer to Figure 11-3).
The value of this register becomes undefined by RESET input. Set the data with initialization program before
enabling PWM output.
The value from 0000H to FFFFH can be set to the PWMn register, and PWM output also changes linearly. When
0000H is set, inactive level is retained. When FFFFH is set, one additional pulse (1/f
PWMC
) becomes inactive by one
rewrite cycle (2
16
/f
PWMC
) (refer to Figure 11-4).
Remark
n = 0 to 3
15
PWMn
Address
FFFFF362H to
FFFFF37AH
After reset
Undefined
Modulo H register
(for main pulse generation)
Modulo L register
(for additional pulse generation)
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...