Pio output data status register, Pio pin data status register – Rainbow Electronics AT75C220 User Manual

Page 71

Advertising
background image

AT75C220

71

PIO Output Data Status Register

Register Name:PIO_ODSR
Access Type:Read-only
Reset Value:0

This register shows the output data status which is programmed in PIO_SODR or PIO_CODR. The defined value is effec-
tive only if the pin is controlled by the PIO Controller and only if the pin is defined as an output.

1 = The output data for the corresponding line is programmed to 1.

0 = The output data for the corresponding line is programmed to 0.

PIO Pin Data Status Register

Register Name:PIO_PDSR
Access Type:Read-only
Reset Value:Undefined

This register shows the state of the physical pin of the chip. The pin values are always valid, regardless of whether the pins
are enabled as PIO, peripheral, input or output. The register reads as follows:

1 = The corresponding pin is at logic 1.

0 = The corresponding pin is at logic 0.

31

30

29

28

27

26

25

24

P31

P30

P29

P28

P27

P26

P25

P24

23

22

21

20

19

18

17

16

P23

P22

P21

P20

P19

P18

P17

P16

15

14

13

12

11

10

9

8

P15

P14

P13

P12

P11

P10

P9

P8

7

6

5

4

3

2

1

0

P7

P6

P5

P4

P3

P2

P1

P0

31

30

29

28

27

26

25

24

P31

P30

P29

P28

P27

P26

P25

P24

23

22

21

20

19

18

17

16

P23

P22

P21

P20

P19

P18

P17

P16

15

14

13

12

11

10

9

8

P15

P14

P13

P12

P11

P10

P9

P8

7

6

5

4

3

2

1

0

P7

P6

P5

P4

P3

P2

P1

P0

Advertising