The CCxP/CCxNP bits are actually separated by a reserved bit, so the correct mask is 0xa, (0b1010) not 0x6 (0b0110) Reported by PyroDevil on the mailinglist