So !?!
Code:static uint16_t get_adc( struct ADC_t* pChan){ pChan->CTRL |= 0x80; while(!(pChan->INTFLAGS && 0x01)); return pChan->RES; pChan->INTFLAGS = 0x01; }
So !?!
Code:static uint16_t get_adc( struct ADC_t* pChan){ pChan->CTRL |= 0x80; while(!(pChan->INTFLAGS && 0x01)); return pChan->RES; pChan->INTFLAGS = 0x01; }
Lesezeichen