Hi Andrij
So you are using the M52223 now;-)
As you probably know, the PTD port is the 4 bit PWM port. This is available on the M5223X packages with 112/121 pins, but not on the 80 pin versions, but the PTD registers are still implemented as far as I know.
The M5221x and M5222X don't have this port (presumably due to lack of pins since they have 64 to 100 pin packages).
But the user manual does display it - as you have pointed out. I believe that this page is an error in the user manual.
However the user manual does have PTDPAR in the M5221x but not in the M5222x (where it is declared as reserved). This is even more confusing!
I tend to believe that both have no register implemented but it won't crash if an access is made to it (it just will not set a value). Therefore I have left the define in the header file. I am wondering whether it should be made conditional on _M5221X and/or _M5222X so that code will error if the user tries to access it?
When running the simulator, the port is not displayed, neither with the M5221x target or with the M5222x target. This is probably adequate to make the user aware that the port can not be used (plus the fact that there are no pins to be found on the chip..).
Yes, a little confusing, but not the only error in the manuals...
Regards
Mark