The files for the Application Notes AN 1004968: You can download the function blocks for reading the key ID from PITmode directly from this page (see file in the appendix). Please make sure that you use the latest version of the Application Note in conjunction with the file attachments. If you are not sure, please download the latest version.
Attachment: