On page 100 of SLAU445G we read:
The password defined in the PMMCTL0 register controls access to all PMM registers except PM5CTL0. PM5CTL0 can be accessed without the password. After the correct password is written, write access is enabled (this includes byte access to the PMMCTL0 lower byte). Write access is disabled by writing a wrong password in byte mode to the PMMCTL0 upper byte. Word access to PMMCTL0 with a wrong password causes a PUC. Write access to a register other than PMMCTL0 while write access is not enabled causes a PUC.
The following code correctly generates a PUC:
mov.b #0, &PMMCTL0_H mov.b #0, &PMMCTL0_L
But the following does not:
mov.b #0, &PMMCTL0_H mov.b #0, &PMMCTL2_L
Did I miss something or is the PDF wrong?