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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/23/02 07:42
Read: times


 
#26155 - RE: external IRQ and I2C with KEIL C,80537
Markus Kammersberger wrote:
-------------------------------
[]
If i compile and link the code, i get the warning

"MULTIPLE Function call PCF8574_routine CALLER 1:Startup
CALLER 2:EXT_INTERRUPT".

I have tried to use the IRQ only to generate a flag, that a key was pressed and handled the reading from PCF8574 in my main loop. Then it is working.
-------------------------------

This means that you are using the PCF8574 code at irq time and in the main tree.

To be save you sould code extra I2C functions (with extra vars) for the IRQ.

Using the IRQ only as a flag would be also a good idea.

Thomas

List of 5 messages in thread
TopicAuthorDate
external IRQ and I2C with KEIL C,80537            01/01/70 00:00      
RE: external IRQ and I2C with KEIL C,80537            01/01/70 00:00      
RE: external IRQ and I2C with KEIL C,80537            01/01/70 00:00      
RE: external IRQ and I2C with KEIL C,80537            01/01/70 00:00      
RE: external IRQ and I2C with KEIL C,80537            01/01/70 00:00      

Back to Subject List