Question: Write a C language statement to configure (a) All bits of Port C as inputs (b) All bits of Port D as outputs (c) Bits

Write a C language statement to configure
(a) All bits of Port C as inputs
(b) All bits of Port D as outputs
(c) Bits 0 through 4 of Port B as input
(d) All bits of Port A as outputs

Step by Step Solution

3.40 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer a TRISC 0xFF b TRISD 0x00 c TRISB 0x1F d TRI... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Fundamentals Digital Logic Questions!