energia/Energia — pull request #243 by cosmok82 (2013-05-30 18:21:31+00:00)
Title: xoscillo porting

I'm going to do the porting of software "Xoscillo" [bit.ly/irizz9] (http://bit.ly/irizz9) on LM4F (Stellaris Launchpad).
My only difficulties are this parts of code for the requisites of platform:

// defines for setting and clearing register bits
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif

and the implementation of:

void StartAnalogRead(uint8_t pin);
uint8_t EndAnalogRead();

for the same reasons.

I don't have these entries in depth yet; so... could you give me an advice?

Thank you for reading.