This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt handling for C164CI

Hey, I am new to embedded programming. I am finding it hard to understand the 'interrupt handling' process. Specifically I am using the C164CI micro. Does someone have a simple sample code I can take a look at to understand how interrupt handling should be done?For ex, lets say that a bit field in a register is set indicating that a criteria has been fulfilled for an interrupt. Do I write a routine to keep checking the status of the bit field and write steps to be executed once the bit is set?