Hello sjr,
thanks for your question. I consulted Michael Erickson about this, and he provided the following reply:
*************************************************************
We use the same header file that this person is seeing. That is to say, the header file used by our code does define these bits in the following way:
#define RCPC_CLKCTRL_CT0_DISABLE _BIT(3)
#define RCPC_CLKCTRL_CT1_DISABLE _BIT(4)
#define RCPC_CLKCTRL_CT2_DISABLE _BIT(5)
#define RCPC_CLKCTRL_CT3_DISABLE _BIT(6)
However, we actually only use RCPC_CLKCTRL_CT1_DISABLE _BIT and RCPC_CLKCTRL_CT2_DISABLE _BIT in our code.
Therefore I think that we can reasonably assume that the definitions in the header file for xxx_CT1_xxx and xxx_CT2_xxx are correct, whereas the definitions for xxx_CT0_xxx and xxx_CT3_xxx could in fact, be wrong.
*************************************************************
Best Regards,
Andrew Wawra
Logic Product Development
|