Rainbow Electronics W90P710CDG User Manual

Page 498

Advertising
background image

W90P710CD/W90P710CDG

Publication Release Date: September 19, 2006

- 499 -

Revision B2

BITS

DESCRIPTIONS

[31:16]

Reserved

-

[15:0]

CNRx

CNR: PWM counter/timer buffer. Inserted data range: 65535~0. Unit:
1 PWM clock cycle

Note 1: One PWM counter countdown interval = CNR + 1.If CNR is
loaded as

zero, PWM counter will be stopped.
Note 2: Programmer can feel free to write data to CNR at any time,

and it will be reloaded when PWM counter reaches zero.

PWM Comparator Register 0/1/2/3 (PWM_CMR0/1/2/3)

REGISTER ADDRESS R/W

DESCRIPTION

RESET

VALUE

PWM_CMR0

0xFFF8_7010

R/W PWM Comparator Register 0

0x0000_0000

PWM_CMR1

0xFFF8_701C

R/W PWM Comparator Register 1

0x0000_0000

PWM_CMR2

0xFFF8_7028

R/W PWM Comparator Register 2

0x0000_0000

PWM_CMR3

0xFFF8_7034

R/W PWM Comparator Register 3

0x0000_0000

31

30

29

28

27

26

25

24

Reserved

23

22

21

20

19

18

17

16

Reserved

15

14

13

12

11

10

9

8

CMRx[15:8]

7

6

5

4

3

2

1

0

CMRx[7:0]

BITS

DESCRIPTIONS

[31:16]

Reserved -

[15:0]

CMRx

CMR: PWM comparator register

Inserted data range: 65535~0. CMR is used to determine PWM output

duty ratio.

Note 1: PWM duty = CMR + 1.If CMR is loaded as zero, PWM duty =
1
Note 2: Programmer can feel free to write data to CMR at any time,
and it will be reloaded when PWM counter reaches zero.

Advertising