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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/10/04 12:19
Read: times


 
#77194 - RE: simulator
Responding to: ???'s previous message
Problem found and things are working as should be..

next thing does not compile correct.... and no warnings given...

// spi_drv.h
void spi_isr (void);


// spi_drv.c
#include "spi_drv.h"
void spi_isr (void) interrupt 10
{
// my isr code ....
}

it seems that the compiler does not generate a jump to the ISR routine ....


ALSO Thanks to Oleg for the bit ESPI correction. :-)

another quote from the www.atmel.com site ...

C51 SPI Code Examples
Description:
This section provides the C and Assembler program examples for the SPI applicable to all C51 devices.

@
"http://www.atmel.com/dyn/produ...ol_id=3419"

some should be more carefull when writing "ALL C51 devices" ....




List of 12 messages in thread
TopicAuthorDate
SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
   RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
      RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
      Book vs teacher            01/01/70 00:00      
         RE: Book vs teacher            01/01/70 00:00      
      RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
         another problem with IRQ from SPI CC03            01/01/70 00:00      
            RE: another problem with IRQ from SPI CC03            01/01/70 00:00      
               RE: another problem with IRQ from SPI CC03            01/01/70 00:00      
                  RE: simulator            01/01/70 00:00      
                     RE: simulator            01/01/70 00:00      
                        RE: simulator            01/01/70 00:00      

Back to Subject List