[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] calling i2cMasterSendNI from SIG_OVERFLOW0
From: |
Vinnie Moscaritolo |
Subject: |
[avr-libc-dev] calling i2cMasterSendNI from SIG_OVERFLOW0 |
Date: |
Tue, 23 Dec 2003 15:56:52 -0800 |
I am trying to write a driver for the Max7315 family of devices.
to handle things like pulsing LEDs etc.. I have setup some code to run during
SIGNAL(SIG_OVERFLOW0) setup for TIMER_CLK_DIV256 on an 16Mhz atMega8.
this code makes two calls to i2cMasterSendNI to write out some data (100 mhz)
I noticed that every now and then the processor hangs.. I am wondering if
the i2cMasterSendNI can be called safely at interrupt time, and if so maybe
there is something that I don't know?
--
Vinnie Moscaritolo
- [avr-libc-dev] calling i2cMasterSendNI from SIG_OVERFLOW0,
Vinnie Moscaritolo <=