Hitachi H8/3048 Hardware Manual page 324

Single-chip microcomputer
Table of Contents

Advertisement

Bit 3—PWM Mode 3 (PWM3): Selects whether channel 3 operates normally or in PWM mode.
www.DataSheet4U.com
Bit 3
PWM3
Description
0
Channel 3 operates normally
1
Channel 3 operates in PWM mode
When bit PWM3 is set to 1 to select PWM mode, pin TIOCA
output goes to 1 at compare match with GRA3, and to 0 at compare match with GRB3.
If complementary PWM mode or reset-synchronized PWM mode is selected by bits CMD1 and
CMD0 in TFCR, the CMD1 and CMD0 setting takes precedence and the PWM3 setting is
ignored.
Bit 2—PWM Mode 2 (PWM2): Selects whether channel 2 operates normally or in PWM mode.
Bit 2
PWM2 Description
0
Channel 2 operates normally
1
Channel 2 operates in PWM mode
When bit PWM2 is set to 1 to select PWM mode, pin TIOCA
output goes to 1 at compare match with GRA2, and to 0 at compare match with GRB2.
Bit 1—PWM Mode 1 (PWM1): Selects whether channel 1 operates normally or in PWM mode.
Bit 1
PWM1
Description
0
Channel 1 operates normally
1
Channel 1 operates in PWM mode
When bit PWM1 is set to 1 to select PWM mode, pin TIOCA
output goes to 1 at compare match with GRA1, and to 0 at compare match with GRB1.
becomes a PWM output pin. The
3
becomes a PWM output pin. The
2
becomes a PWM output pin. The
1
312
(Initial value)
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents