2 periodic interval timer status register, 3 periodic interval timer value register – Rainbow Electronics AT91CAP9S250A User Manual

Page 110

Advertising
background image

110

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

17.4.2

Periodic Interval Timer Status Register

Register Name:

PIT_SR

Access Type:

Read-only

• PITS: Periodic Interval Timer Status

0 = The Periodic Interval timer has not reached PIV since the last read of PIT_PIVR.

1 = The Periodic Interval timer has reached PIV since the last read of PIT_PIVR.

17.4.3

Periodic Interval Timer Value Register

Register Name:

PIT_PIVR

Access Type:

Read-only

Reading this register clears PITS in PIT_SR.

• CPIV: Current Periodic Interval Value

Returns the current value of the periodic interval timer.

• PICNT: Periodic Interval Counter

Returns the number of occurrences of periodic intervals since the last read of PIT_PIVR.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

PITS

31

30

29

28

27

26

25

24

PICNT

23

22

21

20

19

18

17

16

PICNT

CPIV

15

14

13

12

11

10

9

8

CPIV

7

6

5

4

3

2

1

0

CPIV

Advertising