cancel
Showing results for 
Search instead for 
Did you mean: 

enable the gpio(atlas)

eliahu
Associate II
Posted on July 01, 2003 at 13:08

enable the gpio(atlas)

3 REPLIES 3
eliahu
Associate II
Posted on July 01, 2003 at 08:57

hi all

In order to access the GPIO i need to access register 0xCF8 to enable the GPIO

As you know register 0xCF8 is 32 bit register

How should I access register 0xCF8 (I am using OUT command that can access 8 bit data) ?

thierry239955_st
Associate II
Posted on July 01, 2003 at 12:15

It is not possible to split 32 bits access in 0xcf8 into a series of 8 bits access and your OUT command is unusable in this case.

You need a true 32 bits I/O access.

Which compiler are you using? There is probably ways to manage 32 bits I/O, maybe through in-line assembly?

Farfalla
eliahu
Associate II
Posted on July 01, 2003 at 13:08

Quote:

hii

i using debug of dos6.22

and the command is (out dx,al)

how can I do with debug