I am reading lpc1347 manual (GPIO section) and I have seen one sentence which I don't understand. The problem is WORD register which controls pin states. Quotation:
"Each GPIO pin has a word register in this address range. Any byte, balfword or word read in this range will be all zeros if the pin is low or all ones if the pin is high..."
I can access WORD register via
It's word access but how can I read it via halfword or byte? Should I make a own pointer and read value from memory? If yes, should I start read from LSB or MSB?