Question: Write a C function Init that configures pins of a LPC1769 MCU in an embedded system as following: Port1: Pin 1 and 4 as inputs;

Write a C function Init that configures pins of a LPC1769 MCU in an embedded system as following: Port1: Pin 1 and 4 as inputs; Port2: pins 2 and 3 as outputs. Derive a low signal at all output pins at the start. The function returns void and does not require any input. Assume pins have been pre-configured in GPIO function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
