Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
02/24/04 10:01
Read: times


 
#65408 - Defining I/O pin
I am a newbie at this, please be nice ;)

I want to set up my first 8052 program(in ANSI C compiler) to simply toggle a led. I'm using port 3, which is, as far as i know, located at memory address 0xB0. So if i'm getting this right, i can simply write the value 0x01/0x00 to that adress using pointers to toggle pin 3.0 .

What I actually want to know is how I can define this pin to be output. I know it must be defined somehow, but I can't find it in the datasheet. Is there a standard 8052 adress where pins are defined? For those who want to know, I'm talking about the TUSB3410 (Texas Instruments) chip here.


List of 17 messages in thread
TopicAuthorDate
Defining I/O pin            01/01/70 00:00      
   RE: Defining I/O pin            01/01/70 00:00      
      RE: Defining I/O pin            01/01/70 00:00      
         RE: Defining I/O pin            01/01/70 00:00      
            RE: Defining I/O pin            01/01/70 00:00      
               RE: Defining I/O pin            01/01/70 00:00      
               Dont let Michael Karas hear you...!            01/01/70 00:00      
               What the Data Sheet says            01/01/70 00:00      
                  Why the Data Sheet says it            01/01/70 00:00      
                  RE: What the Data Sheet says            01/01/70 00:00      
   RE: Defining I/O pin            01/01/70 00:00      
      Thanks Steve!            01/01/70 00:00      
      RE: Defining I/O pin            01/01/70 00:00      
         Thanks you too Erik ;)            01/01/70 00:00      
            RE: Thanks you too Erik ;)            01/01/70 00:00      
   RE: Defining I/O pin            01/01/70 00:00      
      Thanks for your supportive speech :)            01/01/70 00:00      

Back to Subject List