The mask values for the pins are
Does not seem like you are addressing the right pins
But these are exacty the masks I use . I got these from the project datasheet. Should I change another register also?
Your masks are correct, thats why I erased my post as I realized I was