beautypg.com

Rainbow Electronics W90N745CDG User Manual

Page 371

background image

W90N745CD/W90N745CDG

Publication Release Date: September 22, 2006

-

367

-

Revision

A2

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.