Skip to main content
eliahu
Associate II
July 1, 2003
Question

enable the gpio(atlas)

  • July 1, 2003
  • 3 replies
  • 973 views
Posted on July 01, 2003 at 13:08

enable the gpio(atlas)

This topic has been closed for replies.

3 replies

eliahu
eliahuAuthor
Associate II
July 1, 2003
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
July 1, 2003
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
eliahuAuthor
Associate II
July 1, 2003
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