how to automatically add an INT routine when a fun is called

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

Just writing my RF device driver now using SPI and PDCA.

I want to have a function which starts to send out a packet via SPI by PDCA and also enable the interrupt of its finish, and also let compiler automatically add the interrupt routine writen for this function(which do some flag setting job) when this function is included in the program. But anyone know how?

Cheng

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hehe, just got this sorted, it's just to write an INT routine and that's it.