Posted on April 24, 2003 at 09:45Help me to optimize on speed this function of copying from internal memory to external one: char SRAM_WriteFromBufferToSRAM(unsigned long Addr,unsigned char *buffer, unsigned int count) { unsigned char *ptr; ptr = ...
Posted on April 10, 2003 at 12:30PADR |= 0x20; // set 5 bit (other bits are not affected) PADR &= ~0x20; // reset 5 bit (other bits are not affected) PADR ^= 0x20; // invert 5 bit (other bits are not affected) _asm(''bset 0x00,#5''); - is equivalent...