AnsweredAssumed Answered

Adding to Peripherials and GPIO to Project

Question asked by burgeh on Jan 3, 2019
Latest reply on Jan 7, 2019 by burgeh



I am using the K22FN256LVH12 on a custom board, and just switched my project from KDS to MCUXpresso. I followed how to port this project to MCUXpresso and I am able to compile and run the current code I have.


However, I am wondering the best course of to add new components to the code. For example just toggling a GPIO, I go into the pins menu, but when I ported this all I was to delete the board.h file, so this doesn't really work then. I see where I can initialize the pin to a certain value, but no function or anything to actually change its states within my main.c code. Is it all register manipulation? If so, could you please direct me to a useful resource with the register info, the regular datasheet does not seem to mention much.