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 the significance of the bandwidth of an amplifier?
Why is silicon preferred over germanium in the manufacture of semiconductor devices?
how a DPAD converts voltage to current?
What is an asic?
What is noise in reference to electronic circuits?
what is the difference bet 4 wire transmiiters and 2 wire transmitters
please send me the previous question papers of ntpc writen test for ece
How to design a software ic using vhdl?
GET-2013 exam is going to be held on which day(tentatively).
What is static resistance of a diode?
Write down the expression for the average output voltage for step down and step up chopper?
Where pll is widely used?
what is receiver device in ir receiver which catch over signal of ir?
What is noise in modulation?
Give more than 15 points for the praical application of demux???