Hi guys,
I'm a new here, just getting started with the Kinetis Design Studio using a MK20DX256VLH7 controller.
The manual refers to Port Control Registers such as PORTx_PCRn but they do not seem to be available. The IDE automatically included "MK20D7.h"
Is there a file I am missing? Thanks in advance.
Hi Zachary,
Yes , in the header file of "MK20D7.h", it doesn't directly define the PORTx_PCRn.
(1) While we can use the struct of register to show , for example :
PORTA->PCR
(2) If you have CW , we also can refer to the header file of CW, copy the definition of PORTx_PCRn to the header file of KDS.
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------