What is the basic difference between Latches and Flip flops?
Answer Posted / ayssar serhan
• LAT: (LATCH): This register is used to set output
values. Anything you want output on related pins must be
put on this.
Example
LATB=0xFF; //All PINs becomes high
LATB=0x00; //All pins becomes Low
LATB=0x03; //0000-0011 BIT 0 and 1 becomes high.
• PORT: This is used to get input from the PORTs.
Reading its value gives the actual levels applied on the
PINs. It must be noted that PORT is first configured as
input using the TRIS register. Suppose you connected a
switch as shown above on PORTB-0 then if you read PORTB it
will be 0000-0000 if switch is pressed and 0000-0001 if
switch is released.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is ascii in reference to electronics?
What is the difference between binary code and bcd?
Explain why open-loop op-amp configurations are not used in linear applications?
Why collector is made larger than emitter and base?
write a program that changes 74H to 47H in 8085 assembly programming
can any one tell difference between 802D and 810D???
What is an asic?
Explain in wave guides tem wave propagation is not exit, give the physical interpretation?
Which of the following protection methods is NOT supported by FlexiHoppers with FIU19(E)?
can anyone help me out to get HPCL officer's trainee paper's pattern....sureshec127@gmail.com
What is pass band?
why we don't use photodiode in forward-bias?
What are the different oscillators?
What are chebushev filters? Explain?
How to find conductivity?