Content originally posted in LPCWare by jharwood on Thu May 19 16:56:07 MST 2011
Quote: larryvc
On a little bit of a tangent, I noticed that the masks for 17xx GPIOs are opposite of the 13xx,12xx,11xx GPIOs. ie. zeros on the 1769, ones on the others. At least that is what I'm getting from the UMs. Am I correct on that?
The masking for GPIOs is quite different for 17xx vs the others. For 17xx it is a 32 bit mask register with zeroes meaning 'unmask'. The others use a type of 'bit-banding' where GPIOnDATA register addresses 0x0000 to 0x3ff8 map to the various combinations of bits that are masked or not.
Or, are you referring to GPIO interrupt masking?