I am new with the mpc5121e processor. I am trying to write a simple program that deals with I/O. The idea of my program is that whenever SW1 is On LED 2 turns On. My problem is that I never used C code for embedded systems so I am not sure how to configure the registers. Any help is very appreciated. Thank you.