Hello everyone! In IAR's icc430 compiler, there's a keyword "monitor" that can be used when declaring a function to disable all interrupts during it's execution. Does mspgcc have anything similar? I suppose a work-around would be to just put dint() and eint() at the beginning and end of each monitor function, but that's a bit of a hassle when trying to port larger sets of code.
For anyone interested, I'm porting over some code that my company has developed using Embedded Workbench 2.31E using the windows binaries from mikrocontroller.net date 10-02-2002 (Thanks Andreas!). So far, I've gotten everything to compile with some minor changes (ISR declarations, monitor, printf), and even tested out some of the functionality on our prototype device using C-SPY. Cheers! /*************************************** * Karim Shehata * * [email protected] * * Research and Development Engineer * * Messier-Dowty Toronto * ***************************************/
