Question: The following program is used to write data to a printer using the SPP protocol showed below. void PutChar(unsigned char c) { while ((PTJ &
The following program is used to write data to a printer using the SPP protocol showed below. void PutChar(unsigned char c) { while ((PTJ & 0x02) !=0 ); PTH = c; PTJ = PTJ & ~0x01; NOP; //.... NOP; PTJ = PTJ | 0x01; }
How many NOP statements must be used to insure the STRB# line is low for the minimum amount of time if n = 0.5 ?s and the processor takes 5clock tick(s) per instruction with a clock of 10.0 MHz?
DB-Do STRB# ACK# BUSY 8 min, min. 5 min.min
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
