h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 659

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
17.2.5
PWCYR is a 16-bit read/write register that sets the PWM conversion cycle. When a PWCYR
compare match occurs, PWCNT is cleared and data is transferred from the buffer register
(PWBFR) to the duty register (PWDTR). PWCYR1 is used for the channel 1 conversion cycle
setting, and PWCYR2 for the channel 2 conversion cycle setting.
PWCYR should be written to only while PWCNT is stopped. A value of H'FC00 must not be set.
PWCYR is initialized to H'FFFF upon reset, and in standby mode, watch mode, subactive mode,
subsleep mode, and module stop mode.
Bit
Initial value
Read/Write
Compare match
PWCNT
(lower 10 bits)
PWCYR
(lower 10 bits)
PWM Cycle Registers 1 and 2 (PWCYR1, PWCYR2)
15
1
14
1
0
13
Figure 17.3 Cycle Register Compare Match
1
1
12
1
11
1
10
— R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
1
9
1
N
8
1
Rev. 5.00 Sep 22, 2005 page 633 of 1136
7
1
Section 17 Motor Control PWM Timer
6
1
Compare match
5
1
N–2
4
1
N–1
3
1
REJ09B0257-0500
2
1
0
1
1
1
0
1

Related parts for h8s-2646