Question: no need to answer question 2 or 3, please answer question 1. i never worked with buffers. Q1 Arrays and Indexing Write C code to
Q1 Arrays and Indexing Write C code to find the minimum of 32 numbers. Assume the 32 numbers are in a 16-bit unsigned array, passed by reference into your function. The prototype is uint16_t Min(int16_t buffer[32]); Q2 Direction Register What is a direction register? Why does the microcontroller have direction registers? Q3 Select Registers What are the P1->SEL1 and P1->SELO registers? Why do we clear these bits during initialization
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
