Renesas H8S/2111B 用户手册

下载
页码 582
Rev. 1.00, 05/04, page 149 of 544 
 
8.3.1 
PWM Register Select (PWSL) 
PWSL is used to select the input clock and the PWM data register. 
Bit  Bit Name 
Initial Value 
R/W 
Description 
PWCKE 
PWCKS 
R/W 
R/W 
PWM Clock Enable 
PWM Clock Select 
These bits, together with bits PWCKC, PWCKB and 
PWCKA in PCSR, select the internal clock input to 
TCNT in the PWM. For details, see table 8.2. 
The resolution, PWM conversion period, and carrier 
frequency depend on the selected internal clock, and 
can be obtained from the following equations.  
Resolution (minimum pulse width) = 1/internal clock 
frequency 
PWM conversion period = resolution 
× 256 
Carrier frequency = 16/PWM conversion period 
With a 10 MHz system clock (
φ), the resolution, PWM 
conversion period, and carrier frequency are as shown 
in table 8.3. 
5 — 
R  Reserved 
Always read as 1 and cannot be modified. 
4 — 
R  Reserved 
Always read as 0 and cannot be modified. 
RS3 
RS2 
RS1 
RS0 
R/W 
R/W 
R/W 
R/W 
Register Select 
These bits select the PWM data register. 
0000: PWDR0 selected 
0001: PWDR1 selected 
0010: PWDR2 selected 
0011: PWDR3 selected 
0100: PWDR4 selected 
0101: PWDR5 selected 
0110: PWDR6 selected 
0111: PWDR7 selected 
1xxx: No effect on operation 
[Legend] 
x: Don't 
care.