Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Typical PORTD Block Diagram (in I/O Port Mode OF 16F877A MCU

Status
Not open for further replies.
Again, these drafts (figures) are not exact circuits, they show only the operation principle.
Study the datasheet carefully, it contains all the necessary info.

However, I'll try to explain this as well:
The upper colored latch contains always the current pin level (clocked with ALL instruction's Q1 phase), while the lower ('mismatch') latch stores that pin level, which at the time of the last RD PORTB was, because its clock (Q3 phase) is gated (enabled) with this signal.

Then both outputs will be XORed, so if they are not the same, the RBIF flag is set (but only when the pin is an input, ie the TRIS latch Q is 1) and we can not clear it until a new RD PORTB is occured.

But ...
Please finish these questions, because there is not much sense.
Sorry.
zuisti
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Dear zuisti

Thanks again and again for the reply

PA3040
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top