Macro definitions are incorrect


I have been trying to resolve this issue for several days and I can't find the root cause.

The Main program uses def21489.h

Include file def21489.h has BIT_11 defined correctly

App.ldf defines correct Architecture

Why does CLKPL display as 0x00000800?

The CLKPL register value and the macro definition are not the same.



Updated images to clarify issue.
[edited by: bughunter at 2:16 PM (GMT 0) on 28 May 2019]