Intel Microcontroller, 80C196NU, 8XC196NP manual CONREG0

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 404
Image 404

 

 

REGISTERS

 

 

CON_REG0

 

 

 

CON_REG0

Address:

1FB6H

 

Reset State:

FEH

The control (CON_REG0) register controls the clock prescaler for the three pulse-width modulators (PWM0–PWM2).

8XC196NP

80C196NU

7

7

 

 

 

 

 

 

 

 

 

 

 

0

CLK0

 

 

 

0

 

 

 

 

CLK1

CLK0

 

 

 

 

Bit

Bit

 

 

 

Function

Number

Mnemonic

 

 

 

 

 

 

 

 

 

 

7:1 (NP)

Reserved; for compatibility with future devices, write zeros to these bits.

7:2 (NU)

 

 

 

 

 

 

 

 

0 (NP)

CLK0

Enable PWM Clock Prescaler

 

 

This bit controls the PWM output period by enabling or disabling the clock

 

 

prescaler (divide-by-two) on the three pulse-width modulators (PWM0–

 

 

PWM2).

 

 

 

 

0

= disable; PWM output period is 512 state times

 

 

1

= enable; PWM output period is 1024 state times

 

 

 

1:0 (NU)

CLK1:0

Enable PWM Clock Prescaler

 

 

These bits control the PWM output period on the three pulse-width

 

 

modulators (PWM0–PWM2).

 

 

CLK1

CLK0

 

 

 

0

 

0

disable clock prescaler

 

 

0

 

1

enable divide-by-two prescaler; PWM output period is

 

 

 

 

 

1024 state times

 

 

1

 

X

enable divide-by-four prescaler; PWM output period is

 

 

 

 

 

2048 state times

 

 

 

 

 

 

This bit was called SLOW_PWM in earlier documentation for the 8XC196NP.

C-13

Page 404
Image 404
Intel Microcontroller, 80C196NU, 8XC196NP manual CONREG0