cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

 Hi

   

I use fx2lp 56pin and slave fifo mode. 

   

I have to make control like this. But it's not work way

   

TD_Init()

   

{

   

...

   

PORTACFG |=0x80;

   

...

   

OEA=0x01;

   

IOA=0x00;  //for led on

   

}

   

TD_Poll()

   

{

   

OEA=0x01;

   

IOA=0x00;

   

 

   

If(IOA & 0x02)

   

IOA=0x01;

   

Z

   

 

   

 

   

 

   

 

   

What is

   

 

   

 

   

What is wrong?

0 Likes
2 Replies