Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls solve this qus, (embedd system ) For Figure 1, assume that macros named IN_A, IN_B, IN_C and OUT_Y have been defined for RB12, RB13,

pls solve this qus, (embedd system )
image text in transcribed
For Figure 1, assume that macros named IN_A, IN_B, IN_C and OUT_Y have been defined for RB12, RB13, RB14 and RB15 pins, respectively. 1) Draw a simple schematic to connect PIC24C to test the above gate. 2) Write a C function named uint8 t testGate(void) that exhaustively applies all input combinations to test the external gate: - If the output is wrong for any input combination, testGate() return 0 and terminate. - If the output is correct for all input combination, testGate() return 1. - Assume that RB12, RB13, RB14 and RB15 have already been configured to be inputs or outputs as appropriate. - Use delay function that we defined in the class before reading the Y output

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is meant by 'Wealth Maximization ' ?

Answered: 1 week ago