--- In lpc2000@yahoogroups.com, "mgiaco82" <mgiaco82@...> wrote: > > @Eric: Sorry I have not used USB till now. So I can't give you any > information. > > Thanks for the information. > > Yes, there are a lot of examples on the EA page. But they are coded > for the GCC and I have some problems concerning that fact. > > In the UART Lib as an example they use: > > cpsr = disableIRQ(); // disable global interrupts > U0IER &= ~UIER_ETBEI; // disable TX interrupts > restoreIRQ(cpsr); // restore global interrupts > > but in Crossworks I can´t find the function disableIRQ with returns > the cpsr and I also can´t find the function restoreIRQ(xxx). > > When using the functions from the winarm example-pages with > crossworks, it doesn´t work. > > How can I port the code from GCC to Crossworks-ARM? > > Thanks for your help! > > Mathias >
Message
Re: LPC2148 - Crossworks
2006-04-18 by mgiaco82
Attachments
- No local attachments were found for this message.