Digi NS9215 manual M e r 6 9 H i g h a n d L o w S t e p r e g i s t e r s, High step direction

Models: NS9215

1 517
Download 517 pages 25.29 Kb
Page 172
Image 172

S Y S T E M C O N T RO L M O D U L E

Timer 6–9 High and Low Step registers

T i m e r 6 – 9 H i g h a n d L o w S t e p r e g i s t e r s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Addresses: A090 0098 / 009C / 00A0 / 00A4

The Timer 6–9 High and Low Step registers contain the high and low step registers for the enhanced PWM features available in timers 6 through 9.

Register

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Step

 

 

 

 

 

 

Hi Step

 

 

 

 

 

 

 

 

Dir

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Lo

 

 

 

 

 

 

Lo Step

 

 

 

 

 

 

 

 

Step

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dir

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register bit

assignment

Bits

Access

Mnemonic

Reset

Description

 

 

 

 

 

 

 

D31

R/W

Hi Step Dir

0x0

High step direction

 

 

 

 

 

0

Subtract the high step value from the original

 

 

 

 

 

 

high register value to increase the high time.

 

 

 

 

 

1

Add the high step value to the original high

 

 

 

 

 

 

register value to decrease the high time.

 

 

 

 

 

 

 

D30:16

R/W

Hi Step

0x0

High step

 

 

 

 

 

This value is either added or subtracted from the

 

 

 

 

 

original high register value once each cycle.

 

 

 

 

 

 

 

D15

R/W

Lo Step Dir

0x0

Low step direction

 

 

 

 

 

0

Subtract the low step value from the original low

 

 

 

 

 

 

register value to increase low time 2.

 

 

 

 

 

1

Add the low step value to the original low

 

 

 

 

 

 

register value to decrease low time 2.

 

 

 

 

 

 

 

D14:00

R/W

Lo Step

0x0

Low step

 

 

 

 

 

This value is either added or subtracted from the

 

 

 

 

 

original low register value once each cycle.

 

 

 

 

 

 

 

T i m e r 6 – 9 R e l o a d S t e p r e g i s t e r s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Addresses: A090 00A8 / 00AC / 00B0 / 00B4

The Timer 6–9 reload Step registers contain the reload step registers for the enhanced PWM features available in timers 6 through 9.

172Hardware Reference NS9215

Page 172
Image 172
Digi NS9215 manual M e r 6 9 H i g h a n d L o w S t e p r e g i s t e r s, M e r 6 9 R e l o a d S t e p r e g i s t e r s