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 difference between controlnet,devicenet protocol?
12. Multiprogramming nd multithreading.. Which of these are better? a.multiprogramming b.multithreading c.depends on the system d.both are efficient
Why is sio2 layer formed over the entire surface in a monolithic ic?
What is cut-off frequency?
Wht is meant by booy strap?
How is the inverter circuit classified based on commutation circuitry?
On what parameters does the free running frequency of vco depend on?
what is practical application of clipper circuit?
Why use -48v power to BTS
What is circuit switching?
We use two different bands for GSM/DCS communications; GSM900 and DCS-1800. Which one is the better of the two in terms of quality and coverage?
Pl. Brief about DNC.
radar
Hi friends,anybody can send me previous HAL interview question paper OR all other interview question paper. To, yogeshnature@gmail.com
In order to handle all combinations of input voltage polarities, a multiplier must have A Four-quadrant capability B Three- quadrant capability C Four inputs D Dual-supply voltages