Pio output disable register, Pio output status register – Rainbow Electronics AT75C220 User Manual

Page 69

Advertising
background image

AT75C220

69

PIO Output Disable Register

Register Name:PIO_ODR
Access Type:Write-only

This register is used to disable PIO output drivers. If the pin is driven by the peripheral, there is no effect on the pin, but the
information is stored. The register is programmed as follows:

1 = Disables the PIO output on the corresponding pin.

0 = No effect.

PIO Output Status Register

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

This register shows the PIO pin control (output enable) status which is programmed in PIO_OER and PIO ODR. The
defined value is effective only if the pin is controlled by the PIO. The register reads as follows:

1 = The corresponding PIO is output on this line.

0 = The corresponding PIO is input on this line.

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