h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 313

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
10.2.3
DACR is an 8-bit readable/writable register that selects test mode, enables the PWM outputs, and
selects the output phase and operating speed.
DACR is initialized to H'30 by a reset, and in the standby modes, watch mode, subactive mode,
subsleep mode, and module stop mode.
Bit 7—Test Mode (TEST): Selects test mode, which is used in testing the chip. Normally this bit
should be cleared to 0.
Bit 6—PWM Enable (PWME): Starts or stops the PWM D/A counter (DACNT).
Bits 5 and 4—Reserved: These bits cannot be modified and are always read as 1.
Bit 3—Output Enable B (OEB): Enables or disables output on PWM D/A channel B.
Bit 7
TEST
0
1
Bit 6
PWME
0
1
Bit 3
OEB
0
1
Bit
Initial value
Read/Write
PWM D/A Control Register (DACR)
Description
PWM (D/A) in user state: normal operation
PWM (D/A) in test state: correct conversion results unobtainable
Description
DACNT operates as a 14-bit up-counter
DACNT halts at H'0003
Description
PWM (D/A) channel B output (at the PWX1 pin) is disabled
PWM (D/A) channel B output (at the PWX1 pin) is enabled
TEST
R/W
7
0
PWME
R/W
6
0
5
1
4
1
Rev. 4.00 Jun 06, 2006 page 259 of 1004
OEB
R/W
3
0
OEA
R/W
Section 10 14-Bit PWM D/A
2
0
R/W
OS
REJ09B0301-0400
1
0
(Initial value)
(Initial value)
(Initial value)
CKS
R/W
0
0

Related parts for h8s-2138