Renesas H8S/2158 User Manual page 332

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 11 14-Bit PWM Timer (PWMX)
Bit
Bit Name
Initial Value
7
0
6
PWME
0
5, 4 —
All 1
3
OEB
0
2
OEA
0
1
OS
0
0
CKS
0
Rev. 3.00 Jan 25, 2006 page 278 of 872
REJ09B0286-0300
R/W
Description
R/(W) Reserved
The initial value should not be changed.
R/W
PWM Enable
Starts or stops the PWM D/A counter (DACNT).
0: DACNT operates as a 14-bit up-counter
1: DACNT halts at H'0003
R
Reserved
These bits are always read as 1 and cannot be
modified.
R/W
Output Enable B
Enables or disables output on PWM (D/A) channel B.
0: PWM (D/A) channel B output (at the PWX1 pin) is
disabled
1: PWM (D/A) channel B output (at the PWX1 pin) is
enabled
R/W
Output Enable A
Enables or disables output on PWM (D/A) channel A.
0: PWM (D/A) channel A output (at the PWX0 pin) is
disabled
1: PWM (D/A) channel A output (at the PWX0 pin) is
enabled
R/W
Output Select
Selects the phase of the PWM (D/A) output.
0: Direct PWM (D/A) output
1: Inverted PWM (D/A) output
R/W
Clock Select
Selects the PWM (D/A) resolution. If the system clock
(φ) frequency is 10 MHz, resolutions of 100 ns, 200 ns,
6,400 ns, and 12,800 ns can be selected.
0: Operates at resolution (T) = system clock cycle time
(t
)
cyc
1: Operates at resolution (T) = system clock cycle time
) × 2, × 64, and × 128
(t
cyc

Advertisement

Table of Contents
loading

Table of Contents