I have to modify some code someone else wrote but I'm a little confused about how things work since it says there are 15 different blocks corresponding to an individual GPIO port and then looking down, the datasheet has 43 different GPIO registers with offsets that show the 15 ports.
Here is the code I'm trying to modify. One of the things I especially don't understand is the shift left of the first bit as well so can someone please help me understand it better so I'm able to modify it.