i must read a word of 16 bits from PORTC to load in memory buffer but the PORTC haven't bit 14 and 15 but 16 and 17. For format the word in 16 bit I make in the folloving mode:
read_data = FGPIOC_PDIR;
tmp = read_data & 0x00030000;
tmp = tmp >> 2;
read_data = read_data | tmp;
There is an other mode (less instructions and/or faster) for to do the same operations?