beautypg.com

Rainbow Electronics W90N745CDG User Manual

Page 370

background image

W90N745CD/W90N745CDG

- 366 -

PWM Counter Register 0/1/2/3 (PWM_CNR0/1/2/3)

REGISTER ADDRESS R/W

DESCRIPTION

RESET

VALUE

PWM_CNR0

0xFFF8_700C

R/W PWM Counter Register 0

0x0000_0000

PWM_CNR1

0xFFF8_7018

R/W PWM Counter Register 1

0x0000_0000

PWM_CNR2

0xFFF8_7024

R/W PWM Counter Register 2

0x0000_0000

PWM_CNR3

0xFFF8_7030

R/W PWM Counter 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

CNRx[15:8]

7

6

5

4

3

2

1

0

CNRx[7:0]

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.